1QDARKSTYLE.EXAMPLE(1) User Commands QDARKSTYLE.EXAMPLE(1)
2
3
4
6 qdarkstyle.example - manual page for qdarkstyle.example 3.0.3
7
9 usage: qdarkstyle.example [-h] [--palette {dark,light,none}]
10
11 [--qt_from {pyqt5,pyqt,pyside2,pyside,qtpy,pyqtgraph,qt.py}]
12 [--test] [--screenshots] [--offscreen] [--reset]
13
14 Example of qdarkstyle use for Python and Qt applications.
15
16 This module a main window with every item that could be created with Qt
17 Design (common ones) in the basic states (enabled/disabled), and
18 (checked/unchecked) for those who has this attribute.
19
20 Requirements:
21
22 - Python 3 - QtPy - PyQt5 or PyQt4 or PySide2 or PySide - PyQt‐
23 Graph or Qt.Py (if choosen)
24
25 To run this example using PyQt5, simple do
26
27 .. code-block:: python
28
29 python example.py
30
31 or
32
33 .. code-block:: python
34
35 python example.py
36 --qt_from=pyqt5
37
38 Other options for qt_from are: pyqt5, pyside2, pyqt, pyside, qtpy,
39 pyqtgraph, and qt.py. Also, you can run the example without any theme
40 (none), to check for problems.
41
42 .. code-block:: python
43
44 python example.py
45 --qt_from=pyqt5 --palette=none
46
47 Note:
48 qdarkstyle does not have to be installed to run the example.
49
50 options:
51 -h, --help
52 show this help message and exit
53
54 --palette {dark,light,none}
55 Palette to display. Using 'none' there is no style sheet ap‐
56 plied, OS like.
57
58 --qt_from {pyqt5,pyqt,pyside2,pyside,qtpy,pyqtgraph,qt.py}
59 Choose which binding and/or abstraction is to be used to run the
60 example. Default is 'qtpy'
61
62 --test Auto close window after 2s.
63
64 --screenshots
65 Generate screenshots on images folder.
66
67 --offscreen
68 Do not try to show the screen (running on server).
69
70 --reset
71 Reset GUI settings (position, size) then opens.
72
73
74
75qdarkstyle.example 3.0.3 October 2023 QDARKSTYLE.EXAMPLE(1)