WSJT-X/README.md

113 lines
2.0 KiB
Markdown
Raw Normal View History

2013-03-10 10:32:24 -04:00
QDarkStylesheet
==================
2013-03-10 12:59:50 -04:00
A dark stylesheet for Qt applications.
License
---------
This project is licensed under the LGPL v3
Installation
---------------
2013-03-10 16:01:58 -04:00
If you are using **Python**, all you have to do is to run the setup script or to install from pypi (using pip or easy_install):
2013-03-10 12:59:50 -04:00
```bash
2013-03-10 16:01:58 -04:00
python setup.py install
2013-03-10 12:59:50 -04:00
```
2013-03-10 16:01:58 -04:00
or
2013-03-10 12:59:50 -04:00
```bash
2013-03-10 16:01:58 -04:00
pip install qdarkstyle
2013-03-10 12:59:50 -04:00
```
2013-03-10 16:01:58 -04:00
If you are using **C++**, the best way is to download/clone the project and copy
2013-03-10 12:59:50 -04:00
the following files to your application directory:
2013-03-10 16:01:58 -04:00
- **qdarkstyle/style.qss**
- **qdarkstyle/style.qrc**
- **qdarkstyle/rc** (the whole directory)
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
2013-03-10 12:59:50 -04:00
Here is an example using PySide:
2012-08-23 09:03:05 -04:00
2012-11-05 13:42:35 -05:00
```Python
import sys
2013-03-10 12:59:50 -04:00
import qdarkstyle
from PySide import QtGui
2013-03-10 12:59:50 -04:00
# create the application and the main window
app = QtGui.QApplication(sys.argv)
window = QtGui.QMainWindow()
# setup stylesheet
2013-03-10 12:59:50 -04:00
app.setStyleSheet(qdarkstyle.load_stylesheet())
# run
window.show()
app.exec_()
2012-11-05 13:42:35 -05:00
```
2012-08-23 09:03:05 -04:00
2013-03-10 12:59:50 -04:00
_There is an example included in the example folder. You can run the script without installing qdarkstyle. You
only need to have PySide installed on your system._
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
2013-03-10 12:59:50 -04:00
2012-08-23 09:03:05 -04:00
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
2013-03-10 12:59:50 -04:00
Snapshots
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")
2013-11-23 16:50:03 -05:00
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ColinDuquesnoy/qdarkstylesheet/trend.png)](https://bitdeli.com/free "Bitdeli Badge")