1QDARKSTYLE.EXAMPLE(1)            User Commands           QDARKSTYLE.EXAMPLE(1)
2
3
4

NAME

6       qdarkstyle.example - manual page for qdarkstyle.example 3.2.3
7

DESCRIPTION

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