Skip to content

tetsurom/WidgetBrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WidgetBrowser

Widget Browser is easy, simple, useful debugging support tool for Qt application.

Screen Shot

Features

  • Explore widgets hierarchy
  • Copy widget's class name
  • Take widget's snapshot

Install

Copy src/wb to your Qt project. Then just call wb::WbDialog::exec.

#include <wb/dialog.h>
⋮
wb::WbDialog dialog;
dialog.exec();

WbDialog gathers widgets information from QApplication automatically.

To launch Widget Browser with a hotkey, you can use WbOpenListener; an event filter to exec WbDialog.

#include <QApplication>
#include <QKeySequence>
#include <wb/listener.h>
⋮
WbOpenListener listener;
listener.setKeySequenceToOpen(QKeySequence("Meta+F2"));
qApp->installEventfilter(&listener);

About

Qt Widget Browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published