This a mirror of WSJT-X and will be updated every 6 hours. PR will be ignored, head to the SF link. Repo will be updated at 06:00:00 UTC 12:00:00 UTC 18:00:00 UTC 00:00:00 UTC Now fixed.
Go to file
2013-03-10 15:23:51 +01:00
rc Added TreeView branch open/close hilighted icons 2012-11-07 13:15:41 +01:00
screenshots Added 1st screenshot 2012-11-05 16:26:43 +01:00
.gitignore Update gitignore 2013-03-10 15:23:51 +01:00
compile_qrc.py Added qrc file for stylesheets specific resources + a script to compile the qrc to different qt system( qt c++, python qt) 2013-03-10 15:23:21 +01:00
example_ui.py Added an example of usage with pyside 2013-03-10 15:23:40 +01:00
example.py Added an example of usage with pyside 2013-03-10 15:23:40 +01:00
example.ui Added an example of usage with pyside 2013-03-10 15:23:40 +01:00
README.md Added qrc file for stylesheets specific resources + a script to compile the qrc to different qt system( qt c++, python qt) 2013-03-10 15:23:21 +01:00
style.qrc Added qrc file for stylesheets specific resources + a script to compile the qrc to different qt system( qt c++, python qt) 2013-03-10 15:23:21 +01:00
style.qss Added qrc file for stylesheets specific resources + a script to compile the qrc to different qt system( qt c++, python qt) 2013-03-10 15:23:21 +01:00

A dark stylesheet for Qt applications.

Screenshots

TODO: Add screenshots

Usage

  • Download/clone the project next to your main executable (or wherever you find it fits well)
  • Compile the qrc file for your system and add it to your application. (simply compile_qrc.py script, it will compile the qrc file for use with Qt (c++), PyQt4 and Pyside.
  • Load QDarkStyleSheets/style.qss and
  • apply it on your QApplication instance

Here is a quick snippet in python (PySide) that shows how to use the stylesheet.

import sys
from PySide import QtGui
# import the style resources comiled by compile_rc.py
import style_pyside_rc

# create the application and the main window
app = QtGui.QApplication(sys.argv)
window = QtGui.QMainWindow()

# setup stylesheet
with open("style.qss", 'r') as stylesheet:
    app.setStyleSheet(stylesheet.read())

# run
window.show()
app.exec_()

Status:

The following widgets are styled:

  • QMainWindow
  • QWidget
  • QMenu, QMenuBar
  • QToolTip
  • QAbstractItemView
  • QLineEdit
  • QGroupBox
  • QTextEdit, QPlainTextEdit
  • QTreeView,
  • QScrollBar
  • QRadioButton
  • QCheckBox
  • QComboBox
  • QPushButton
  • QToolButton
  • QToolBar
  • QProgressBar
  • QSpinBox
  • QFrame
  • QTabWidget, QTabBar
  • QDockWidget
  • QSlider (horizontal and vertical)

What still needs to be done:

  • QAbstractScrollArea
  • QSplitter
  • QStatusBar
  • QToolBox

Contact information: