Skip to content

A tool for exploring the behavior of PyQt/PySide widgets.

License

Notifications You must be signed in to change notification settings

nweston/pyqt-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A tool for exploring the behavior of PyQt/PySide widgets. It shows a live instance of a single widget, and displays all signals as they are emitted. Also includes a simple documentation browser.

Setup

Clone the repository and run pipenv install to create an environment with the required dependencies.

Command-Line Usage

python explorer.py [-h] [--model COLUMNS] class_name

If your widget requires a model (e.g. QTableView, QComboBox), then use the --model flag. This will create a model with the specified number of columns, and fill in a few rows of dummy data.

Python Usage

Make sure explorer.py is in your PYTHONPATH, and import it into your Python code. Create a widget normally. Then launch the explorer with: explorer.explore(mywidget)

About

A tool for exploring the behavior of PyQt/PySide widgets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published