Skip to content

daonvshu/ObjectFindTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObjectFindTool

qt widget's object name find tool

image

How to use

relace your application to ObjectFinderApplication

#ifdef QT_DEBUG
#include "src/objectfindtool.h"
#endif

#include "test/widget.h"

int main(int argc, char* argv[]) {
#ifdef QT_DEBUG
    ObjectFinderApplication a(argc, argv);
#else
    QApplication a(argc, argv);
#endif

    MyWidget w;
    w.show();

    return a.exec();
}
  • press key F2(default) to display current focus widget's object name and geometry.
  • press Ctrl+C to copy current focus widget's object name.
  • press and hold the key Alt to show the relative position to another widget.

About

qt widget's object name find tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published