.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. .TH QDARKSTYLE.EXAMPLE "1" "January 2022" "qdarkstyle" "User Commands" .SH NAME qdarkstyle.example \- qdarkstyle example gui program .SH DESCRIPTION usage: qdarkstyle.example [\-h] [\-\-palette {dark,light,none}] .TP [\-\-qt_from {pyqt5,pyqt,pyside2,pyside,qtpy,pyqtgraph,qt.py}] [\-\-test] [\-\-screenshots] [\-\-offscreen] [\-\-reset] .PP Example of qdarkstyle use for Python and Qt applications. .PP This module a main window with every item that could be created with Qt Design (common ones) in the basic states (enabled/disabled), and (checked/unchecked) for those who has this attribute. .PP Requirements: .IP \- Python 3 \- QtPy \- PyQt5 or PyQt4 or PySide2 or PySide \- PyQtGraph or Qt.Py (if choosen) .PP To run this example using PyQt5, simple do .PP \&.. code\-block:: python .IP python example.py .PP or .PP \&.. code\-block:: python .TP python example.py \fB\-\-qt_from\fR=\fI\,pyqt5\/\fR .PP Other options for qt_from are: pyqt5, pyside2, pyqt, pyside, qtpy, pyqtgraph, and qt.py. Also, you can run the example without any theme (none), to check for problems. .PP \&.. code\-block:: python .TP python example.py \fB\-\-qt_from\fR=\fI\,pyqt5\/\fR \fB\-\-palette\fR=\fI\,none\/\fR .SS "Note:" .IP qdarkstyle does not have to be installed to run the example. .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-palette\fR {dark,light,none} Palette to display. Using 'none' there is no style sheet applied, OS like. .TP \fB\-\-qt_from\fR {pyqt5,pyqt,pyside2,pyside,qtpy,pyqtgraph,qt.py} Choose which binding and/or abstraction is to be used to run the example. Default is 'qtpy' .TP \fB\-\-test\fR Auto close window after 2s. .TP \fB\-\-screenshots\fR Generate screenshots on images folder. .TP \fB\-\-offscreen\fR Do not try to show the screen (running on server). .TP \fB\-\-reset\fR Reset GUI settings (position, size) then opens.