WSJT-X/README.md

82 lines
1.7 KiB
Markdown
Raw Normal View History

2013-03-10 10:32:24 -04:00
QDarkStylesheet
==================
2012-11-05 13:42:35 -05:00
A dark stylesheet for Qt applications.
2012-08-23 08:30:23 -04:00
2012-11-05 13:42:35 -05:00
Usage
2013-03-10 10:32:52 -04:00
-------------
2012-08-23 09:03:05 -04:00
2012-11-05 13:42:35 -05:00
- Download/clone the project next to your main executable (or wherever you find it fits well)
2013-03-10 10:28:39 -04:00
- Compile the qrc file for your system and add it to your application. (simply run 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
2013-03-10 10:28:39 -04:00
Here is a quick example using PySide:
2012-08-23 09:03:05 -04:00
2012-11-05 13:42:35 -05:00
```Python
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_()
2012-11-05 13:42:35 -05:00
```
2012-08-23 09:03:05 -04:00
Status:
2013-03-10 10:32:52 -04:00
-------------
2012-08-23 09:03:05 -04:00
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:
2013-03-10 10:32:52 -04:00
--------------------------
2012-08-23 09:03:05 -04:00
- Maintainer: colin.duquesnoy@gmail.com
- Homepage: https://github.com/ColinDuquesnoy/QDarkStyleSheet
2013-03-10 10:32:04 -04:00
Screenshots
2013-03-10 10:32:52 -04:00
-------------
2013-03-10 10:32:04 -04:00
I have used this stylesheet for an internal tool at work. Are are a few screenshots:
![alt text](/screenshots/01.png "Screenshot 01")