Sponsor:

Your company here — click to reach over 10,000 unique daily visitors

qdarkstyle.example - Man Page

qdarkstyle.example – Example of qdarkstyle use for Python and Qt applications

Synopsis

python3 -m qdarkstyle.example [-h] [--palette {dark,light,none}] [--qt_from {pyqt6,pyqt5,pyqt,pyside6,pyside2,pyside,qtpy,pyqtgraph,qt.py}] [--test] [--screenshots] [--offscreen] [--reset]

Description

This module implements 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 that have this attribute.

Options

-h,  --help

Show a help message and exit.

--palette {dark,light,none}

Palette to display. Using none there is no style sheet applied, OS-like.

--qt_from {pyqt6,pyqt5,pyqt,pyside6,pyside2,pyside,qtpy,pyqtgraph,qt.py}

Choose which binding and/or abstraction is to be used to run the example. Default is qtpy.

--test

Auto close window after 2s.

--screenshots

Generate screenshots in images folder.

--offscreen

Do not try to show the screen (running on server).

--reset

Reset GUI settings (position, size), then open.

See Also

qdarkstyle(1)

qdarkstyle.utils(1)

Referenced By

qdarkstyle(1), qdarkstyle.utils(1).

June 2024