added theme support
31
src/main.cpp
@ -19,6 +19,7 @@ extern "C" {
|
||||
#include <QColor>
|
||||
#include <notifications.hpp>
|
||||
#include <worker/worker.hpp>
|
||||
#include <settings.hpp>
|
||||
|
||||
bool verbose = false;
|
||||
|
||||
@ -78,6 +79,10 @@ int main(int argc, char *argv[]) {
|
||||
QString locale = QLocale::system().name();
|
||||
if (locale != "en_US") loadTranslation(locale);
|
||||
|
||||
int theme = settings::settings().value("theme", 0).toInt();
|
||||
|
||||
if(theme == 0) {
|
||||
// System Default
|
||||
#ifdef Q_OS_WIN
|
||||
QSettings settings("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",QSettings::NativeFormat);
|
||||
if(settings.value("AppsUseLightTheme")==0){
|
||||
@ -108,6 +113,32 @@ int main(int argc, char *argv[]) {
|
||||
qApp->setStyleSheet("QToolTip { color: #ffffff; background-color: #2a82da; border: 1px solid white; }");
|
||||
}
|
||||
#endif
|
||||
} else {
|
||||
QString path = "";
|
||||
|
||||
if(theme == 1) {
|
||||
// QDarkStyle
|
||||
path = ":qdarkstyle/style.qss";
|
||||
} else if(theme == 2) {
|
||||
// Breeze Light
|
||||
path = ":/light.qss";
|
||||
} else if(theme == 3) {
|
||||
// Breeze Dark
|
||||
path = ":/dark.qss";
|
||||
}
|
||||
|
||||
QFile f(path);
|
||||
if (!f.exists())
|
||||
{
|
||||
printf("Unable to set stylesheet, file not found\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
f.open(QFile::ReadOnly | QFile::Text);
|
||||
QTextStream ts(&f);
|
||||
qApp->setStyleSheet(ts.readAll());
|
||||
}
|
||||
}
|
||||
|
||||
QCommandLineParser parser;
|
||||
parser.addHelpOption();
|
||||
|
@ -69,6 +69,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent), ui(new Ui::Se
|
||||
ui->hideToTray->setChecked(settings::settings().value("hideOnClose", true).toBool());
|
||||
ui->captureCursor->setChecked(settings::settings().value("captureCursor", true).toBool());
|
||||
ui->saveLocation->setCurrentIndex(settings::settings().value("saveLocation", 1).toInt());
|
||||
ui->themeSelection->setCurrentIndex(settings::settings().value("theme", 0).toInt());
|
||||
for (int i = 0; i < (int)formats::Recording::None; i++) {
|
||||
ui->formatBox->addItem(formats::recordingFormatName(static_cast<formats::Recording>(i)));
|
||||
}
|
||||
@ -175,6 +176,10 @@ void SettingsDialog::on_saveLocation_currentIndexChanged(int index) {
|
||||
settings::settings().setValue("saveLocation", index);
|
||||
}
|
||||
|
||||
void SettingsDialog::on_themeSelection_currentIndexChanged(int index) {
|
||||
settings::settings().setValue("theme", index);
|
||||
}
|
||||
|
||||
void SettingsDialog::on_cropX_valueChanged(int arg1) {
|
||||
settings::settings().setValue("cropx", arg1);
|
||||
}
|
||||
|
@ -34,6 +34,7 @@ private slots:
|
||||
void newUploader(Uploader *u);
|
||||
void uploaderChanged(QString newName);
|
||||
void on_saveLocation_currentIndexChanged(int index);
|
||||
void on_themeSelection_currentIndexChanged(int index);
|
||||
void on_cropX_valueChanged(int arg1);
|
||||
void on_cropY_valueChanged(int arg1);
|
||||
void on_fpsMax_valueChanged(int arg1);
|
||||
|
@ -14,158 +14,6 @@
|
||||
<string>Crop editor settings</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="1" column="1">
|
||||
<widget class="QListWidget" name="uploaderList"/>
|
||||
</item>
|
||||
<item row="14" column="2">
|
||||
<widget class="QComboBox" name="imageFormatBox"/>
|
||||
</item>
|
||||
<item row="9" column="1">
|
||||
<widget class="QDoubleSpinBox" name="delay">
|
||||
<property name="toolTip">
|
||||
<string>In seconds</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>A delay before taking a screenshot, in seconds</string>
|
||||
</property>
|
||||
<property name="suffix">
|
||||
<string notr="true">s</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="1">
|
||||
<widget class="QCheckBox" name="quickMode">
|
||||
<property name="text">
|
||||
<string>Quick mode (mouse release screenshots)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="17" column="1">
|
||||
<widget class="QLabel" name="label_10">
|
||||
<property name="text">
|
||||
<string>Fullscreen capture command (save to %FILE_PATH or print to stdout)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="text">
|
||||
<string>Hotkeys</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="14" column="1">
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="text">
|
||||
<string>Still image format</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2" rowspan="9">
|
||||
<widget class="QListWidget" name="hotkeys"/>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>Delay before taking a screenshot</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="13" column="1">
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="text">
|
||||
<string>Recording format</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="11" column="1" colspan="2">
|
||||
<widget class="QCheckBox" name="captureCursor">
|
||||
<property name="text">
|
||||
<string>Capture cursor</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QLineEdit" name="nameScheme">
|
||||
<property name="toolTip">
|
||||
<string>%(date format)date and %ext are supported</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true">Screenshot %(yyyy-MM-dd HH-mm-ss)date.%ext</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="13" column="2">
|
||||
<widget class="QComboBox" name="formatBox">
|
||||
<property name="currentIndex">
|
||||
<number>-1</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>File name scheme:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="12" column="1" colspan="2">
|
||||
<widget class="QCheckBox" name="hideToTray">
|
||||
<property name="text">
|
||||
<string>Pressing <X> hides to tray</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="1">
|
||||
<widget class="QComboBox" name="saveLocation">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Pictures folder</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Screenshots folder (In your user folder)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Do not save</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="2">
|
||||
<widget class="QPushButton" name="settingsButton">
|
||||
<property name="text">
|
||||
<string>Open settings directory</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Destination:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="20" column="1" colspan="2">
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="text">
|
||||
<string>File save location</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="19" column="1" colspan="2">
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
@ -235,6 +83,51 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>Delay before taking a screenshot</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="13" column="1">
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="text">
|
||||
<string>Recording format</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="11" column="1" colspan="2">
|
||||
<widget class="QCheckBox" name="captureCursor">
|
||||
<property name="text">
|
||||
<string>Capture cursor</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QLineEdit" name="nameScheme">
|
||||
<property name="toolTip">
|
||||
<string>%(date format)date and %ext are supported</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true">Screenshot %(yyyy-MM-dd HH-mm-ss)date.%ext</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="13" column="2">
|
||||
<widget class="QComboBox" name="formatBox">
|
||||
<property name="currentIndex">
|
||||
<number>-1</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>File name scheme:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="17" column="2">
|
||||
<widget class="QLineEdit" name="fullscreenCapture"/>
|
||||
</item>
|
||||
@ -262,6 +155,144 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="12" column="1" colspan="2">
|
||||
<widget class="QCheckBox" name="hideToTray">
|
||||
<property name="text">
|
||||
<string>Pressing <X> hides to tray</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="1">
|
||||
<widget class="QComboBox" name="saveLocation">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Pictures folder</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Screenshots folder (In your user folder)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Do not save</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="2">
|
||||
<widget class="QPushButton" name="settingsButton">
|
||||
<property name="text">
|
||||
<string>Open settings directory</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Destination:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="20" column="1" colspan="2">
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="text">
|
||||
<string>File save location</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QListWidget" name="uploaderList"/>
|
||||
</item>
|
||||
<item row="14" column="2">
|
||||
<widget class="QComboBox" name="imageFormatBox"/>
|
||||
</item>
|
||||
<item row="9" column="1">
|
||||
<widget class="QDoubleSpinBox" name="delay">
|
||||
<property name="toolTip">
|
||||
<string>In seconds</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>A delay before taking a screenshot, in seconds</string>
|
||||
</property>
|
||||
<property name="suffix">
|
||||
<string notr="true">s</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="1">
|
||||
<widget class="QCheckBox" name="quickMode">
|
||||
<property name="text">
|
||||
<string>Quick mode (mouse release screenshots)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="17" column="1">
|
||||
<widget class="QLabel" name="label_10">
|
||||
<property name="text">
|
||||
<string>Fullscreen capture command (save to %FILE_PATH or print to stdout)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="text">
|
||||
<string>Hotkeys</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="14" column="1">
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="text">
|
||||
<string>Still image format</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2" rowspan="7">
|
||||
<widget class="QListWidget" name="hotkeys"/>
|
||||
</item>
|
||||
<item row="8" column="2">
|
||||
<widget class="QLabel" name="label_13">
|
||||
<property name="text">
|
||||
<string>Theme</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="2">
|
||||
<widget class="QComboBox" name="themeSelection">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>System Default</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>QDarkStyle</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Breeze Light</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Breeze Dark</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
|
@ -195,7 +195,9 @@ FORMS += mainwindow.ui \
|
||||
RESOURCES += \
|
||||
icon.qrc \
|
||||
sounds.qrc \
|
||||
translations.qrc
|
||||
translations.qrc \
|
||||
../themes/qdarkstyle/style.qrc \
|
||||
../themes/breeze/breeze.qrc
|
||||
|
||||
QMAKE_CFLAGS_DEBUG += -g
|
||||
|
||||
|
2
themes/breeze/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
__pycache__
|
||||
*.pyc
|
26
themes/breeze/LICENSE.md
Normal file
@ -0,0 +1,26 @@
|
||||
The MIT License (MIT)
|
||||
=====================
|
||||
|
||||
Copyright © `<2013-2014>` `<Colin Duquesnoy>`
|
||||
Copyright © `<2015-2016>` `<Alex Huszagh>`
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the “Software”), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
96
themes/breeze/README.md
Normal file
@ -0,0 +1,96 @@
|
||||
BreezeStyleSheets
|
||||
=================
|
||||
|
||||
Breeze and BreezeDark-like stylesheets for Qt Applications.
|
||||
|
||||
C++ Installation
|
||||
================
|
||||
|
||||
Copy `breeze.qrc`, `dark.qss`, `light.qss` and the `dark` and `light` folders into your project directory and add the qrc file to your project file.
|
||||
|
||||
For example:
|
||||
|
||||
```qmake
|
||||
TARGET = app
|
||||
SOURCES = main.cpp
|
||||
RESOURCES = breeze.qrc
|
||||
```
|
||||
|
||||
To load the stylesheet in C++, load the file using QFile and read the data. For example, to load BreezeDark, run:
|
||||
|
||||
```cpp
|
||||
|
||||
#include <QApplication>
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
|
||||
// set stylesheet
|
||||
QFile file(":/dark.qss");
|
||||
file.open(QFile::ReadOnly | QFile::Text);
|
||||
QTextStream stream(&file);
|
||||
app.setStyleSheet(stream.readAll());
|
||||
|
||||
// code goes here
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
```
|
||||
|
||||
PyQt5 Installation
|
||||
==================
|
||||
|
||||
To compile the stylesheet for use with PyQt5, compile with the following command `pyrcc5 breeze.qrc -o breeze_resources.py`, and import the stylesheets. Afterwards, to load the stylesheet in Python, load the file using QFile and read the data. For example, to load BreezeDark, run:
|
||||
|
||||
|
||||
```python
|
||||
|
||||
from PyQt5 import QtWidgets
|
||||
from PyQt5.QtCore import QFile, QTextStream
|
||||
import breeze_resources
|
||||
|
||||
|
||||
def main():
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
|
||||
# set stylesheet
|
||||
file = QFile(":/dark.qss")
|
||||
file.open(QFile.ReadOnly | QFile.Text)
|
||||
stream = QTextStream(file)
|
||||
app.setStyleSheet(stream.readAll())
|
||||
|
||||
# code goes here
|
||||
|
||||
app.exec_()
|
||||
}
|
||||
```
|
||||
|
||||
License
|
||||
=======
|
||||
|
||||
MIT, see [license](/LICENSE.md).
|
||||
|
||||
Example
|
||||
=======
|
||||
|
||||
**Breeze/BreezeDark**
|
||||
|
||||
Example user interface using the Breeze and BreezeDark stylesheets side-by-side.
|
||||
|
||||
![BreezeDark](/assets/Breeze.gif)
|
||||
|
||||
Acknowledgements
|
||||
================
|
||||
|
||||
BreezeStyleSheets is a fork of [QDarkStyleSheet](https://github.com/ColinDuquesnoy/QDarkStyleSheet).
|
||||
|
||||
Contact
|
||||
=======
|
||||
|
||||
Email: ahuszagh@gmail.com
|
||||
Twitter: KardOnIce
|
||||
|
BIN
themes/breeze/assets/Breeze.gif
Normal file
After Width: | Height: | Size: 7.7 MiB |
89
themes/breeze/breeze.qrc
Normal file
@ -0,0 +1,89 @@
|
||||
<RCC>
|
||||
<qresource>
|
||||
<file>light/hmovetoolbar.svg</file>
|
||||
<file>light/vmovetoolbar.svg</file>
|
||||
<file>light/hsepartoolbar.svg</file>
|
||||
<file>light/vsepartoolbars.svg</file>
|
||||
<file>light/stylesheet-branch-end.svg</file>
|
||||
<file>light/stylesheet-branch-end-closed.svg</file>
|
||||
<file>light/stylesheet-branch-end-open.svg</file>
|
||||
<file>light/stylesheet-vline.svg</file>
|
||||
<file>light/stylesheet-branch-more.svg</file>
|
||||
<file>light/branch_closed.svg</file>
|
||||
<file>light/branch_closed-on.svg</file>
|
||||
<file>light/branch_open.svg</file>
|
||||
<file>light/branch_open-on.svg</file>
|
||||
<file>light/down_arrow.svg</file>
|
||||
<file>light/down_arrow_disabled.svg</file>
|
||||
<file>light/down_arrow-hover.svg</file>
|
||||
<file>light/left_arrow.svg</file>
|
||||
<file>light/left_arrow_disabled.svg</file>
|
||||
<file>light/right_arrow.svg</file>
|
||||
<file>light/right_arrow_disabled.svg</file>
|
||||
<file>light/up_arrow.svg</file>
|
||||
<file>light/up_arrow_disabled.svg</file>
|
||||
<file>light/up_arrow-hover.svg</file>
|
||||
<file>light/sizegrip.svg</file>
|
||||
<file>light/transparent.svg</file>
|
||||
<file>light/close.svg</file>
|
||||
<file>light/close-hover.svg</file>
|
||||
<file>light/close-pressed.svg</file>
|
||||
<file>light/undock.svg</file>
|
||||
<file>light/undock-hover.svg</file>
|
||||
<file>light/checkbox_checked-hover.svg</file>
|
||||
<file>light/checkbox_checked.svg</file>
|
||||
<file>light/checkbox_checked_disabled.svg</file>
|
||||
<file>light/checkbox_indeterminate.svg</file>
|
||||
<file>light/checkbox_indeterminate-hover.svg</file>
|
||||
<file>light/checkbox_indeterminate_disabled.svg</file>
|
||||
<file>light/checkbox_unchecked-hover.svg</file>
|
||||
<file>light/checkbox_unchecked_disabled.svg</file>
|
||||
<file>light/radio_checked-hover.svg</file>
|
||||
<file>light/radio_checked.svg</file>
|
||||
<file>light/radio_checked_disabled.svg</file>
|
||||
<file>light/radio_unchecked-hover.svg</file>
|
||||
<file>light/radio_unchecked_disabled.svg</file>
|
||||
<file>dark/hmovetoolbar.svg</file>
|
||||
<file>dark/vmovetoolbar.svg</file>
|
||||
<file>dark/hsepartoolbar.svg</file>
|
||||
<file>dark/vsepartoolbars.svg</file>
|
||||
<file>dark/stylesheet-branch-end.svg</file>
|
||||
<file>dark/stylesheet-branch-end-closed.svg</file>
|
||||
<file>dark/stylesheet-branch-end-open.svg</file>
|
||||
<file>dark/stylesheet-vline.svg</file>
|
||||
<file>dark/stylesheet-branch-more.svg</file>
|
||||
<file>dark/branch_closed.svg</file>
|
||||
<file>dark/branch_closed-on.svg</file>
|
||||
<file>dark/branch_open.svg</file>
|
||||
<file>dark/branch_open-on.svg</file>
|
||||
<file>dark/down_arrow.svg</file>
|
||||
<file>dark/down_arrow_disabled.svg</file>
|
||||
<file>dark/down_arrow-hover.svg</file>
|
||||
<file>dark/left_arrow.svg</file>
|
||||
<file>dark/left_arrow_disabled.svg</file>
|
||||
<file>dark/right_arrow.svg</file>
|
||||
<file>dark/right_arrow_disabled.svg</file>
|
||||
<file>dark/up_arrow.svg</file>
|
||||
<file>dark/up_arrow_disabled.svg</file>
|
||||
<file>dark/up_arrow-hover.svg</file>
|
||||
<file>dark/sizegrip.svg</file>
|
||||
<file>dark/transparent.svg</file>
|
||||
<file>dark/close.svg</file>
|
||||
<file>dark/close-hover.svg</file>
|
||||
<file>dark/close-pressed.svg</file>
|
||||
<file>dark/undock.svg</file>
|
||||
<file>dark/undock-hover.svg</file>
|
||||
<file>dark/checkbox_checked.svg</file>
|
||||
<file>dark/checkbox_checked_disabled.svg</file>
|
||||
<file>dark/checkbox_indeterminate.svg</file>
|
||||
<file>dark/checkbox_indeterminate_disabled.svg</file>
|
||||
<file>dark/checkbox_unchecked.svg</file>
|
||||
<file>dark/checkbox_unchecked_disabled.svg</file>
|
||||
<file>dark/radio_checked.svg</file>
|
||||
<file>dark/radio_checked_disabled.svg</file>
|
||||
<file>dark/radio_unchecked.svg</file>
|
||||
<file>dark/radio_unchecked_disabled.svg</file>
|
||||
<file>light.qss</file>
|
||||
<file>dark.qss</file>
|
||||
</qresource>
|
||||
</RCC>
|
3225
themes/breeze/breeze_resources.py
Normal file
94
themes/breeze/dark.py
Normal file
@ -0,0 +1,94 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# The MIT License (MIT)
|
||||
#
|
||||
# Copyright (c) <2013-2014> <Colin Duquesnoy>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
# in the Software without restriction, including without limitation the rights
|
||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
# copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
# THE SOFTWARE.
|
||||
#
|
||||
"""
|
||||
A simple example of use.
|
||||
|
||||
Load an ui made in QtDesigner and apply the DarkStyleSheet.
|
||||
|
||||
|
||||
Requirements:
|
||||
- Python 2 or Python 3
|
||||
- PyQt4
|
||||
|
||||
.. note.. :: qdarkstyle does not have to be installed to run
|
||||
the example
|
||||
|
||||
"""
|
||||
import logging
|
||||
import sys
|
||||
from PyQt5 import QtWidgets, QtCore
|
||||
from PyQt5.QtCore import QFile, QTextStream
|
||||
# make the example runnable without the need to install
|
||||
|
||||
import example
|
||||
import breeze_resources
|
||||
|
||||
def main():
|
||||
"""
|
||||
Application entry point
|
||||
"""
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
# create the application and the main window
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
#app.setStyle(QtWidgets.QStyleFactory.create("fusion"))
|
||||
window = QtWidgets.QMainWindow()
|
||||
|
||||
# setup ui
|
||||
ui = example.Ui_MainWindow()
|
||||
ui.setupUi(window)
|
||||
ui.bt_delay_popup.addActions([
|
||||
ui.actionAction,
|
||||
ui.actionAction_C
|
||||
])
|
||||
ui.bt_instant_popup.addActions([
|
||||
ui.actionAction,
|
||||
ui.actionAction_C
|
||||
])
|
||||
ui.bt_menu_button_popup.addActions([
|
||||
ui.actionAction,
|
||||
ui.actionAction_C
|
||||
])
|
||||
window.setWindowTitle("BreezeDark example")
|
||||
|
||||
# tabify dock widgets to show bug #6
|
||||
window.tabifyDockWidget(ui.dockWidget1, ui.dockWidget2)
|
||||
|
||||
# setup stylesheet
|
||||
file = QFile(":/dark.qss")
|
||||
file.open(QFile.ReadOnly | QFile.Text)
|
||||
stream = QTextStream(file)
|
||||
app.setStyleSheet(stream.readAll())
|
||||
|
||||
# auto quit after 2s when testing on travis-ci
|
||||
if "--travis" in sys.argv:
|
||||
QtCore.QTimer.singleShot(2000, app.exit)
|
||||
|
||||
# run
|
||||
window.show()
|
||||
app.exec_()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
1648
themes/breeze/dark.qss
Normal file
3
themes/breeze/dark/branch_closed-on.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="6" height="9">
|
||||
<path fill="#fff" fill-rule="evenodd" d="M1,8V1L5,4.5Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 94 B |
3
themes/breeze/dark/branch_closed.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="12" height="18">
|
||||
<path fill="#afafaf" d="M5,12V6L9,9Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 78 B |
3
themes/breeze/dark/branch_open-on.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="9" height="6">
|
||||
<path fill="#fff" d="M1,1H8L4.5,5Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 74 B |
3
themes/breeze/dark/branch_open.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="18" height="12">
|
||||
<path fill="#afafaf" d="M5.5,3H12.5L9,9Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 82 B |
5
themes/breeze/dark/checkbox_checked.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#58d3ff"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#58d3ff"/>
|
||||
<path d="M5,5 h8 v8 h-8 v-8 z" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
5
themes/breeze/dark/checkbox_checked_disabled.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#c8c9ca"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#c8c9ca"/>
|
||||
<path d="M5,5 h8 v8 h-8 v-8 z" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
7
themes/breeze/dark/checkbox_indeterminate.svg
Executable file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#58d3ff"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#58d3ff"/>
|
||||
<path d="M5,5 h8 v8 h-0.9 v-7.1 h-7.1 z" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
<path d="M13,13 h-8 v-8 h0.9 v7.1 h7.1 z" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
<path d="M13,5 L 5,13 v-8 h8 z" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
7
themes/breeze/dark/checkbox_indeterminate_disabled.svg
Executable file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#c8c9ca"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#c8c9ca"/>
|
||||
<path d="M5,5 h8 v8 h-0.9 v-7.1 h-7.1 z" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
<path d="M13,13 h-8 v-8 h0.9 v7.1 h7.1 z" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
<path d="M13,5 L 5,13 v-8 h8 z" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
4
themes/breeze/dark/checkbox_unchecked.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#58d3ff"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#58d3ff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 260 B |
4
themes/breeze/dark/checkbox_unchecked_disabled.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#c8c9ca"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#c8c9ca"/>
|
||||
</svg>
|
After Width: | Height: | Size: 260 B |
3
themes/breeze/dark/close-hover.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#b37979"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
themes/breeze/dark/close-pressed.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#b33e3e"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
themes/breeze/dark/close.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#626568"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
themes/breeze/dark/down_arrow-hover.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#3daee9"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
3
themes/breeze/dark/down_arrow.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#fff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 551 B |
3
themes/breeze/dark/down_arrow_disabled.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
4
themes/breeze/dark/hmovetoolbar.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="16px" height="64px" viewBox="0 0 16 64" enable-background="new 0 0 16 64" xml:space="preserve">
|
||||
<rect fill="#5f5f5f" x="2" y="1" width="1" height="62.5"/>
|
||||
<rect fill="#5f5f5f" x="9" y="1" width="1" height="62.5"/>
|
||||
</svg>
|
After Width: | Height: | Size: 253 B |
3
themes/breeze/dark/hsepartoolbar.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="7px" height="63px" viewBox="0 0 7 63" enable-background="new 0 0 7 63" xml:space="preserve">
|
||||
<rect fill="#5f5f5f" x="2" y="13" width="1" height="37"/>
|
||||
</svg>
|
After Width: | Height: | Size: 188 B |
3
themes/breeze/dark/left_arrow.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="6px" height="9px" viewBox="0 0 6 9" enable-background="new 0 0 6 9" xml:space="preserve">
|
||||
<path d="m 5.0823028,1.1894593 -3.310321,3.3105408 3.3117417,3.3105408 c 0.157702,0.1577125 0.157702,0.4134624 0,0.5711749 -0.157702,0.1577123 -0.4134349,0.1577123 -0.5711369,0 l -3.59731017,-3.5961283 0,0 0,0 c -0.15770191,-0.1577124 -0.15770191,-0.4134624 0,-0.5711748 L 4.5125866,0.61828437 c 0.157702,-0.1577124 0.4134349,-0.1577124 0.5711369,0 0.1562813,0.1577125 0.1562813,0.41346243 -0.00142,0.57117493 z" fill="#fff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
3
themes/breeze/dark/left_arrow_disabled.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="6px" height="9px" viewBox="0 0 6 9" enable-background="new 0 0 6 9" xml:space="preserve">
|
||||
<path d="m 5.0823028,1.1894593 -3.310321,3.3105408 3.3117417,3.3105408 c 0.157702,0.1577125 0.157702,0.4134624 0,0.5711749 -0.157702,0.1577123 -0.4134349,0.1577123 -0.5711369,0 l -3.59731017,-3.5961283 0,0 0,0 c -0.15770191,-0.1577124 -0.15770191,-0.4134624 0,-0.5711748 L 4.5125866,0.61828437 c 0.157702,-0.1577124 0.4134349,-0.1577124 0.5711369,0 0.1562813,0.1577125 0.1562813,0.41346243 -0.00142,0.57117493 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 557 B |
5
themes/breeze/dark/radio_checked.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
<path d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 427 B |
5
themes/breeze/dark/radio_checked_disabled.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
<path d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 427 B |
4
themes/breeze/dark/radio_unchecked.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#58d3ff" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 341 B |
4
themes/breeze/dark/radio_unchecked_disabled.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#c8c9ca" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 341 B |
3
themes/breeze/dark/right_arrow.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="6" height="9">
|
||||
<path d="m 0.9166972,1.1894593 3.310321,3.3105408 -3.3117417,3.3105408 c -0.157702,0.1577125 -0.157702,0.4134624 0,0.5711749 0.157702,0.1577123 0.4134349,0.1577123 0.5711369,0 l 3.5973102,-3.5961283 0,0 0,0 c 0.1577019,-0.1577124 0.1577019,-0.4134624 0,-0.5711748 L 1.4864134,0.61828437 c -0.157702,-0.1577124 -0.4134349,-0.1577124 -0.5711369,0 -0.1562813,0.1577125 -0.1562813,0.41346243 0.00142,0.57117493 z" fill="#fff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 460 B |
3
themes/breeze/dark/right_arrow_disabled.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="6" height="9">
|
||||
<path d="m 0.9166972,1.1894593 3.310321,3.3105408 -3.3117417,3.3105408 c -0.157702,0.1577125 -0.157702,0.4134624 0,0.5711749 0.157702,0.1577123 0.4134349,0.1577123 0.5711369,0 l 3.5973102,-3.5961283 0,0 0,0 c 0.1577019,-0.1577124 0.1577019,-0.4134624 0,-0.5711748 L 1.4864134,0.61828437 c -0.157702,-0.1577124 -0.4134349,-0.1577124 -0.5711369,0 -0.1562813,0.1577125 -0.1562813,0.41346243 0.00142,0.57117493 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 463 B |
3
themes/breeze/dark/sizegrip.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="1000" height="1000">
|
||||
<path fill="#b0b0b0" d="M22.1,1022.1L-22.1,977.9l1000-1000L1022.1,22.1Zm220,30L197.9,1007.9l1000-1000L1242.1,52.1Zm250,0L447.9,1007.9l1000-1000L1492.1,52.1Zm250,0L697.9,1007.9l1030-1030L1772.1,22.1Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 244 B |
3
themes/breeze/dark/spinup_disabled.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="9" height="6">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 455 B |
4
themes/breeze/dark/stylesheet-branch-end-closed.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#626568" x="36" width="2" height="14"/>
|
||||
<rect id="HLine" fill="#626568" x="65" y="28" height="1" width="28"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
themes/breeze/dark/stylesheet-branch-end-open.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#626568" x="36" width="2" height="14"/>
|
||||
<rect id="HLine" fill="#626568" x="65" y="28" height="1" width="28"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
themes/breeze/dark/stylesheet-branch-end.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#626568" x="36" width="2" height="28"/>
|
||||
<rect id="HLine" fill="#626568" x="36" y="28" height="1" width="57"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
themes/breeze/dark/stylesheet-branch-more.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#626568" x="36" width="2" height="58"/>
|
||||
<rect id="HLine" fill="#626568" x="36" y="30" height="1" width="44"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
3
themes/breeze/dark/stylesheet-vline.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="81" height="58">
|
||||
<rect fill="#626568" x="36" width="2" height="58"/>
|
||||
</svg>
|
After Width: | Height: | Size: 90 B |
1
themes/breeze/dark/transparent.svg
Executable file
@ -0,0 +1 @@
|
||||
<svg width="64" height="64"/>
|
After Width: | Height: | Size: 30 B |
5
themes/breeze/dark/undock-hover.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg width="1000" height="1000" >
|
||||
<path id="BottomCircle" d="M100,500 a250,250, 0, 1,0, 800,0 M775,500 L500,775 L225,500 z" fill="#a2a2a2" />
|
||||
<path id="TopCircle" d="M900,500 a250,250, 0, 1,0, -800,0 M225,500 L500,225 L775,500 z" fill="#a2a2a2" />
|
||||
<path id="Inside" d="M275,500 L 500,725 L 725,500 L 500,275 z" fill="#a2a2a2" />
|
||||
</svg>
|
After Width: | Height: | Size: 343 B |
3
themes/breeze/dark/undock.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="1000" height="1000" >
|
||||
<path d="M250,500 L 500,750 L 750,500 L 500,250 z" fill="none" stroke="#a2a2a2" stroke-width="50" />
|
||||
</svg>
|
After Width: | Height: | Size: 144 B |
3
themes/breeze/dark/up_arrow-hover.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#3daee9"/>
|
||||
</svg>
|
After Width: | Height: | Size: 546 B |
3
themes/breeze/dark/up_arrow.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#fff"/>
|
||||
</svg>
|
After Width: | Height: | Size: 543 B |
3
themes/breeze/dark/up_arrow_disabled.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 546 B |
8
themes/breeze/dark/vmovetoolbar.svg
Executable file
@ -0,0 +1,8 @@
|
||||
<svg x="0px" y="0px" width="54px" height="10px" viewBox="0 0 54 10" enable-background="new 0 0 54 10" xml:space="preserve">
|
||||
<rect id="Dark1" data-name="Dark1" fill="#292c31" x="16" y="1" width="4" height="8"/>
|
||||
<rect id="Light1" data-name="Light1" fill="#7f8795" x="16" y="1" width="3" height="7"/>
|
||||
<rect id="Dark2" data-name="Dark2" fill="#292c31" x="25" y="1" width="4" height="8"/>
|
||||
<rect id="Light2" data-name="Light2" fill="#7f8795" x="25" y="1" width="3" height="7"/>
|
||||
<rect id="Dark3" data-name="Dark3" fill="#292c31" x="34" y="1" width="4" height="8"/>
|
||||
<rect id="Light3" data-name="Light3" fill="#7f8795" x="34" y="1" width="3" height="7"/>
|
||||
</svg>
|
After Width: | Height: | Size: 665 B |
7
themes/breeze/dark/vsepartoolbars.svg
Executable file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="63px" height="7px" viewBox="0 0 63 7" enable-background="new 0 0 63 7" xml:space="preserve">
|
||||
<rect id="Dark1" data-name="Dark1" fill="#292c31" x="25" y="1" width="1" height="5"/>
|
||||
<rect id="Dark2" data-name="Dark2" fill="#292c31" x="38" y="1" width="1" height="5"/>
|
||||
<rect id="Light1" data-name="Light1" fill="#7f8795" x="23" y="1" width="2" height="5"/>
|
||||
<rect id="Light2" data-name="Light2" fill="#7f8795" x="30" y="1" width="2" height="5"/>
|
||||
<rect id="Light3" data-name="Light3" fill="#7f8795" x="36" y="1" width="2" height="5"/>
|
||||
</svg>
|
After Width: | Height: | Size: 574 B |
359
themes/breeze/example.py
Normal file
@ -0,0 +1,359 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'example.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.4.2
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_MainWindow(object):
|
||||
def setupUi(self, MainWindow):
|
||||
MainWindow.setObjectName("MainWindow")
|
||||
MainWindow.resize(1068, 824)
|
||||
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
||||
self.centralwidget.setObjectName("centralwidget")
|
||||
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.centralwidget)
|
||||
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
||||
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
|
||||
self.tabWidget.setTabPosition(QtWidgets.QTabWidget.East)
|
||||
self.tabWidget.setTabsClosable(True)
|
||||
self.tabWidget.setObjectName("tabWidget")
|
||||
self.tab = QtWidgets.QWidget()
|
||||
self.tab.setObjectName("tab")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.tab)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.groupBox = QtWidgets.QGroupBox(self.tab)
|
||||
self.groupBox.setObjectName("groupBox")
|
||||
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox)
|
||||
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
||||
self.toolBox = QtWidgets.QToolBox(self.groupBox)
|
||||
self.toolBox.setObjectName("toolBox")
|
||||
self.page = QtWidgets.QWidget()
|
||||
self.page.setGeometry(QtCore.QRect(0, 0, 718, 227))
|
||||
self.page.setObjectName("page")
|
||||
self.gridLayout_4 = QtWidgets.QGridLayout(self.page)
|
||||
self.gridLayout_4.setObjectName("gridLayout_4")
|
||||
self.lineEdit = QtWidgets.QLineEdit(self.page)
|
||||
self.lineEdit.setObjectName("lineEdit")
|
||||
self.gridLayout_4.addWidget(self.lineEdit, 0, 0, 1, 1)
|
||||
self.toolBox.addItem(self.page, "")
|
||||
self.page_2 = QtWidgets.QWidget()
|
||||
self.page_2.setGeometry(QtCore.QRect(0, 0, 718, 227))
|
||||
self.page_2.setObjectName("page_2")
|
||||
self.gridLayout_5 = QtWidgets.QGridLayout(self.page_2)
|
||||
self.gridLayout_5.setObjectName("gridLayout_5")
|
||||
self.listWidget = QtWidgets.QListWidget(self.page_2)
|
||||
self.listWidget.setObjectName("listWidget")
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
item = QtWidgets.QListWidgetItem()
|
||||
self.listWidget.addItem(item)
|
||||
self.gridLayout_5.addWidget(self.listWidget, 0, 0, 1, 1)
|
||||
self.toolBox.addItem(self.page_2, "")
|
||||
self.verticalLayout_3.addWidget(self.toolBox)
|
||||
self.gridLayout.addWidget(self.groupBox, 1, 0, 1, 1)
|
||||
self.tabWidget_2 = QtWidgets.QTabWidget(self.tab)
|
||||
self.tabWidget_2.setObjectName("tabWidget_2")
|
||||
self.tab_3 = QtWidgets.QWidget()
|
||||
self.tab_3.setObjectName("tab_3")
|
||||
self.gridLayout_6 = QtWidgets.QGridLayout(self.tab_3)
|
||||
self.gridLayout_6.setObjectName("gridLayout_6")
|
||||
self.checkableButton = QtWidgets.QPushButton(self.tab_3)
|
||||
self.checkableButton.setCheckable(True)
|
||||
self.checkableButton.setChecked(True)
|
||||
self.checkableButton.setObjectName("checkableButton")
|
||||
self.gridLayout_6.addWidget(self.checkableButton, 1, 0, 1, 1)
|
||||
self.pushButton = QtWidgets.QPushButton(self.tab_3)
|
||||
self.pushButton.setObjectName("pushButton")
|
||||
self.gridLayout_6.addWidget(self.pushButton, 0, 0, 1, 1)
|
||||
self.pushButton_5 = QtWidgets.QPushButton(self.tab_3)
|
||||
self.pushButton_5.setObjectName("pushButton_5")
|
||||
self.gridLayout_6.addWidget(self.pushButton_5, 2, 0, 1, 1)
|
||||
self.tabWidget_2.addTab(self.tab_3, "")
|
||||
self.tab_5 = QtWidgets.QWidget()
|
||||
self.tab_5.setObjectName("tab_5")
|
||||
self.gridLayout_7 = QtWidgets.QGridLayout(self.tab_5)
|
||||
self.gridLayout_7.setObjectName("gridLayout_7")
|
||||
self.tableWidget = QtWidgets.QTableWidget(self.tab_5)
|
||||
self.tableWidget.setObjectName("tableWidget")
|
||||
self.tableWidget.setColumnCount(2)
|
||||
self.tableWidget.setRowCount(4)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(1, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(2, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(3, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(0, item)
|
||||
item = QtWidgets.QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(1, item)
|
||||
self.gridLayout_7.addWidget(self.tableWidget, 0, 0, 1, 1)
|
||||
self.tabWidget_2.addTab(self.tab_5, "")
|
||||
self.tab_4 = QtWidgets.QWidget()
|
||||
self.tab_4.setObjectName("tab_4")
|
||||
self.tabWidget_2.addTab(self.tab_4, "")
|
||||
self.gridLayout.addWidget(self.tabWidget_2, 0, 0, 1, 1)
|
||||
self.tabWidget.addTab(self.tab, "")
|
||||
self.tab_2 = QtWidgets.QWidget()
|
||||
self.tab_2.setObjectName("tab_2")
|
||||
self.gridLayout_2 = QtWidgets.QGridLayout(self.tab_2)
|
||||
self.gridLayout_2.setObjectName("gridLayout_2")
|
||||
self.groupBox_2 = QtWidgets.QGroupBox(self.tab_2)
|
||||
self.groupBox_2.setObjectName("groupBox_2")
|
||||
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_2)
|
||||
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||||
self.label = QtWidgets.QLabel(self.groupBox_2)
|
||||
self.label.setObjectName("label")
|
||||
self.verticalLayout_4.addWidget(self.label)
|
||||
self.radioButton = QtWidgets.QRadioButton(self.groupBox_2)
|
||||
self.radioButton.setObjectName("radioButton")
|
||||
self.verticalLayout_4.addWidget(self.radioButton)
|
||||
self.checkBox = QtWidgets.QCheckBox(self.groupBox_2)
|
||||
self.checkBox.setObjectName("checkBox")
|
||||
self.verticalLayout_4.addWidget(self.checkBox)
|
||||
self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox_2)
|
||||
self.checkBox_2.setTristate(True)
|
||||
self.checkBox_2.setObjectName("checkBox_2")
|
||||
self.verticalLayout_4.addWidget(self.checkBox_2)
|
||||
self.treeWidget = QtWidgets.QTreeWidget(self.groupBox_2)
|
||||
self.treeWidget.setObjectName("treeWidget")
|
||||
item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_1 = QtWidgets.QTreeWidgetItem(self.treeWidget)
|
||||
item_2 = QtWidgets.QTreeWidgetItem(item_1)
|
||||
item_2.setText(0, "subitem")
|
||||
self.verticalLayout_4.addWidget(self.treeWidget)
|
||||
self.gridLayout_2.addWidget(self.groupBox_2, 0, 0, 1, 1)
|
||||
self.tabWidget.addTab(self.tab_2, "")
|
||||
self.verticalLayout_5.addWidget(self.tabWidget)
|
||||
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||
self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
|
||||
self.pushButton_2.setObjectName("pushButton_2")
|
||||
self.horizontalLayout.addWidget(self.pushButton_2)
|
||||
self.bt_delay_popup = QtWidgets.QToolButton(self.centralwidget)
|
||||
self.bt_delay_popup.setObjectName("bt_delay_popup")
|
||||
self.horizontalLayout.addWidget(self.bt_delay_popup)
|
||||
self.bt_instant_popup = QtWidgets.QToolButton(self.centralwidget)
|
||||
self.bt_instant_popup.setPopupMode(QtWidgets.QToolButton.InstantPopup)
|
||||
self.bt_instant_popup.setObjectName("bt_instant_popup")
|
||||
self.horizontalLayout.addWidget(self.bt_instant_popup)
|
||||
self.bt_menu_button_popup = QtWidgets.QToolButton(self.centralwidget)
|
||||
self.bt_menu_button_popup.setPopupMode(QtWidgets.QToolButton.MenuButtonPopup)
|
||||
self.bt_menu_button_popup.setObjectName("bt_menu_button_popup")
|
||||
self.horizontalLayout.addWidget(self.bt_menu_button_popup)
|
||||
self.line_2 = QtWidgets.QFrame(self.centralwidget)
|
||||
self.line_2.setFrameShape(QtWidgets.QFrame.VLine)
|
||||
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||||
self.line_2.setObjectName("line_2")
|
||||
self.horizontalLayout.addWidget(self.line_2)
|
||||
self.pushButton_3 = QtWidgets.QPushButton(self.centralwidget)
|
||||
self.pushButton_3.setEnabled(False)
|
||||
self.pushButton_3.setObjectName("pushButton_3")
|
||||
self.horizontalLayout.addWidget(self.pushButton_3)
|
||||
self.doubleSpinBox = QtWidgets.QDoubleSpinBox(self.centralwidget)
|
||||
self.doubleSpinBox.setObjectName("doubleSpinBox")
|
||||
self.horizontalLayout.addWidget(self.doubleSpinBox)
|
||||
self.toolButton = QtWidgets.QToolButton(self.centralwidget)
|
||||
self.toolButton.setPopupMode(QtWidgets.QToolButton.InstantPopup)
|
||||
self.toolButton.setObjectName("toolButton")
|
||||
self.horizontalLayout.addWidget(self.toolButton)
|
||||
self.verticalLayout_5.addLayout(self.horizontalLayout)
|
||||
MainWindow.setCentralWidget(self.centralwidget)
|
||||
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
||||
self.menubar.setGeometry(QtCore.QRect(0, 0, 1068, 29))
|
||||
self.menubar.setObjectName("menubar")
|
||||
self.menuMenu = QtWidgets.QMenu(self.menubar)
|
||||
self.menuMenu.setObjectName("menuMenu")
|
||||
self.menuSubmenu_2 = QtWidgets.QMenu(self.menuMenu)
|
||||
self.menuSubmenu_2.setObjectName("menuSubmenu_2")
|
||||
MainWindow.setMenuBar(self.menubar)
|
||||
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
||||
self.statusbar.setObjectName("statusbar")
|
||||
MainWindow.setStatusBar(self.statusbar)
|
||||
self.dockWidget1 = QtWidgets.QDockWidget(MainWindow)
|
||||
self.dockWidget1.setObjectName("dockWidget1")
|
||||
self.dockWidgetContents = QtWidgets.QWidget()
|
||||
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
||||
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.dockWidgetContents)
|
||||
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout()
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.comboBox = QtWidgets.QComboBox(self.dockWidgetContents)
|
||||
self.comboBox.setObjectName("comboBox")
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.addItem("")
|
||||
self.verticalLayout.addWidget(self.comboBox)
|
||||
self.horizontalSlider = QtWidgets.QSlider(self.dockWidgetContents)
|
||||
self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.horizontalSlider.setObjectName("horizontalSlider")
|
||||
self.verticalLayout.addWidget(self.horizontalSlider)
|
||||
self.textEdit = QtWidgets.QTextEdit(self.dockWidgetContents)
|
||||
self.textEdit.setObjectName("textEdit")
|
||||
self.verticalLayout.addWidget(self.textEdit)
|
||||
self.line = QtWidgets.QFrame(self.dockWidgetContents)
|
||||
self.line.setFrameShape(QtWidgets.QFrame.HLine)
|
||||
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||||
self.line.setObjectName("line")
|
||||
self.verticalLayout.addWidget(self.line)
|
||||
self.progressBar = QtWidgets.QProgressBar(self.dockWidgetContents)
|
||||
self.progressBar.setProperty("value", 24)
|
||||
self.progressBar.setObjectName("progressBar")
|
||||
self.verticalLayout.addWidget(self.progressBar)
|
||||
self.verticalLayout_2.addLayout(self.verticalLayout)
|
||||
self.frame = QtWidgets.QFrame(self.dockWidgetContents)
|
||||
self.frame.setMinimumSize(QtCore.QSize(0, 100))
|
||||
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||||
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
||||
self.frame.setLineWidth(3)
|
||||
self.frame.setObjectName("frame")
|
||||
self.verticalLayout_2.addWidget(self.frame)
|
||||
self.dockWidget1.setWidget(self.dockWidgetContents)
|
||||
MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidget1)
|
||||
self.toolBar = QtWidgets.QToolBar(MainWindow)
|
||||
self.toolBar.setObjectName("toolBar")
|
||||
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
|
||||
self.dockWidget2 = QtWidgets.QDockWidget(MainWindow)
|
||||
self.dockWidget2.setObjectName("dockWidget2")
|
||||
self.dockWidgetContents_2 = QtWidgets.QWidget()
|
||||
self.dockWidgetContents_2.setObjectName("dockWidgetContents_2")
|
||||
self.gridLayout_3 = QtWidgets.QGridLayout(self.dockWidgetContents_2)
|
||||
self.gridLayout_3.setObjectName("gridLayout_3")
|
||||
self.verticalSlider = QtWidgets.QSlider(self.dockWidgetContents_2)
|
||||
self.verticalSlider.setOrientation(QtCore.Qt.Vertical)
|
||||
self.verticalSlider.setObjectName("verticalSlider")
|
||||
self.gridLayout_3.addWidget(self.verticalSlider, 0, 0, 1, 1)
|
||||
self.dockWidget2.setWidget(self.dockWidgetContents_2)
|
||||
MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidget2)
|
||||
self.actionAction = QtWidgets.QAction(MainWindow)
|
||||
self.actionAction.setObjectName("actionAction")
|
||||
self.actionSub_menu = QtWidgets.QAction(MainWindow)
|
||||
self.actionSub_menu.setObjectName("actionSub_menu")
|
||||
self.actionAction_C = QtWidgets.QAction(MainWindow)
|
||||
self.actionAction_C.setObjectName("actionAction_C")
|
||||
self.menuSubmenu_2.addAction(self.actionSub_menu)
|
||||
self.menuSubmenu_2.addAction(self.actionAction_C)
|
||||
self.menuMenu.addAction(self.actionAction)
|
||||
self.menuMenu.addAction(self.menuSubmenu_2.menuAction())
|
||||
self.menubar.addAction(self.menuMenu.menuAction())
|
||||
self.toolBar.addAction(self.actionAction)
|
||||
self.toolBar.addAction(self.actionSub_menu)
|
||||
|
||||
self.retranslateUi(MainWindow)
|
||||
self.tabWidget.setCurrentIndex(0)
|
||||
self.toolBox.setCurrentIndex(1)
|
||||
self.tabWidget_2.setCurrentIndex(0)
|
||||
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
||||
MainWindow.setTabOrder(self.pushButton, self.checkableButton)
|
||||
MainWindow.setTabOrder(self.checkableButton, self.pushButton_5)
|
||||
MainWindow.setTabOrder(self.pushButton_5, self.tabWidget_2)
|
||||
MainWindow.setTabOrder(self.tabWidget_2, self.tableWidget)
|
||||
MainWindow.setTabOrder(self.tableWidget, self.radioButton)
|
||||
MainWindow.setTabOrder(self.radioButton, self.checkBox)
|
||||
MainWindow.setTabOrder(self.checkBox, self.checkBox_2)
|
||||
MainWindow.setTabOrder(self.checkBox_2, self.treeWidget)
|
||||
MainWindow.setTabOrder(self.treeWidget, self.pushButton_2)
|
||||
MainWindow.setTabOrder(self.pushButton_2, self.bt_delay_popup)
|
||||
MainWindow.setTabOrder(self.bt_delay_popup, self.bt_instant_popup)
|
||||
MainWindow.setTabOrder(self.bt_instant_popup, self.bt_menu_button_popup)
|
||||
MainWindow.setTabOrder(self.bt_menu_button_popup, self.pushButton_3)
|
||||
MainWindow.setTabOrder(self.pushButton_3, self.doubleSpinBox)
|
||||
MainWindow.setTabOrder(self.doubleSpinBox, self.toolButton)
|
||||
MainWindow.setTabOrder(self.toolButton, self.comboBox)
|
||||
MainWindow.setTabOrder(self.comboBox, self.horizontalSlider)
|
||||
MainWindow.setTabOrder(self.horizontalSlider, self.textEdit)
|
||||
MainWindow.setTabOrder(self.textEdit, self.verticalSlider)
|
||||
MainWindow.setTabOrder(self.verticalSlider, self.tabWidget)
|
||||
MainWindow.setTabOrder(self.tabWidget, self.lineEdit)
|
||||
MainWindow.setTabOrder(self.lineEdit, self.listWidget)
|
||||
|
||||
def retranslateUi(self, MainWindow):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
||||
self.groupBox.setTitle(_translate("MainWindow", "ToolBox"))
|
||||
self.toolBox.setItemText(self.toolBox.indexOf(self.page), _translate("MainWindow", "Page 1"))
|
||||
__sortingEnabled = self.listWidget.isSortingEnabled()
|
||||
self.listWidget.setSortingEnabled(False)
|
||||
item = self.listWidget.item(0)
|
||||
item.setText(_translate("MainWindow", "New Item"))
|
||||
item = self.listWidget.item(1)
|
||||
item.setText(_translate("MainWindow", "New Item"))
|
||||
item = self.listWidget.item(2)
|
||||
item.setText(_translate("MainWindow", "New Item"))
|
||||
item = self.listWidget.item(3)
|
||||
item.setText(_translate("MainWindow", "New Item"))
|
||||
item = self.listWidget.item(4)
|
||||
item.setText(_translate("MainWindow", "New Item"))
|
||||
item = self.listWidget.item(5)
|
||||
item.setText(_translate("MainWindow", "New Item"))
|
||||
item = self.listWidget.item(6)
|
||||
item.setText(_translate("MainWindow", "New Item"))
|
||||
item = self.listWidget.item(7)
|
||||
item.setText(_translate("MainWindow", "New Item"))
|
||||
self.listWidget.setSortingEnabled(__sortingEnabled)
|
||||
self.toolBox.setItemText(self.toolBox.indexOf(self.page_2), _translate("MainWindow", "Page 2"))
|
||||
self.checkableButton.setText(_translate("MainWindow", "Checkable button"))
|
||||
self.pushButton.setText(_translate("MainWindow", "PushButton"))
|
||||
self.pushButton_5.setText(_translate("MainWindow", "PushButton"))
|
||||
self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab_3), _translate("MainWindow", "Tab 1"))
|
||||
item = self.tableWidget.verticalHeaderItem(0)
|
||||
item.setText(_translate("MainWindow", "New Row"))
|
||||
item = self.tableWidget.verticalHeaderItem(1)
|
||||
item.setText(_translate("MainWindow", "New Row"))
|
||||
item = self.tableWidget.verticalHeaderItem(2)
|
||||
item.setText(_translate("MainWindow", "New Row"))
|
||||
item = self.tableWidget.verticalHeaderItem(3)
|
||||
item.setText(_translate("MainWindow", "New Row"))
|
||||
item = self.tableWidget.horizontalHeaderItem(0)
|
||||
item.setText(_translate("MainWindow", "New Column"))
|
||||
item = self.tableWidget.horizontalHeaderItem(1)
|
||||
item.setText(_translate("MainWindow", "New Column 2"))
|
||||
self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab_5), _translate("MainWindow", "Page"))
|
||||
self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab_4), _translate("MainWindow", "Tab 2"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1"))
|
||||
self.groupBox_2.setTitle(_translate("MainWindow", "GroupBox"))
|
||||
self.label.setText(_translate("MainWindow", "TextLabel"))
|
||||
self.radioButton.setText(_translate("MainWindow", "RadioB&utton"))
|
||||
self.checkBox.setText(_translate("MainWindow", "CheckBox"))
|
||||
self.checkBox_2.setText(_translate("MainWindow", "CheckBox Tristate"))
|
||||
self.treeWidget.headerItem().setText(0, _translate("MainWindow", "qdz"))
|
||||
__sortingEnabled = self.treeWidget.isSortingEnabled()
|
||||
self.treeWidget.setSortingEnabled(False)
|
||||
self.treeWidget.topLevelItem(0).setText(0, _translate("MainWindow", "qzd"))
|
||||
self.treeWidget.topLevelItem(1).setText(0, _translate("MainWindow", "effefe"))
|
||||
self.treeWidget.setSortingEnabled(__sortingEnabled)
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2"))
|
||||
self.pushButton_2.setText(_translate("MainWindow", "PushButton"))
|
||||
self.bt_delay_popup.setText(_translate("MainWindow", "Delayed popup "))
|
||||
self.bt_instant_popup.setText(_translate("MainWindow", "Instant popup"))
|
||||
self.bt_menu_button_popup.setText(_translate("MainWindow", "MenuButtonPopup"))
|
||||
self.pushButton_3.setText(_translate("MainWindow", "Disabled"))
|
||||
self.toolButton.setText(_translate("MainWindow", "..."))
|
||||
self.menuMenu.setTitle(_translate("MainWindow", "&Menu"))
|
||||
self.menuSubmenu_2.setTitle(_translate("MainWindow", "&Submenu 2"))
|
||||
self.dockWidget1.setWindowTitle(_translate("MainWindow", "&Dock widget 1"))
|
||||
self.comboBox.setItemText(0, _translate("MainWindow", "Item 0"))
|
||||
self.comboBox.setItemText(1, _translate("MainWindow", "Item 2"))
|
||||
self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar"))
|
||||
self.dockWidget2.setWindowTitle(_translate("MainWindow", "Dock widget &2"))
|
||||
self.actionAction.setText(_translate("MainWindow", "&Action"))
|
||||
self.actionSub_menu.setText(_translate("MainWindow", "&Action B"))
|
||||
self.actionSub_menu.setToolTip(_translate("MainWindow", "submenu"))
|
||||
self.actionAction_C.setText(_translate("MainWindow", "Action &C"))
|
||||
|
94
themes/breeze/light.py
Normal file
@ -0,0 +1,94 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# The MIT License (MIT)
|
||||
#
|
||||
# Copyright (c) <2013-2014> <Colin Duquesnoy>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
# in the Software without restriction, including without limitation the rights
|
||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
# copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
# THE SOFTWARE.
|
||||
#
|
||||
"""
|
||||
A simple example of use.
|
||||
|
||||
Load an ui made in QtDesigner and apply the DarkStyleSheet.
|
||||
|
||||
|
||||
Requirements:
|
||||
- Python 2 or Python 3
|
||||
- PyQt4
|
||||
|
||||
.. note.. :: qdarkstyle does not have to be installed to run
|
||||
the example
|
||||
|
||||
"""
|
||||
import logging
|
||||
import sys
|
||||
from PyQt5 import QtWidgets, QtCore
|
||||
from PyQt5.QtCore import QFile, QTextStream
|
||||
# make the example runnable without the need to install
|
||||
|
||||
import example
|
||||
import breeze_resources
|
||||
|
||||
def main():
|
||||
"""
|
||||
Application entry point
|
||||
"""
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
# create the application and the main window
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
#app.setStyle(QtWidgets.QStyleFactory.create("fusion"))
|
||||
window = QtWidgets.QMainWindow()
|
||||
|
||||
# setup ui
|
||||
ui = example.Ui_MainWindow()
|
||||
ui.setupUi(window)
|
||||
ui.bt_delay_popup.addActions([
|
||||
ui.actionAction,
|
||||
ui.actionAction_C
|
||||
])
|
||||
ui.bt_instant_popup.addActions([
|
||||
ui.actionAction,
|
||||
ui.actionAction_C
|
||||
])
|
||||
ui.bt_menu_button_popup.addActions([
|
||||
ui.actionAction,
|
||||
ui.actionAction_C
|
||||
])
|
||||
window.setWindowTitle("Breeze example")
|
||||
|
||||
# tabify dock widgets to show bug #6
|
||||
window.tabifyDockWidget(ui.dockWidget1, ui.dockWidget2)
|
||||
|
||||
# setup stylesheet
|
||||
file = QFile(":/light.qss")
|
||||
file.open(QFile.ReadOnly | QFile.Text)
|
||||
stream = QTextStream(file)
|
||||
app.setStyleSheet(stream.readAll())
|
||||
|
||||
# auto quit after 2s when testing on travis-ci
|
||||
if "--travis" in sys.argv:
|
||||
QtCore.QTimer.singleShot(2000, app.exit)
|
||||
|
||||
# run
|
||||
window.show()
|
||||
app.exec_()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
1654
themes/breeze/light.qss
Normal file
3
themes/breeze/light/branch_closed-on.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="6" height="9">
|
||||
<path fill="#000" fill-rule="evenodd" d="M1,8V1L5,4.5Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 94 B |
3
themes/breeze/light/branch_closed.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="12" height="18">
|
||||
<path fill="#4b4b4b" d="M5,12V6L9,9Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 78 B |
3
themes/breeze/light/branch_open-on.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="9" height="6">
|
||||
<path fill="#000" d="M1,1H8L4.5,5Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 74 B |
3
themes/breeze/light/branch_open.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="18" height="12">
|
||||
<path fill="#4b4b4b" d="M5.5,3H12.5L9,9Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 82 B |
5
themes/breeze/light/checkbox_checked-hover.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#51c2fc"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#51c2fc"/>
|
||||
<path d="M5,5 h8 v8 h-8 v-8 z" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
5
themes/breeze/light/checkbox_checked.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#3daee9"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#3daee9"/>
|
||||
<path d="M5,5 h8 v8 h-8 v-8 z" fill="#3daee9" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
5
themes/breeze/light/checkbox_checked_disabled.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#31363B"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#31363B"/>
|
||||
<path d="M5,5 h8 v8 h-8 v-8 z" fill="#31363B" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 330 B |
7
themes/breeze/light/checkbox_indeterminate-hover.svg
Executable file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#51c2fc"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#51c2fc"/>
|
||||
<path d="M5,5 h8 v8 h-0.9 v-7.1 h-7.1 z" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
<path d="M13,13 h-8 v-8 h0.9 v7.1 h7.1 z" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
<path d="M13,5 L 5,13 v-8 h8 z" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
7
themes/breeze/light/checkbox_indeterminate.svg
Executable file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#3daee9"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#3daee9"/>
|
||||
<path d="M5,5 h8 v8 h-0.9 v-7.1 h-7.1 z" fill="#3daee9" fill-rule="evenodd"/>
|
||||
<path d="M13,13 h-8 v-8 h0.9 v7.1 h7.1 z" fill="#3daee9" fill-rule="evenodd"/>
|
||||
<path d="M13,5 L 5,13 v-8 h8 z" fill="#3daee9" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
7
themes/breeze/light/checkbox_indeterminate_disabled.svg
Executable file
@ -0,0 +1,7 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#31363B"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#31363B"/>
|
||||
<path d="M5,5 h8 v8 h-0.9 v-7.1 h-7.1 z" fill="#31363B" fill-rule="evenodd"/>
|
||||
<path d="M13,13 h-8 v-8 h0.9 v7.1 h7.1 z" fill="#31363B" fill-rule="evenodd"/>
|
||||
<path d="M13,5 L 5,13 v-8 h8 z" fill="#31363B" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
4
themes/breeze/light/checkbox_unchecked-hover.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#51c2fc"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#51c2fc"/>
|
||||
</svg>
|
After Width: | Height: | Size: 260 B |
4
themes/breeze/light/checkbox_unchecked_disabled.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="18px" height="18px" viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
||||
<path d="M2,2 h14 v14 h-0.9 v-13.1 h-13.1 z" fill="#31363B"/>
|
||||
<path d="M16,16 h-14 v-14 h0.9 v13.1 h13.1 z" fill="#31363B"/>
|
||||
</svg>
|
After Width: | Height: | Size: 260 B |
3
themes/breeze/light/close-hover.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#dc7676"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
themes/breeze/light/close-pressed.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#b33e3e"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
themes/breeze/light/close.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="1200" height="1200">
|
||||
<path d="M 600,1050 C 351.472,1050 150,848.528 150,600 150,351.472 351.472,150 600,150 c 248.528,0 450,201.472 450,450 0,248.528 -201.472,450 -450,450 z M 888.462,827.851 661.974,601.122 l 0,-2.244 226.488,-226.729 0,-60.611 -60.848,0 Q 727.339,411.986 627.043,512.451 613.524,525.358 600,538.267 l -226.487,-226.729 -61.975,0 0,60.611 L 538.026,600 311.538,826.729 l 0,61.733 60.848,0 q 34.363,-34.792 68.735,-69.59 L 600,661.733 l 226.487,226.729 61.975,0 0,-60.611 z" fill="#626568"/>
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
3
themes/breeze/light/down_arrow-hover.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#3daee9"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
3
themes/breeze/light/down_arrow.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#31363B"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
3
themes/breeze/light/down_arrow_disabled.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,0.91769718 4.5,4.2280182 7.8105408,0.91627648 c 0.1577125,-0.157702 0.4134624,-0.157702 0.5711749,0 0.1577124,0.15770202 0.1577124,0.41343492 0,0.57113692 l -3.5961283,3.5973102 0,0 0,0 c -0.1577124,0.1577019 -0.4134624,0.1577019 -0.5711748,0 L 0.6182843,1.4874134 c -0.1577124,-0.157702 -0.1577124,-0.4134349 0,-0.57113692 0.1577125,-0.15628131 0.4134624,-0.15628131 0.5711749,0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
5
themes/breeze/light/hmovetoolbar.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="16px" height="64px" viewBox="0 0 16 64" enable-background="new 0 0 16 64" xml:space="preserve">
|
||||
<rect fill="#76797c" x="2" y="1" width="1" height="62.5"/>
|
||||
<rect fill="#76797c" x="9" y="1" width="1" height="62.5"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 254 B |
3
themes/breeze/light/hsepartoolbar.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="7px" height="63px" viewBox="0 0 7 63" enable-background="new 0 0 7 63" xml:space="preserve">
|
||||
<rect fill="#76797c" x="2" y="13" width="1" height="37"/>
|
||||
</svg>
|
After Width: | Height: | Size: 188 B |
3
themes/breeze/light/left_arrow.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="6px" height="9px" viewBox="0 0 6 9" enable-background="new 0 0 6 9" xml:space="preserve">
|
||||
<path d="m 5.0823028,1.1894593 -3.310321,3.3105408 3.3117417,3.3105408 c 0.157702,0.1577125 0.157702,0.4134624 0,0.5711749 -0.157702,0.1577123 -0.4134349,0.1577123 -0.5711369,0 l -3.59731017,-3.5961283 0,0 0,0 c -0.15770191,-0.1577124 -0.15770191,-0.4134624 0,-0.5711748 L 4.5125866,0.61828437 c 0.157702,-0.1577124 0.4134349,-0.1577124 0.5711369,0 0.1562813,0.1577125 0.1562813,0.41346243 -0.00142,0.57117493 z" fill="#31363B"/>
|
||||
</svg>
|
After Width: | Height: | Size: 557 B |
3
themes/breeze/light/left_arrow_disabled.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="6px" height="9px" viewBox="0 0 6 9" enable-background="new 0 0 6 9" xml:space="preserve">
|
||||
<path d="m 5.0823028,1.1894593 -3.310321,3.3105408 3.3117417,3.3105408 c 0.157702,0.1577125 0.157702,0.4134624 0,0.5711749 -0.157702,0.1577123 -0.4134349,0.1577123 -0.5711369,0 l -3.59731017,-3.5961283 0,0 0,0 c -0.15770191,-0.1577124 -0.15770191,-0.4134624 0,-0.5711748 L 4.5125866,0.61828437 c 0.157702,-0.1577124 0.4134349,-0.1577124 0.5711369,0 0.1562813,0.1577125 0.1562813,0.41346243 -0.00142,0.57117493 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 557 B |
5
themes/breeze/light/radio_checked-hover.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
<path d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 427 B |
5
themes/breeze/light/radio_checked.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#3daee9" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#3daee9" fill-rule="evenodd"/>
|
||||
<path d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0" fill="#3daee9" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 427 B |
5
themes/breeze/light/radio_checked_disabled.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#31363B" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#31363B" fill-rule="evenodd"/>
|
||||
<path d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0" fill="#31363B" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 427 B |
4
themes/breeze/light/radio_unchecked-hover.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#51c2fc" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 341 B |
4
themes/breeze/light/radio_unchecked_disabled.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
||||
<path d="M1,10a9,9 0 1,0 18,0 h-0.9 a8.1,8.1 0 1,1 -16.2,0 h-0.9" fill="#31363B" fill-rule="evenodd"/>
|
||||
<path d="M1,10a9,9 0 1,1 18,0 h-0.9 a8.1,8.1 0 1,0 -16.2,0 h-0.9" fill="#31363B" fill-rule="evenodd"/>
|
||||
</svg>
|
After Width: | Height: | Size: 341 B |
3
themes/breeze/light/right_arrow.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="6px" height="9px" viewBox="0 0 6 9" enable-background="new 0 0 6 9" xml:space="preserve">
|
||||
<path d="m 0.9166972,1.1894593 3.310321,3.3105408 -3.3117417,3.3105408 c -0.157702,0.1577125 -0.157702,0.4134624 0,0.5711749 0.157702,0.1577123 0.4134349,0.1577123 0.5711369,0 l 3.5973102,-3.5961283 0,0 0,0 c 0.1577019,-0.1577124 0.1577019,-0.4134624 0,-0.5711748 L 1.4864134,0.61828437 c -0.157702,-0.1577124 -0.4134349,-0.1577124 -0.5711369,0 -0.1562813,0.1577125 -0.1562813,0.41346243 0.00142,0.57117493 z" fill="#31363B"/>
|
||||
</svg>
|
After Width: | Height: | Size: 554 B |
3
themes/breeze/light/right_arrow_disabled.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="6" height="9">
|
||||
<path d="m 0.9166972,1.1894593 3.310321,3.3105408 -3.3117417,3.3105408 c -0.157702,0.1577125 -0.157702,0.4134624 0,0.5711749 0.157702,0.1577123 0.4134349,0.1577123 0.5711369,0 l 3.5973102,-3.5961283 0,0 0,0 c 0.1577019,-0.1577124 0.1577019,-0.4134624 0,-0.5711748 L 1.4864134,0.61828437 c -0.157702,-0.1577124 -0.4134349,-0.1577124 -0.5711369,0 -0.1562813,0.1577125 -0.1562813,0.41346243 0.00142,0.57117493 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 463 B |
3
themes/breeze/light/sizegrip.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="1000" height="1000">
|
||||
<path fill="#b0b0b0" d="M22.1,1022.1L-22.1,977.9l1000-1000L1022.1,22.1Zm220,30L197.9,1007.9l1000-1000L1242.1,52.1Zm250,0L447.9,1007.9l1000-1000L1492.1,52.1Zm250,0L697.9,1007.9l1030-1030L1772.1,22.1Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 244 B |
3
themes/breeze/light/spinup_disabled.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="9" height="6">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 455 B |
4
themes/breeze/light/stylesheet-branch-end-closed.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="14"/>
|
||||
<rect id="HLine" fill="#bcbfc2" x="65" y="28" height="1" width="28"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
themes/breeze/light/stylesheet-branch-end-open.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="14"/>
|
||||
<rect id="HLine" fill="#bcbfc2" x="65" y="28" height="1" width="28"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
themes/breeze/light/stylesheet-branch-end.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="28"/>
|
||||
<rect id="HLine" fill="#bcbfc2" x="36" y="28" height="1" width="57"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
4
themes/breeze/light/stylesheet-branch-more.svg
Executable file
@ -0,0 +1,4 @@
|
||||
<svg width="81" height="58">
|
||||
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="58"/>
|
||||
<rect id="HLine" fill="#bcbfc2" x="36" y="30" height="1" width="44"/>
|
||||
</svg>
|
After Width: | Height: | Size: 173 B |
3
themes/breeze/light/stylesheet-vline.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="81" height="58">
|
||||
<rect fill="#bcbfc2" x="36" width="2" height="58"/>
|
||||
</svg>
|
After Width: | Height: | Size: 90 B |
1
themes/breeze/light/transparent.svg
Executable file
@ -0,0 +1 @@
|
||||
<svg width="64" height="64"/>
|
After Width: | Height: | Size: 30 B |
5
themes/breeze/light/undock-hover.svg
Executable file
@ -0,0 +1,5 @@
|
||||
<svg width="1000" height="1000" >
|
||||
<path id="BottomCircle" d="M100,500 a250,250, 0, 1,0, 800,0 M775,500 L500,775 L225,500 z" fill="#a2a2a2" />
|
||||
<path id="TopCircle" d="M900,500 a250,250, 0, 1,0, -800,0 M225,500 L500,225 L775,500 z" fill="#a2a2a2" />
|
||||
<path id="Inside" d="M275,500 L 500,725 L 725,500 L 500,275 z" fill="#a2a2a2" />
|
||||
</svg>
|
After Width: | Height: | Size: 343 B |
3
themes/breeze/light/undock.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg width="1000" height="1000" >
|
||||
<path d="M250,500 L 500,750 L 750,500 L 500,250 z" fill="none" stroke="#a2a2a2" stroke-width="50" />
|
||||
</svg>
|
After Width: | Height: | Size: 144 B |
3
themes/breeze/light/up_arrow-hover.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#3daee9"/>
|
||||
</svg>
|
After Width: | Height: | Size: 546 B |
3
themes/breeze/light/up_arrow.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#31363B"/>
|
||||
</svg>
|
After Width: | Height: | Size: 546 B |
3
themes/breeze/light/up_arrow_disabled.svg
Executable file
@ -0,0 +1,3 @@
|
||||
<svg x="0px" y="0px" width="9px" height="6px" viewBox="0 0 9 6" enable-background="new 0 0 9 6" xml:space="preserve">
|
||||
<path d="M 1.1894592,5.0833028 4.5,1.7729818 7.8105408,5.0847235 c 0.1577125,0.157702 0.4134624,0.157702 0.5711749,0 0.1577124,-0.157702 0.1577124,-0.4134349 0,-0.5711369 l -3.5961283,-3.59731019 0,0 0,0 c -0.1577124,-0.1577019 -0.4134624,-0.1577019 -0.5711748,0 L 0.6182843,4.5135866 c -0.1577124,0.157702 -0.1577124,0.4134349 0,0.5711369 0.1577125,0.1562813 0.4134624,0.1562813 0.5711749,-0.00142 z" fill="#b0b0b0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 546 B |
8
themes/breeze/light/vmovetoolbar.svg
Executable file
@ -0,0 +1,8 @@
|
||||
<svg x="0px" y="0px" width="54px" height="10px" viewBox="0 0 54 10" enable-background="new 0 0 54 10" xml:space="preserve">
|
||||
<rect id="Dark1" data-name="Dark1" fill="#292c31" x="16" y="1" width="4" height="8"/>
|
||||
<rect id="Light1" data-name="Light1" fill="#7f8795" x="16" y="1" width="3" height="7"/>
|
||||
<rect id="Dark2" data-name="Dark2" fill="#292c31" x="25" y="1" width="4" height="8"/>
|
||||
<rect id="Light2" data-name="Light2" fill="#7f8795" x="25" y="1" width="3" height="7"/>
|
||||
<rect id="Dark3" data-name="Dark3" fill="#292c31" x="34" y="1" width="4" height="8"/>
|
||||
<rect id="Light3" data-name="Light3" fill="#7f8795" x="34" y="1" width="3" height="7"/>
|
||||
</svg>
|
After Width: | Height: | Size: 665 B |