style file
|
@ -20,7 +20,7 @@ DevicePropertyPage::DevicePropertyPage(QWidget *parent) :
|
|||
m_pTimer = new QTimer(this);
|
||||
connect(m_pTimer, SIGNAL(timeout()), this, SLOT(handleTimeout()));
|
||||
//m_pTimer->start(AppData::getInstance()->nTimeOut);
|
||||
}
|
||||
}
|
||||
|
||||
DevicePropertyPage::~DevicePropertyPage()
|
||||
{
|
||||
|
@ -96,10 +96,10 @@ void DevicePropertyPage::InitializeTableView(MyTableModel *model, QTableView *ta
|
|||
//设置列宽
|
||||
int base = 120; //w / (model->columnCount()-1);
|
||||
tableView->setColumnWidth(0,base-30);
|
||||
tableView->setColumnWidth(1,base*3+40);
|
||||
tableView->setColumnWidth(1,base*5);
|
||||
tableView->setColumnWidth(2,base);
|
||||
tableView->setColumnWidth(3,base-40);
|
||||
tableView->setColumnWidth(4,base+50);
|
||||
tableView->setColumnWidth(4,base+60);
|
||||
#endif
|
||||
|
||||
tableView->show();
|
||||
|
@ -185,7 +185,8 @@ void DevicePropertyPage::resizeEvent(QResizeEvent *event)
|
|||
|
||||
// 计算总的初始宽度
|
||||
int initialTotalWidth = 0;
|
||||
for (int width : columnWidths) {
|
||||
for (int width : columnWidths)
|
||||
{
|
||||
initialTotalWidth += width;
|
||||
}
|
||||
|
||||
|
@ -193,7 +194,8 @@ void DevicePropertyPage::resizeEvent(QResizeEvent *event)
|
|||
double scaleFactor = static_cast<double>(currentTotalWidth) / initialTotalWidth;
|
||||
|
||||
// 重新设置列宽,按比例调整
|
||||
for (int i = 0; i < columnWidths.size(); ++i) {
|
||||
for (int i = 0; i < columnWidths.size(); ++i)
|
||||
{
|
||||
int newWidth = static_cast<int>(columnWidths[i] * scaleFactor);
|
||||
m_pTableView->setColumnWidth(i, newWidth);
|
||||
}
|
||||
|
|
|
@ -1,10 +1,42 @@
|
|||
QT += core gui
|
||||
|
||||
#DEFINES += _USING_MYSQL_CONNECTOR_
|
||||
#DEFINES += _USING_QT_MYSQL_CONNECTOR_
|
||||
DEFINES += _USING_MYSQL_51_LIB_
|
||||
|
||||
contains(DEFINES,_USING_MYSQL_CONNECTOR_){
|
||||
message('-->> using mysql connector module')
|
||||
INCLUDEPATH += $$PWD/../../SDK/include/mysql
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\mysql\mysqlcppconn.lib
|
||||
}
|
||||
|
||||
contains(DEFINES,_USING_QT_MYSQL_CONNECTOR_){
|
||||
message('-->> using QT sql module')
|
||||
QT += sql
|
||||
}
|
||||
|
||||
contains(DEFINES,_USING_MYSQL_51_LIB_){
|
||||
message('-->> using mysql 5.1 library')
|
||||
|
||||
INCLUDEPATH += $$PWD/../../SDK/mysql/include
|
||||
CONFIG(debug, debug|debug) {
|
||||
win32:LIBS += $$PWD/..\..\SDK/mysql/lib/debug/libmysql.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK/mysql/lib/debug/mysqlclient.lib
|
||||
}
|
||||
|
||||
CONFIG(debug, debug|release) {
|
||||
win32:LIBS += $$PWD/..\..\SDK/mysql/lib/opt/libmysql.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK/mysql/lib/opt/mysqlclient.lib
|
||||
}
|
||||
}
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
CONFIG += c++17
|
||||
|
||||
QMAKE_LFLAGS += /ignore:4099
|
||||
QMAKE_LFLAGS += /NODEFAULTLIB:LIBCMTD
|
||||
|
||||
QMAKE_CXXFLAGS_WARN_ON += -wd4100
|
||||
|
||||
include("$$PWD/QtSingleApplication/qtsingleapplication.pri")
|
||||
|
@ -14,6 +46,7 @@ DEFINES += _CRT_SECURE_NO_WARNINGS
|
|||
|
||||
INCLUDEPATH += $$PWD/../../SDK/include
|
||||
|
||||
|
||||
CONFIG(debug, debug|debug) {
|
||||
INCLUDEPATH += "D:/Visual Leak Detector/include"
|
||||
win32:LIBS += "D:/Visual Leak Detector/lib/Win64/vld.lib"
|
||||
|
@ -23,13 +56,15 @@ CONFIG(debug, debug|release) {
|
|||
win32:LIBS += $$PWD/..\..\SDK\lib\libdesd.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\OpenSSL_VC\libcrypto64MDd.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\OpenSSL_VC\libssl64MDd.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\hv.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\hvd.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\zlibd.lib
|
||||
win32:LIBS += Ws2_32.lib
|
||||
}else{
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\libdes.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\OpenSSL_VC\libcrypto64MD.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\OpenSSL_VC\libssl64MD.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\hvd.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\hv.lib
|
||||
win32:LIBS += $$PWD/..\..\SDK\lib\zlib.lib
|
||||
win32:LIBS += Ws2_32.lib
|
||||
}
|
||||
|
||||
|
@ -45,7 +80,9 @@ SOURCES += \
|
|||
main.cpp \
|
||||
maindialog.cpp \
|
||||
mainwindow.cpp \
|
||||
mytablemodel.cpp
|
||||
mysqlutils.cpp \
|
||||
mytablemodel.cpp \
|
||||
ziputils.cpp
|
||||
|
||||
HEADERS += \
|
||||
datafetcher.h \
|
||||
|
@ -53,8 +90,10 @@ HEADERS += \
|
|||
globalparameters.h \
|
||||
maindialog.h \
|
||||
mainwindow.h \
|
||||
mysqlutils.h \
|
||||
mytablemodel.h \
|
||||
singleton.h
|
||||
singleton.h \
|
||||
ziputils.h
|
||||
|
||||
FORMS += \
|
||||
maindialog.ui \
|
||||
|
@ -67,3 +106,7 @@ else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|||
|
||||
RESOURCES += \
|
||||
emscfgres.qrc
|
||||
|
||||
RESOURCES += qdarkstyle/dark/darkstyle.qrc
|
||||
RESOURCES += qdarkstyle/light/lightstyle.qrc
|
||||
RESOURCES += qdarkstyle/bingle/binglestyle.qrc
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
#include <QTranslator>
|
||||
#include <QMessageBox>
|
||||
#include <QScreen>
|
||||
#include <QStyleFactory>
|
||||
#include <QFile>
|
||||
#include <QDebug>
|
||||
|
||||
#include <hv/hv.h>
|
||||
#include <hv/hmain.h>
|
||||
|
@ -39,6 +42,35 @@ int main(int argc, char *argv[])
|
|||
hlogi("%s version: %s", argv[0], "1.1.0");
|
||||
hlog_fsync();
|
||||
|
||||
//若是系统自带的QStyle风格,则需要先创建为QStyleFactory::create(""),然后设置qApp->setStyle()
|
||||
QStringList listStyle = QStyleFactory::keys();
|
||||
foreach(QString val, listStyle) //打印当前系统支持的系统风格,,且打印出来
|
||||
{
|
||||
qDebug()<<val<<" ";
|
||||
}
|
||||
|
||||
//当前系统支持的系统风格
|
||||
//"windowsvista"
|
||||
//"Windows"
|
||||
//"Fusion"
|
||||
//qApp->setStyle(QStyleFactory::create("Fusion"));
|
||||
|
||||
#if 1
|
||||
//QFile f(":qdarkstyle/light/lightstyle.qss");
|
||||
QFile f(":bingle/bingle/Ubuntu.qss");
|
||||
|
||||
if (!f.exists())
|
||||
{
|
||||
hloge("Unable to set stylesheet, file not found");
|
||||
}
|
||||
else
|
||||
{
|
||||
f.open(QFile::ReadOnly | QFile::Text);
|
||||
QTextStream ts(&f);
|
||||
qApp->setStyleSheet(ts.readAll());
|
||||
}
|
||||
#endif
|
||||
|
||||
QTranslator translator;
|
||||
const QStringList uiLanguages = QLocale::system().uiLanguages();
|
||||
for (const QString &locale : uiLanguages)
|
||||
|
@ -56,7 +88,7 @@ int main(int argc, char *argv[])
|
|||
w.setWindowFlags(w.windowFlags()&~Qt::WindowMinMaxButtonsHint);
|
||||
//w.setWindowFlags(w.windowFlags() | Qt::WindowStaysOnTopHint);
|
||||
|
||||
w.setStyleSheet("{border-radius: 4px;}"); // 定制圆角
|
||||
//w.setStyleSheet("border-radius: 4px;"); // 定制圆角
|
||||
// ".QLabel{background: gray;}.QTextEdit{background: white;}");
|
||||
|
||||
//获取窗口尺寸并居中
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
#include <QRegularExpression>
|
||||
#include <QRegularExpressionValidator>
|
||||
|
||||
#include <hv/hlog.h>
|
||||
#include "MainDialog.h"
|
||||
#include "mysqlutils.h"
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
|
@ -26,7 +28,8 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
QRegularExpression rx("^((2[0-4]\\d|25[0-5]|[01]?\\d\\d?)\\.){3}(2[0-4]\\d|25[0-5]|[01]?\\d\\d?)$");
|
||||
QRegularExpressionValidator* ipValidator = new QRegularExpressionValidator(rx, this);
|
||||
ui->serverIp->setValidator(ipValidator);
|
||||
setIp("127.0.0.1");
|
||||
//setIp("127.0.0.1");
|
||||
setIp("192.168.4.254");
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
|
@ -51,3 +54,25 @@ void MainWindow::on_pb_Logon_clicked()
|
|||
this->close();
|
||||
}
|
||||
|
||||
|
||||
void MainWindow::on_pb_Test_clicked()
|
||||
{
|
||||
QString svr = ui->serverIp->text();
|
||||
std::string dbserver = svr.toStdString(); //"tcp://192.168.4.254";
|
||||
int dbport = 3306;
|
||||
std::string dbuser = "root";
|
||||
std::string dbpasswd = "Hj57471000";
|
||||
std::string dbname = "hjems";
|
||||
bool dbok = MysqlUtils::getInstance()->OpenDatabase(dbserver,dbport,dbuser,dbpasswd,dbname);
|
||||
if (!dbok)
|
||||
{
|
||||
hloge("failed to open database, exit now...");
|
||||
QMessageBox::critical(this, tr("Critical Message"),tr("Failed to connect to device!"));
|
||||
return;
|
||||
}
|
||||
|
||||
hlogi("database connection test successfully!");
|
||||
|
||||
QMessageBox::information(this, tr("Successfully"),tr("Connect to device successfully!"));
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
class MainDialog;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class MainWindow; }
|
||||
namespace Ui
|
||||
{
|
||||
class MainWindow;
|
||||
}
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
|
@ -23,6 +26,8 @@ protected:
|
|||
private slots:
|
||||
void on_pb_Logon_clicked();
|
||||
|
||||
void on_pb_Test_clicked();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
MainDialog* m_pMainDialog;
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>551</width>
|
||||
<height>352</height>
|
||||
<width>615</width>
|
||||
<height>362</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="contextMenuPolicy">
|
||||
|
@ -19,12 +19,15 @@
|
|||
<property name="windowTitle">
|
||||
<string>EMS Configurer</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">backfround-color:rgb(170,255,127) </string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>130</x>
|
||||
<y>176</y>
|
||||
<x>160</x>
|
||||
<y>183</y>
|
||||
<width>61</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
|
@ -36,10 +39,10 @@
|
|||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>140</x>
|
||||
<y>60</y>
|
||||
<width>231</width>
|
||||
<height>71</height>
|
||||
<x>160</x>
|
||||
<y>50</y>
|
||||
<width>240</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
|
@ -58,8 +61,8 @@
|
|||
<widget class="QLineEdit" name="serverIp">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>220</x>
|
||||
<y>173</y>
|
||||
<x>250</x>
|
||||
<y>180</y>
|
||||
<width>124</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
|
@ -71,9 +74,9 @@
|
|||
<widget class="QLabel" name="label_6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>370</x>
|
||||
<y>88</y>
|
||||
<width>161</width>
|
||||
<x>400</x>
|
||||
<y>120</y>
|
||||
<width>171</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -92,8 +95,8 @@
|
|||
<widget class="QPushButton" name="pb_Test">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>350</x>
|
||||
<y>173</y>
|
||||
<x>380</x>
|
||||
<y>180</y>
|
||||
<width>51</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
|
@ -118,8 +121,8 @@
|
|||
<widget class="QWidget" name="layoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>140</x>
|
||||
<y>280</y>
|
||||
<x>170</x>
|
||||
<y>287</y>
|
||||
<width>251</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
|
@ -157,8 +160,8 @@
|
|||
<widget class="QLineEdit" name="userToken">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>220</x>
|
||||
<y>233</y>
|
||||
<x>250</x>
|
||||
<y>240</y>
|
||||
<width>181</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
|
@ -179,8 +182,8 @@
|
|||
<widget class="QLabel" name="label_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>130</x>
|
||||
<y>200</y>
|
||||
<x>160</x>
|
||||
<y>207</y>
|
||||
<width>68</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
|
@ -192,8 +195,8 @@
|
|||
<widget class="QLabel" name="label_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>130</x>
|
||||
<y>233</y>
|
||||
<x>160</x>
|
||||
<y>240</y>
|
||||
<width>56</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
|
@ -205,8 +208,8 @@
|
|||
<widget class="QLineEdit" name="userName">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>220</x>
|
||||
<y>203</y>
|
||||
<x>250</x>
|
||||
<y>210</y>
|
||||
<width>181</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
|
|
|
@ -1,15 +1,26 @@
|
|||
#include "mysqlutils.h"
|
||||
#include <QDebug>
|
||||
|
||||
#include <hv/hlog.h>
|
||||
#include <sstream>
|
||||
|
||||
#include <QtSql/QSqlDatabase>
|
||||
#include <QStringList>
|
||||
#ifdef _USING_MYSQL_CONNECTOR_
|
||||
#include <mysql_connection.h>
|
||||
#include <cppconn/driver.h>
|
||||
#include <cppconn/exception.h>
|
||||
#include <cppconn/resultset.h>
|
||||
#include <cppconn/statement.h>
|
||||
#endif
|
||||
|
||||
MysqlUtils MysqlUtils::m_instance;
|
||||
|
||||
MysqlUtils::MysqlUtils()
|
||||
:m_pDbConnection(nullptr)
|
||||
#ifdef _USING_MYSQL_CONNECTOR_
|
||||
:m_DbConnection(nullptr)
|
||||
#endif
|
||||
|
||||
#ifdef _USING_MYSQL_51_LIB_
|
||||
:m_DbConnection(nullptr)
|
||||
#endif
|
||||
{}
|
||||
|
||||
MysqlUtils::~MysqlUtils()
|
||||
|
@ -24,57 +35,113 @@ MysqlUtils* MysqlUtils::getInstance()
|
|||
|
||||
bool MysqlUtils::OpenDatabase(const std::string& server, int dbport, const std::string& dbuser, const std::string& dbpasswd, const std::string& database)
|
||||
{
|
||||
bool ok = false;
|
||||
#ifdef _USING_QT_MYSQL_CONNECTOR_
|
||||
// 打开数据库
|
||||
try
|
||||
{
|
||||
if (m_pDbConnection!=nullptr)
|
||||
{
|
||||
if (m_pDbConnection->isValid())
|
||||
if (m_DbConnection.isOpen() && m_DbConnection.isValid())
|
||||
{
|
||||
hlogd("database already connected.");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
using namespace sql;
|
||||
m_DbConnection = QSqlDatabase::addDatabase("QMYSQL");
|
||||
m_DbConnection.setHostName(server.c_str());
|
||||
m_DbConnection.setDatabaseName(database.c_str());
|
||||
m_DbConnection.setUserName(dbuser.c_str());
|
||||
m_DbConnection.setPassword(dbpasswd.c_str());
|
||||
m_DbConnection.setPort(dbport);
|
||||
ok = m_DbConnection.open();
|
||||
#endif
|
||||
|
||||
#ifdef _USING_MYSQL_CONNECTOR_
|
||||
// 创建连接
|
||||
sql::Driver* driver;
|
||||
sql::Driver *driver = nullptr;
|
||||
driver = get_driver_instance();
|
||||
|
||||
sql::ConnectOptionsMap connection_properties;
|
||||
|
||||
connection_properties["hostName"] = server.c_str();
|
||||
connection_properties["userName"] = dbuser.c_str();
|
||||
connection_properties["password"] = dbpasswd.c_str();
|
||||
connection_properties["schema"] = database.c_str();
|
||||
connection_properties["port"] = dbport;
|
||||
connection_properties["OPT_RECONNECT"] = true;
|
||||
driver->connect("tcp://192.168.23.253:3306", "root", "L2ysc1s1kr");
|
||||
m_DbConnection->setSchema(database.c_str());
|
||||
|
||||
driver = get_driver_instance();
|
||||
m_pDbConnection = driver->connect(connection_properties);
|
||||
// connection_properties["hostName"] = server;
|
||||
// connection_properties["userName"] = dbuser;
|
||||
// connection_properties["password"] = dbpasswd;
|
||||
// connection_properties["schema"] = database;
|
||||
// connection_properties["port"] = dbport;
|
||||
// //connection_properties["OPT_RECONNECT"] = true;
|
||||
|
||||
if (!m_pDbConnection)
|
||||
// m_DbConnection = driver->connect(connection_properties);
|
||||
|
||||
if (m_DbConnection)
|
||||
ok = true;
|
||||
#endif
|
||||
|
||||
#ifdef _USING_MYSQL_51_LIB_
|
||||
m_DbConnection = mysql_init(NULL);
|
||||
// 连接到MySQL服务器
|
||||
if (!mysql_real_connect(m_DbConnection, server.c_str(), dbuser.c_str(), dbpasswd.c_str(), database.c_str(), dbport, NULL, 0))
|
||||
{
|
||||
hloge("MySQL connection error: %s",mysql_error(m_DbConnection));
|
||||
}
|
||||
else
|
||||
{
|
||||
ok = true;
|
||||
mysql_set_character_set(m_DbConnection, "utf8");
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!ok)
|
||||
{
|
||||
hloge("Failed to connect to database.");
|
||||
return false;
|
||||
}
|
||||
|
||||
hlogd("new database connection created successfully!");
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (sql::SQLException& e)
|
||||
else
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss << "SQLException: " << e.what();
|
||||
ss<< " (MySQL error code: " << e.getErrorCode();
|
||||
ss << ", SQLState: " << e.getSQLState() << " )";
|
||||
hloge("Failed to connect to database: %s",ss.str().c_str());
|
||||
return false;
|
||||
hlogd("new database connection created successfully!");
|
||||
#if 0
|
||||
MYSQL_RES* res;
|
||||
MYSQL_ROW row;
|
||||
// 执行 SQL 查询
|
||||
if (mysql_query(m_DbConnection, "SELECT * FROM tbl_device"))
|
||||
{
|
||||
qDebug() << "Error: " << mysql_error(m_DbConnection) ;
|
||||
mysql_close(m_DbConnection);
|
||||
return 1;
|
||||
}
|
||||
|
||||
res = mysql_use_result(m_DbConnection); // 获取结果集
|
||||
|
||||
while ((row = mysql_fetch_row(res)) != NULL)
|
||||
{
|
||||
for (int i = 0; i < mysql_num_fields(res); ++i)
|
||||
{
|
||||
qDebug() << row[i] << "\t";
|
||||
}
|
||||
qDebug() << "\r\n";
|
||||
}
|
||||
|
||||
mysql_free_result(res); // 释放结果集资源
|
||||
#endif
|
||||
}
|
||||
|
||||
return ok;
|
||||
|
||||
}
|
||||
|
||||
void MysqlUtils::CloseDatabase()
|
||||
{
|
||||
if (m_pDbConnection)
|
||||
m_pDbConnection->close();
|
||||
#ifdef _USING_QT_MYSQL_CONNECTOR_
|
||||
if (m_DbConnection.isOpen())
|
||||
m_DbConnection.close();
|
||||
#endif
|
||||
|
||||
#ifdef _USING_MYSQL_CONNECTOR_
|
||||
if (m_DbConnection)
|
||||
{
|
||||
m_DbConnection->close();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _USING_MYSQL_51_LIB_
|
||||
mysql_close(m_DbConnection); // 关闭连接
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -2,11 +2,19 @@
|
|||
#define MYSQLUTILS_H
|
||||
|
||||
#include <string>
|
||||
#include <mysql_connection.h>
|
||||
#include <cppconn/driver.h>
|
||||
#include <cppconn/exception.h>
|
||||
#include <cppconn/resultset.h>
|
||||
#include <cppconn/statement.h>
|
||||
|
||||
#ifdef _USING_QT_MYSQL_CONNECTOR_
|
||||
#include <QtSql/QSqlDatabase>_
|
||||
#endif
|
||||
|
||||
#ifdef _USING_MYSQL_CONNECTOR_
|
||||
#include <cppconn/connection.h>
|
||||
#endif
|
||||
|
||||
#ifdef _USING_MYSQL_51_LIB_
|
||||
#include <WinSock2.h>
|
||||
#include <mysql.h> // MySQL C API 头文件
|
||||
#endif
|
||||
|
||||
class MysqlUtils
|
||||
{
|
||||
|
@ -18,11 +26,22 @@ public:
|
|||
static MysqlUtils* getInstance();
|
||||
|
||||
void CloseDatabase();
|
||||
bool OpenDatabase(const std::string& server = "tcp://127.0.0.1:3306", int dbport = 3306, const std::string& dbuser = "root", const std::string& dbpasswd = "Hj57471000", const std::string& database="hjems");
|
||||
bool OpenDatabase(const std::string& server = "127.0.0.1", int dbport = 3306, const std::string& dbuser = "root", const std::string& dbpasswd = "Hj57471000", const std::string& database="hjems");
|
||||
|
||||
|
||||
private:
|
||||
sql::Connection* m_pDbConnection;
|
||||
#ifdef _USING_QT_MYSQL_CONNECTOR_
|
||||
QSqlDatabase m_DbConnection;
|
||||
#endif
|
||||
|
||||
#ifdef _USING_MYSQL_CONNECTOR_
|
||||
sql::Connection* m_DbConnection;
|
||||
#endif
|
||||
|
||||
#ifdef _USING_MYSQL_51_LIB_
|
||||
MYSQL* m_DbConnection;
|
||||
#endif
|
||||
|
||||
static MysqlUtils m_instance;
|
||||
};
|
||||
|
||||
|
|
|
@ -0,0 +1,576 @@
|
|||
/*
|
||||
AMOLED Style Sheet for QT Applications
|
||||
Author: Jaime A. Quiroga P.
|
||||
Company: GTRONICK
|
||||
Last updated: 01/10/2021, 15:49.
|
||||
Available at: https://github.com/GTRONICK/QSS/blob/master/AMOLED.qss
|
||||
*/
|
||||
QMainWindow {
|
||||
background-color:#000000;
|
||||
}
|
||||
QDialog {
|
||||
background-color:#000000;
|
||||
}
|
||||
QColorDialog {
|
||||
background-color:#000000;
|
||||
}
|
||||
QTextEdit {
|
||||
background-color:#000000;
|
||||
color: #a9b7c6;
|
||||
}
|
||||
QPlainTextEdit {
|
||||
selection-background-color:#f39c12;
|
||||
background-color:#000000;
|
||||
border: 1px solid #FF00FF;
|
||||
color: #a9b7c6;
|
||||
}
|
||||
QPushButton{
|
||||
border: 1px transparent;
|
||||
color: #a9b7c6;
|
||||
padding: 2px;
|
||||
background-color: #000000;
|
||||
}
|
||||
QPushButton::default{
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #e67e22;
|
||||
border-width: 1px;
|
||||
color: #a9b7c6;
|
||||
padding: 2px;
|
||||
background-color: #000000;
|
||||
}
|
||||
QPushButton:hover{
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #FF00FF;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-radius: 6px;
|
||||
border-style: solid;
|
||||
color: #FFFFFF;
|
||||
padding-bottom: 2px;
|
||||
background-color: #000000;
|
||||
}
|
||||
QPushButton:pressed{
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #FF00FF;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-radius: 6px;
|
||||
border-style: solid;
|
||||
color: #e67e22;
|
||||
padding-bottom: 1px;
|
||||
background-color: #000000;
|
||||
}
|
||||
QPushButton:disabled{
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-radius: 6px;
|
||||
border-style: solid;
|
||||
color: #808086;
|
||||
padding-bottom: 1px;
|
||||
background-color: #000000;
|
||||
}
|
||||
QToolButton {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #e67e22;
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: #a9b7c6;
|
||||
padding: 2px;
|
||||
background-color: #000000;
|
||||
}
|
||||
QToolButton:hover{
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #e67e22;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-radius: 6px;
|
||||
border-style: solid;
|
||||
color: #FFFFFF;
|
||||
padding-bottom: 1px;
|
||||
background-color: #000000;
|
||||
}
|
||||
QLineEdit {
|
||||
border-width: 1px; border-radius: 4px;
|
||||
border-color: rgb(58, 58, 58);
|
||||
border-style: inset;
|
||||
padding: 0 8px;
|
||||
color: #a9b7c6;
|
||||
background:#000000;
|
||||
selection-background-color:#007b50;
|
||||
selection-color: #FFFFFF;
|
||||
}
|
||||
QLabel {
|
||||
color: #a9b7c6;
|
||||
}
|
||||
QLCDNumber {
|
||||
color: #e67e22;
|
||||
}
|
||||
QProgressBar {
|
||||
text-align: center;
|
||||
color: rgb(240, 240, 240);
|
||||
border-width: 1px;
|
||||
border-radius: 10px;
|
||||
border-color: rgb(58, 58, 58);
|
||||
border-style: inset;
|
||||
background-color:#000000;
|
||||
}
|
||||
QProgressBar::chunk {
|
||||
background-color: #e67e22;
|
||||
border-radius: 5px;
|
||||
}
|
||||
QMenu{
|
||||
background-color:#000000;
|
||||
}
|
||||
QMenuBar {
|
||||
background:rgb(0, 0, 0);
|
||||
color: #a9b7c6;
|
||||
}
|
||||
QMenuBar::item {
|
||||
spacing: 3px;
|
||||
padding: 1px 4px;
|
||||
background: transparent;
|
||||
}
|
||||
QMenuBar::item:selected {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #e67e22;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-radius: 6px;
|
||||
border-style: solid;
|
||||
color: #FFFFFF;
|
||||
padding-bottom: 0px;
|
||||
background-color: #000000;
|
||||
}
|
||||
QMenu::item:selected {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: #e67e22;
|
||||
border-bottom-color: transparent;
|
||||
border-left-width: 2px;
|
||||
color: #FFFFFF;
|
||||
padding-left:15px;
|
||||
padding-top:4px;
|
||||
padding-bottom:4px;
|
||||
padding-right:7px;
|
||||
background-color:#000000;
|
||||
}
|
||||
QMenu::item {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: #a9b7c6;
|
||||
padding-left:17px;
|
||||
padding-top:4px;
|
||||
padding-bottom:4px;
|
||||
padding-right:7px;
|
||||
background-color:#000000;
|
||||
}
|
||||
QTabWidget {
|
||||
color:rgb(0,0,0);
|
||||
background-color:#000000;
|
||||
}
|
||||
QTabWidget::pane {
|
||||
border-color: rgb(77,77,77);
|
||||
background-color:#000000;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
QTabBar::tab {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: #808086;
|
||||
padding: 3px;
|
||||
margin-left:3px;
|
||||
background-color:#000000;
|
||||
}
|
||||
QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #e67e22;
|
||||
border-bottom-width: 2px;
|
||||
border-style: solid;
|
||||
color: #FFFFFF;
|
||||
padding-left: 3px;
|
||||
padding-bottom: 2px;
|
||||
margin-left:3px;
|
||||
background-color:#000000;
|
||||
}
|
||||
|
||||
QCheckBox {
|
||||
color: #a9b7c6;
|
||||
padding: 2px;
|
||||
}
|
||||
QCheckBox:disabled {
|
||||
color: #808086;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QCheckBox:hover {
|
||||
border-radius:4px;
|
||||
border-style:solid;
|
||||
padding-left: 1px;
|
||||
padding-right: 1px;
|
||||
padding-bottom: 1px;
|
||||
padding-top: 1px;
|
||||
border-width:1px;
|
||||
border-color: rgb(87, 97, 106);
|
||||
background-color:#000000;
|
||||
}
|
||||
QCheckBox::indicator:checked {
|
||||
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
border-color: #e67e22;
|
||||
color: #a9b7c6;
|
||||
background-color: #e67e22;
|
||||
}
|
||||
QCheckBox::indicator:unchecked {
|
||||
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
border-color: #e67e22;
|
||||
color: #a9b7c6;
|
||||
background-color: transparent;
|
||||
}
|
||||
QRadioButton {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
padding: 1px;
|
||||
}
|
||||
QRadioButton::indicator:checked {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-radius:5px;
|
||||
border-width: 1px;
|
||||
border-color: #e67e22;
|
||||
color: #a9b7c6;
|
||||
background-color: #e67e22;
|
||||
}
|
||||
QRadioButton::indicator:!checked {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-radius:5px;
|
||||
border-width: 1px;
|
||||
border-color: #e67e22;
|
||||
color: #a9b7c6;
|
||||
background-color: transparent;
|
||||
}
|
||||
QStatusBar {
|
||||
color:#34e8eb;
|
||||
}
|
||||
QSpinBox {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
}
|
||||
QDoubleSpinBox {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
}
|
||||
QTimeEdit {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
}
|
||||
QDateTimeEdit {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
}
|
||||
QDateEdit {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
}
|
||||
QComboBox {
|
||||
color: #a9b7c6;
|
||||
background: #1e1d23;
|
||||
}
|
||||
QComboBox:editable {
|
||||
background: #1e1d23;
|
||||
color: #a9b7c6;
|
||||
selection-background-color:#000000;
|
||||
}
|
||||
QComboBox QAbstractItemView {
|
||||
color: #a9b7c6;
|
||||
background: #1e1d23;
|
||||
selection-color: #FFFFFF;
|
||||
selection-background-color:#000000;
|
||||
}
|
||||
QComboBox:!editable:on, QComboBox::drop-down:editable:on {
|
||||
color: #a9b7c6;
|
||||
background: #1e1d23;
|
||||
}
|
||||
QFontComboBox {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
}
|
||||
QToolBox {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
}
|
||||
QToolBox::tab {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
}
|
||||
QToolBox::tab:selected {
|
||||
color: #FFFFFF;
|
||||
background-color:#000000;
|
||||
}
|
||||
QScrollArea {
|
||||
color: #FFFFFF;
|
||||
background-color:#000000;
|
||||
}
|
||||
QSlider::groove:horizontal {
|
||||
height: 5px;
|
||||
background: #e67e22;
|
||||
}
|
||||
QSlider::groove:vertical {
|
||||
width: 5px;
|
||||
background: #e67e22;
|
||||
}
|
||||
QSlider::handle:horizontal {
|
||||
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
||||
border: 1px solid #5c5c5c;
|
||||
width: 14px;
|
||||
margin: -5px 0;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::handle:vertical {
|
||||
background: qlineargradient(x1:1, y1:1, x2:0, y2:0, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
||||
border: 1px solid #5c5c5c;
|
||||
height: 14px;
|
||||
margin: 0 -5px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::add-page:horizontal {
|
||||
background: white;
|
||||
}
|
||||
QSlider::add-page:vertical {
|
||||
background: white;
|
||||
}
|
||||
QSlider::sub-page:horizontal {
|
||||
background: #e67e22;
|
||||
}
|
||||
QSlider::sub-page:vertical {
|
||||
background: #e67e22;
|
||||
}
|
||||
QScrollBar:horizontal {
|
||||
max-height: 20px;
|
||||
background: rgb(0,0,0);
|
||||
border: 1px transparent grey;
|
||||
margin: 0px 20px 0px 20px;
|
||||
}
|
||||
QScrollBar::handle:horizontal {
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 0, 0, 0), stop:0.7 rgba(255, 0, 0, 0), stop:0.71 rgb(230, 126, 34), stop:1 rgb(230, 126, 34));
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(0,0,0);
|
||||
min-width: 25px;
|
||||
}
|
||||
QScrollBar::handle:horizontal:hover {
|
||||
background: rgb(230, 126, 34);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(0,0,0);
|
||||
min-width: 25px;
|
||||
}
|
||||
QScrollBar::add-line:horizontal {
|
||||
border: 1px solid;
|
||||
border-color: rgb(0,0,0);
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 0, 0, 0), stop:0.7 rgba(255, 0, 0, 0), stop:0.71 rgb(230, 126, 34), stop:1 rgb(230, 126, 34));
|
||||
width: 20px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:horizontal:hover {
|
||||
border: 1px solid;
|
||||
border-color: rgb(0,0,0);
|
||||
border-radius: 8px;
|
||||
background: rgb(230, 126, 34);
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:horizontal:pressed {
|
||||
border: 1px solid;
|
||||
border-color: grey;
|
||||
border-radius: 8px;
|
||||
background: rgb(230, 126, 34);
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal {
|
||||
border: 1px solid;
|
||||
border-color: rgb(0,0,0);
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 0, 0, 0), stop:0.7 rgba(255, 0, 0, 0), stop:0.71 rgb(230, 126, 34), stop:1 rgb(230, 126, 34));
|
||||
width: 20px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal:hover {
|
||||
border: 1px solid;
|
||||
border-color: rgb(0,0,0);
|
||||
border-radius: 8px;
|
||||
background: rgb(230, 126, 34);
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal:pressed {
|
||||
border: 1px solid;
|
||||
border-color: grey;
|
||||
border-radius: 8px;
|
||||
background: rgb(230, 126, 34);
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::left-arrow:horizontal {
|
||||
border: 1px transparent grey;
|
||||
border-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: rgb(0,0,0);
|
||||
}
|
||||
QScrollBar::right-arrow:horizontal {
|
||||
border: 1px transparent grey;
|
||||
border-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: rgb(0,0,0);
|
||||
}
|
||||
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
||||
background: none;
|
||||
}
|
||||
QScrollBar:vertical {
|
||||
max-width: 20px;
|
||||
background: rgb(0,0,0);
|
||||
border: 1px transparent grey;
|
||||
margin: 20px 0px 20px 0px;
|
||||
}
|
||||
QScrollBar::add-line:vertical {
|
||||
border: 1px solid;
|
||||
border-color: rgb(0,0,0);
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 0, 0, 0), stop:0.7 rgba(255, 0, 0, 0), stop:0.71 rgb(230, 126, 34), stop:1 rgb(230, 126, 34));
|
||||
height: 20px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:vertical:hover {
|
||||
border: 1px solid;
|
||||
border-color: rgb(0,0,0);
|
||||
border-radius: 8px;
|
||||
background: rgb(230, 126, 34);
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:vertical:pressed {
|
||||
border: 1px solid;
|
||||
border-color: grey;
|
||||
border-radius: 8px;
|
||||
background: rgb(230, 126, 34);
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical {
|
||||
border: 1px solid;
|
||||
border-color: rgb(0,0,0);
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 0, 0, 0), stop:0.7 rgba(255, 0, 0, 0), stop:0.71 rgb(230, 126, 34), stop:1 rgb(230, 126, 34));
|
||||
height: 20px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical:hover {
|
||||
border: 1px solid;
|
||||
border-color: rgb(0,0,0);
|
||||
border-radius: 8px;
|
||||
background: rgb(230, 126, 34);
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical:pressed {
|
||||
border: 1px solid;
|
||||
border-color: grey;
|
||||
border-radius: 8px;
|
||||
background: rgb(230, 126, 34);
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::handle:vertical {
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 0, 0, 0), stop:0.7 rgba(255, 0, 0, 0), stop:0.71 rgb(230, 126, 34), stop:1 rgb(230, 126, 34));
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(0,0,0);
|
||||
min-height: 25px;
|
||||
}
|
||||
QScrollBar::handle:vertical:hover {
|
||||
background: rgb(230, 126, 34);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(0,0,0);
|
||||
min-heigth: 25px;
|
||||
}
|
||||
QScrollBar::up-arrow:vertical {
|
||||
border: 1px transparent grey;
|
||||
border-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: rgb(0,0,0);
|
||||
}
|
||||
QScrollBar::down-arrow:vertical {
|
||||
border: 1px transparent grey;
|
||||
border-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: rgb(0,0,0);
|
||||
}
|
||||
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
||||
background: none;
|
||||
}
|
|
@ -0,0 +1,559 @@
|
|||
/*
|
||||
Aqua Style Sheet for QT Applications
|
||||
Author: Jaime A. Quiroga P.
|
||||
Company: GTRONICK
|
||||
Last updated: 22/01/2019, 07:55.
|
||||
Available at: https://github.com/GTRONICK/QSS/blob/master/Aqua.qss
|
||||
*/
|
||||
QMainWindow {
|
||||
background-color:#ececec;
|
||||
}
|
||||
QTextEdit {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
QPlainTextEdit {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
QToolButton {
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(0,0,0);
|
||||
padding: 2px;
|
||||
background-color: rgb(255,255,255);
|
||||
}
|
||||
QToolButton:hover{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(195, 195, 195), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(197, 197, 197), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(197, 197, 197));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(195, 195, 195), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(0,0,0);
|
||||
padding: 2px;
|
||||
background-color: rgb(255,255,255);
|
||||
}
|
||||
QToolButton:pressed{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(0,0,0);
|
||||
padding: 2px;
|
||||
background-color: rgb(142,142,142);
|
||||
}
|
||||
QPushButton{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(0,0,0);
|
||||
padding: 2px;
|
||||
background-color: rgb(255,255,255);
|
||||
}
|
||||
QPushButton::default{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(0,0,0);
|
||||
padding: 2px;
|
||||
background-color: rgb(255,255,255);
|
||||
}
|
||||
QPushButton:hover{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(195, 195, 195), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(197, 197, 197), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(197, 197, 197));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(195, 195, 195), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(0,0,0);
|
||||
padding: 2px;
|
||||
background-color: rgb(255,255,255);
|
||||
}
|
||||
QPushButton:pressed{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(0,0,0);
|
||||
padding: 2px;
|
||||
background-color: rgb(142,142,142);
|
||||
}
|
||||
QPushButton:disabled{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: #808086;
|
||||
padding: 2px;
|
||||
background-color: rgb(142,142,142);
|
||||
}
|
||||
QLineEdit {
|
||||
border-width: 1px; border-radius: 4px;
|
||||
border-style: solid;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
QLabel {
|
||||
color: #000000;
|
||||
}
|
||||
QLCDNumber {
|
||||
color: rgb(0, 113, 255, 255);
|
||||
}
|
||||
QProgressBar {
|
||||
text-align: center;
|
||||
color: rgb(240, 240, 240);
|
||||
border-width: 1px;
|
||||
border-radius: 10px;
|
||||
border-color: rgb(230, 230, 230);
|
||||
border-style: solid;
|
||||
background-color:rgb(207,207,207);
|
||||
}
|
||||
QProgressBar::chunk {
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(49, 147, 250, 255), stop:1 rgba(34, 142, 255, 255));
|
||||
border-radius: 10px;
|
||||
}
|
||||
QMenuBar {
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(207, 209, 207, 255), stop:1 rgba(230, 229, 230, 255));
|
||||
}
|
||||
QMenuBar::item {
|
||||
color: #000000;
|
||||
spacing: 3px;
|
||||
padding: 1px 4px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(207, 209, 207, 255), stop:1 rgba(230, 229, 230, 255));
|
||||
}
|
||||
|
||||
QMenuBar::item:selected {
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
color: #FFFFFF;
|
||||
}
|
||||
QMenu::item:selected {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
border-bottom-color: transparent;
|
||||
border-left-width: 2px;
|
||||
color: #000000;
|
||||
padding-left:15px;
|
||||
padding-top:4px;
|
||||
padding-bottom:4px;
|
||||
padding-right:7px;
|
||||
}
|
||||
QMenu::item {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-bottom-width: 1px;
|
||||
color: #000000;
|
||||
padding-left:17px;
|
||||
padding-top:4px;
|
||||
padding-bottom:4px;
|
||||
padding-right:7px;
|
||||
}
|
||||
QTabWidget {
|
||||
color:rgb(0,0,0);
|
||||
background-color:#000000;
|
||||
}
|
||||
QTabWidget::pane {
|
||||
border-color: rgb(223,223,223);
|
||||
background-color:rgb(226,226,226);
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
QTabBar::tab:first {
|
||||
border-style: solid;
|
||||
border-left-width:1px;
|
||||
border-right-width:0px;
|
||||
border-top-width:1px;
|
||||
border-bottom-width:1px;
|
||||
border-top-color: rgb(209,209,209);
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
|
||||
border-bottom-color: rgb(229,229,229);
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
color: #000000;
|
||||
padding: 3px;
|
||||
margin-left:0px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(255, 255, 255, 255));
|
||||
}
|
||||
QTabBar::tab:last {
|
||||
border-style: solid;
|
||||
border-width:1px;
|
||||
border-top-color: rgb(209,209,209);
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
|
||||
border-bottom-color: rgb(229,229,229);
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
color: #000000;
|
||||
padding: 3px;
|
||||
margin-left:0px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(255, 255, 255, 255));
|
||||
}
|
||||
QTabBar::tab {
|
||||
border-style: solid;
|
||||
border-top-width:1px;
|
||||
border-bottom-width:1px;
|
||||
border-left-width:1px;
|
||||
border-top-color: rgb(209,209,209);
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
|
||||
border-bottom-color: rgb(229,229,229);
|
||||
color: #000000;
|
||||
padding: 3px;
|
||||
margin-left:0px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(255, 255, 255, 255));
|
||||
}
|
||||
QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover {
|
||||
border-style: solid;
|
||||
border-left-width:1px;
|
||||
border-right-color: transparent;
|
||||
border-top-color: rgb(209,209,209);
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
|
||||
border-bottom-color: rgb(229,229,229);
|
||||
color: #FFFFFF;
|
||||
padding: 3px;
|
||||
margin-left:0px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
|
||||
QTabBar::tab:selected, QTabBar::tab:first:selected, QTabBar::tab:hover {
|
||||
border-style: solid;
|
||||
border-left-width:1px;
|
||||
border-bottom-width:1px;
|
||||
border-top-width:1px;
|
||||
border-right-color: transparent;
|
||||
border-top-color: rgb(209,209,209);
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(209, 209, 209, 209), stop:1 rgba(229, 229, 229, 229));
|
||||
border-bottom-color: rgb(229,229,229);
|
||||
color: #FFFFFF;
|
||||
padding: 3px;
|
||||
margin-left:0px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
|
||||
QCheckBox {
|
||||
color: #000000;
|
||||
padding: 2px;
|
||||
}
|
||||
QCheckBox:disabled {
|
||||
color: #808086;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QCheckBox:hover {
|
||||
border-radius:4px;
|
||||
border-style:solid;
|
||||
padding-left: 1px;
|
||||
padding-right: 1px;
|
||||
padding-bottom: 1px;
|
||||
padding-top: 1px;
|
||||
border-width:1px;
|
||||
border-color: transparent;
|
||||
}
|
||||
QCheckBox::indicator:checked {
|
||||
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
color: #000000;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
QCheckBox::indicator:unchecked {
|
||||
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
color: #000000;
|
||||
}
|
||||
QRadioButton {
|
||||
color: 000000;
|
||||
padding: 1px;
|
||||
}
|
||||
QRadioButton::indicator:checked {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-radius:5px;
|
||||
border-width: 1px;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
color: #a9b7c6;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
QRadioButton::indicator:!checked {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-radius:5px;
|
||||
border-width: 1px;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
color: #a9b7c6;
|
||||
background-color: transparent;
|
||||
}
|
||||
QStatusBar {
|
||||
color:#027f7f;
|
||||
}
|
||||
QSpinBox {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
QDoubleSpinBox {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
QTimeEdit {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
QDateTimeEdit {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
QDateEdit {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(0, 113, 255, 255), stop:1 rgba(91, 171, 252, 255));
|
||||
}
|
||||
|
||||
QToolBox {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
}
|
||||
QToolBox::tab {
|
||||
color: #a9b7c6;
|
||||
background-color:#000000;
|
||||
}
|
||||
QToolBox::tab:selected {
|
||||
color: #FFFFFF;
|
||||
background-color:#000000;
|
||||
}
|
||||
QScrollArea {
|
||||
color: #FFFFFF;
|
||||
background-color:#000000;
|
||||
}
|
||||
QSlider::groove:horizontal {
|
||||
height: 5px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(49, 147, 250, 255), stop:1 rgba(34, 142, 255, 255));
|
||||
}
|
||||
QSlider::groove:vertical {
|
||||
width: 5px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(49, 147, 250, 255), stop:1 rgba(34, 142, 255, 255));
|
||||
}
|
||||
QSlider::handle:horizontal {
|
||||
background: rgb(253,253,253);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
width: 12px;
|
||||
margin: -5px 0;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::handle:vertical {
|
||||
background: rgb(253,253,253);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
height: 12px;
|
||||
margin: 0 -5px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::add-page:horizontal {
|
||||
background: rgb(181,181,181);
|
||||
}
|
||||
QSlider::add-page:vertical {
|
||||
background: rgb(181,181,181);
|
||||
}
|
||||
QSlider::sub-page:horizontal {
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(49, 147, 250, 255), stop:1 rgba(34, 142, 255, 255));
|
||||
}
|
||||
QSlider::sub-page:vertical {
|
||||
background-color: qlineargradient(spread:pad, y1:0.5, x1:1, y2:0.5, x2:0, stop:0 rgba(49, 147, 250, 255), stop:1 rgba(34, 142, 255, 255));
|
||||
}
|
||||
QScrollBar:horizontal {
|
||||
max-height: 20px;
|
||||
border: 1px transparent grey;
|
||||
margin: 0px 20px 0px 20px;
|
||||
}
|
||||
QScrollBar:vertical {
|
||||
max-width: 20px;
|
||||
border: 1px transparent grey;
|
||||
margin: 20px 0px 20px 0px;
|
||||
}
|
||||
QScrollBar::handle:horizontal {
|
||||
background: rgb(253,253,253);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
border-radius: 7px;
|
||||
min-width: 25px;
|
||||
}
|
||||
QScrollBar::handle:horizontal:hover {
|
||||
background: rgb(253,253,253);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(147, 200, 200);
|
||||
border-radius: 7px;
|
||||
min-width: 25px;
|
||||
}
|
||||
QScrollBar::handle:vertical {
|
||||
background: rgb(253,253,253);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
border-radius: 7px;
|
||||
min-height: 25px;
|
||||
}
|
||||
QScrollBar::handle:vertical:hover {
|
||||
background: rgb(253,253,253);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(147, 200, 200);
|
||||
border-radius: 7px;
|
||||
min-height: 25px;
|
||||
}
|
||||
QScrollBar::add-line:horizontal {
|
||||
border: 2px transparent grey;
|
||||
border-top-right-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
background: rgba(34, 142, 255, 255);
|
||||
width: 20px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:horizontal:pressed {
|
||||
border: 2px transparent grey;
|
||||
border-top-right-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
background: rgb(181,181,181);
|
||||
width: 20px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:vertical {
|
||||
border: 2px transparent grey;
|
||||
border-bottom-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
background: rgba(34, 142, 255, 255);
|
||||
height: 20px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:vertical:pressed {
|
||||
border: 2px transparent grey;
|
||||
border-bottom-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
background: rgb(181,181,181);
|
||||
height: 20px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal {
|
||||
border: 2px transparent grey;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
background: rgba(34, 142, 255, 255);
|
||||
width: 20px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal:pressed {
|
||||
border: 2px transparent grey;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
background: rgb(181,181,181);
|
||||
width: 20px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical {
|
||||
border: 2px transparent grey;
|
||||
border-top-left-radius: 7px;
|
||||
border-top-right-radius: 7px;
|
||||
background: rgba(34, 142, 255, 255);
|
||||
height: 20px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical:pressed {
|
||||
border: 2px transparent grey;
|
||||
border-top-left-radius: 7px;
|
||||
border-top-right-radius: 7px;
|
||||
background: rgb(181,181,181);
|
||||
height: 20px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::left-arrow:horizontal {
|
||||
border: 1px transparent grey;
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: white;
|
||||
}
|
||||
QScrollBar::right-arrow:horizontal {
|
||||
border: 1px transparent grey;
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: white;
|
||||
}
|
||||
QScrollBar::up-arrow:vertical {
|
||||
border: 1px transparent grey;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: white;
|
||||
}
|
||||
QScrollBar::down-arrow:vertical {
|
||||
border: 1px transparent grey;
|
||||
border-bottom-left-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: white;
|
||||
}
|
||||
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
||||
background: none;
|
||||
}
|
||||
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
||||
background: none;
|
||||
}
|
|
@ -0,0 +1,181 @@
|
|||
/*
|
||||
Dark Console Style Sheet for QT Applications
|
||||
Author: Jaime A. Quiroga P.
|
||||
Company: GTRONICK
|
||||
Last updated: 24/05/2018, 17:12.
|
||||
Available at: https://github.com/GTRONICK/QSS/blob/master/ConsoleStyle.qss
|
||||
*/
|
||||
QWidget {
|
||||
background-color:rgb(0, 0, 0);
|
||||
color: rgb(240, 240, 240);
|
||||
border-color: rgb(58, 58, 58);
|
||||
}
|
||||
|
||||
QPlainTextEdit {
|
||||
background-color:rgb(0, 0, 0);
|
||||
color: rgb(200, 200, 200);
|
||||
selection-background-color: rgb(255, 153, 0);
|
||||
selection-color: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
QTabWidget::pane {
|
||||
border-top: 1px solid #000000;
|
||||
}
|
||||
|
||||
QTabBar::tab {
|
||||
background-color:rgb(0, 0, 0);
|
||||
border-style: outset;
|
||||
border-width: 1px;
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-bottom-color: rgb(58, 58, 58);
|
||||
border-bottom-width: 1px;
|
||||
border-top-width: 0px;
|
||||
border-style: solid;
|
||||
color: rgb(255, 153, 0);
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
QTabBar::tab:selected, QTabBar::tab:hover {
|
||||
color: rgb(255, 255, 255);
|
||||
background-color:rgb(0, 0, 0);
|
||||
border-color:rgb(42, 42, 42);
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
border-bottom-right-radius:4px;
|
||||
border-bottom-left-radius:4px;
|
||||
}
|
||||
|
||||
QTabBar::tab:last:selected {
|
||||
background-color:rgb(0, 0, 0);
|
||||
border-color:rgb(42, 42, 42);
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
border-bottom-right-radius:4px;
|
||||
border-bottom-left-radius:4px;
|
||||
}
|
||||
|
||||
QTabBar::tab:!selected {
|
||||
margin-bottom: 4px;
|
||||
border-bottom-right-radius:4px;
|
||||
border-bottom-left-radius:4px;
|
||||
}
|
||||
|
||||
QPushButton{
|
||||
border-style: outset;
|
||||
border-width: 2px;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:0.6, x2:0.5, y2:0.4, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-bottom-color: rgb(58, 58, 58);
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 6px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(77, 77, 77, 255), stop:1 rgba(97, 97, 97, 255));
|
||||
}
|
||||
|
||||
QPushButton:hover{
|
||||
border-style: outset;
|
||||
border-width: 2px;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:0.6, x2:0.5, y2:0.4, stop:0 rgba(180, 180, 180, 255), stop:1 rgba(110, 110, 110, 255));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(180, 180, 180, 255), stop:1 rgba(110, 110, 110, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(180, 180, 180, 255), stop:1 rgba(110, 110, 110, 255));
|
||||
border-bottom-color: rgb(115, 115, 115);
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 6px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(107, 107, 107, 255), stop:1 rgba(157, 157, 157, 255));
|
||||
}
|
||||
|
||||
QPushButton:pressed{
|
||||
border-style: outset;
|
||||
border-width: 2px;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:0.6, x2:0.5, y2:0.4, stop:0 rgba(62, 62, 62, 255), stop:1 rgba(22, 22, 22, 255));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-bottom-color: rgb(58, 58, 58);
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 6px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(77, 77, 77, 255), stop:1 rgba(97, 97, 97, 255));
|
||||
}
|
||||
|
||||
QPushButton:disabled{
|
||||
border-style: outset;
|
||||
border-width: 2px;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:0.6, x2:0.5, y2:0.4, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-bottom-color: rgb(58, 58, 58);
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: rgb(0, 0, 0);
|
||||
padding: 6px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(57, 57, 57, 255), stop:1 rgba(77, 77, 77, 255));
|
||||
}
|
||||
|
||||
QLineEdit {
|
||||
border-width: 1px; border-radius: 4px;
|
||||
border-color: rgb(58, 58, 58);
|
||||
border-style: inset;
|
||||
padding: 0 8px;
|
||||
color: rgb(255, 255, 255);
|
||||
background:rgb(101, 101, 101);
|
||||
selection-background-color: rgb(187, 187, 187);
|
||||
selection-color: rgb(60, 63, 65);
|
||||
}
|
||||
|
||||
QProgressBar {
|
||||
text-align: center;
|
||||
color: rgb(255, 255, 255);
|
||||
border-width: 1px;
|
||||
border-radius: 10px;
|
||||
border-color: rgb(58, 58, 58);
|
||||
border-style: inset;
|
||||
}
|
||||
|
||||
QProgressBar::chunk {
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0.7, x2:0.5, y2:0.3, stop:0 rgba(0, 200, 0, 255), stop:1 rgba(30, 230, 30, 255));
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
QMenuBar {
|
||||
background:rgb(0, 0, 0);
|
||||
color: rgb(255, 153, 0);
|
||||
}
|
||||
|
||||
QMenuBar::item {
|
||||
spacing: 3px;
|
||||
padding: 1px 4px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
QMenuBar::item:selected {
|
||||
background:rgb(115, 115, 115);
|
||||
}
|
||||
|
||||
QMenu {
|
||||
border-width: 2px;
|
||||
border-radius: 10px;
|
||||
border-color: rgb(255, 153, 0);
|
||||
border-style: outset;
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
spacing: 3px;
|
||||
padding: 3px 15px;
|
||||
}
|
||||
|
||||
QMenu::item:selected {
|
||||
spacing: 3px;
|
||||
padding: 3px 15px;
|
||||
background:rgb(115, 115, 115);
|
||||
color:rgb(255, 255, 255);
|
||||
border-width: 1px;
|
||||
border-radius: 10px;
|
||||
border-color: rgb(58, 58, 58);
|
||||
border-style: inset;
|
||||
}
|
|
@ -0,0 +1,196 @@
|
|||
/*
|
||||
ElegantDark Style Sheet for QT Applications
|
||||
Author: Jaime A. Quiroga P.
|
||||
Company: GTRONICK
|
||||
Last updated: 17/04/2018
|
||||
Available at: https://github.com/GTRONICK/QSS/blob/master/ElegantDark.qss
|
||||
*/
|
||||
QMainWindow {
|
||||
background-color:rgb(82, 82, 82);
|
||||
}
|
||||
QTextEdit {
|
||||
background-color:rgb(42, 42, 42);
|
||||
color: rgb(0, 255, 0);
|
||||
}
|
||||
QPushButton{
|
||||
border-style: outset;
|
||||
border-width: 2px;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:0.6, x2:0.5, y2:0.4, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-bottom-color: rgb(58, 58, 58);
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 2px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(77, 77, 77, 255), stop:1 rgba(97, 97, 97, 255));
|
||||
}
|
||||
QPushButton:hover{
|
||||
border-style: outset;
|
||||
border-width: 2px;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:0.6, x2:0.5, y2:0.4, stop:0 rgba(180, 180, 180, 255), stop:1 rgba(110, 110, 110, 255));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(180, 180, 180, 255), stop:1 rgba(110, 110, 110, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(180, 180, 180, 255), stop:1 rgba(110, 110, 110, 255));
|
||||
border-bottom-color: rgb(115, 115, 115);
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 2px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(107, 107, 107, 255), stop:1 rgba(157, 157, 157, 255));
|
||||
}
|
||||
QPushButton:pressed{
|
||||
border-style: outset;
|
||||
border-width: 2px;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:0.6, x2:0.5, y2:0.4, stop:0 rgba(62, 62, 62, 255), stop:1 rgba(22, 22, 22, 255));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-bottom-color: rgb(58, 58, 58);
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 2px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(77, 77, 77, 255), stop:1 rgba(97, 97, 97, 255));
|
||||
}
|
||||
QPushButton:disabled{
|
||||
border-style: outset;
|
||||
border-width: 2px;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:0.6, x2:0.5, y2:0.4, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-bottom-color: rgb(58, 58, 58);
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: rgb(0, 0, 0);
|
||||
padding: 2px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(57, 57, 57, 255), stop:1 rgba(77, 77, 77, 255));
|
||||
}
|
||||
QLineEdit {
|
||||
border-width: 1px; border-radius: 4px;
|
||||
border-color: rgb(58, 58, 58);
|
||||
border-style: inset;
|
||||
padding: 0 8px;
|
||||
color: rgb(255, 255, 255);
|
||||
background:rgb(100, 100, 100);
|
||||
selection-background-color: rgb(187, 187, 187);
|
||||
selection-color: rgb(60, 63, 65);
|
||||
}
|
||||
QLabel {
|
||||
color:rgb(255,255,255);
|
||||
}
|
||||
QProgressBar {
|
||||
text-align: center;
|
||||
color: rgb(240, 240, 240);
|
||||
border-width: 1px;
|
||||
border-radius: 10px;
|
||||
border-color: rgb(58, 58, 58);
|
||||
border-style: inset;
|
||||
background-color:rgb(77,77,77);
|
||||
}
|
||||
QProgressBar::chunk {
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0.7, x2:0.5, y2:0.3, stop:0 rgba(87, 97, 106, 255), stop:1 rgba(93, 103, 113, 255));
|
||||
border-radius: 5px;
|
||||
}
|
||||
QMenuBar {
|
||||
background:rgb(82, 82, 82);
|
||||
}
|
||||
QMenuBar::item {
|
||||
color:rgb(223,219,210);
|
||||
spacing: 3px;
|
||||
padding: 1px 4px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
QMenuBar::item:selected {
|
||||
background:rgb(115, 115, 115);
|
||||
}
|
||||
QMenu::item:selected {
|
||||
color:rgb(255,255,255);
|
||||
border-width:2px;
|
||||
border-style:solid;
|
||||
padding-left:18px;
|
||||
padding-right:8px;
|
||||
padding-top:2px;
|
||||
padding-bottom:3px;
|
||||
background:qlineargradient(spread:pad, x1:0.5, y1:0.7, x2:0.5, y2:0.3, stop:0 rgba(87, 97, 106, 255), stop:1 rgba(93, 103, 113, 255));
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:0.6, x2:0.5, y2:0.4, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(62, 62, 62, 255));
|
||||
border-bottom-color: rgb(58, 58, 58);
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
QMenu::item {
|
||||
color:rgb(223,219,210);
|
||||
background-color:rgb(78,78,78);
|
||||
padding-left:20px;
|
||||
padding-top:4px;
|
||||
padding-bottom:4px;
|
||||
padding-right:10px;
|
||||
}
|
||||
QMenu{
|
||||
background-color:rgb(78,78,78);
|
||||
}
|
||||
QTabWidget {
|
||||
color:rgb(0,0,0);
|
||||
background-color:rgb(247,246,246);
|
||||
}
|
||||
QTabWidget::pane {
|
||||
border-color: rgb(77,77,77);
|
||||
background-color:rgb(101,101,101);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
QTabBar::tab {
|
||||
padding:2px;
|
||||
color:rgb(250,250,250);
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(77, 77, 77, 255), stop:1 rgba(97, 97, 97, 255));
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
border-top-right-radius:4px;
|
||||
border-top-left-radius:4px;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:0.6, x2:0.5, y2:0.4, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(95, 92, 93, 255));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0.4, y1:0.5, x2:0.6, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(95, 92, 93, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0.6, y1:0.5, x2:0.4, y2:0.5, stop:0 rgba(115, 115, 115, 255), stop:1 rgba(95, 92, 93, 255));
|
||||
border-bottom-color: rgb(101,101,101);
|
||||
}
|
||||
QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover {
|
||||
background-color:rgb(101,101,101);
|
||||
margin-left: 0px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
QTabBar::tab:!selected {
|
||||
margin-top: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
QCheckBox {
|
||||
color:rgb(223,219,210);
|
||||
padding: 2px;
|
||||
}
|
||||
QCheckBox:hover {
|
||||
border-radius:4px;
|
||||
border-style:solid;
|
||||
padding-left: 1px;
|
||||
padding-right: 1px;
|
||||
padding-bottom: 1px;
|
||||
padding-top: 1px;
|
||||
border-width:1px;
|
||||
border-color: rgb(87, 97, 106);
|
||||
background-color:qlineargradient(spread:pad, x1:0.5, y1:0.7, x2:0.5, y2:0.3, stop:0 rgba(87, 97, 106, 150), stop:1 rgba(93, 103, 113, 150));
|
||||
}
|
||||
QCheckBox::indicator:checked {
|
||||
border-radius:4px;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
border-color: rgb(180,180,180);
|
||||
background-color:qlineargradient(spread:pad, x1:0.5, y1:0.7, x2:0.5, y2:0.3, stop:0 rgba(87, 97, 106, 255), stop:1 rgba(93, 103, 113, 255));
|
||||
}
|
||||
QCheckBox::indicator:unchecked {
|
||||
border-radius:4px;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
border-color: rgb(87, 97, 106);
|
||||
background-color:rgb(255,255,255);
|
||||
}
|
||||
QStatusBar {
|
||||
color:rgb(240,240,240);
|
||||
}
|
|
@ -0,0 +1,434 @@
|
|||
/*
|
||||
* MacOS Style Sheet for QT Applications
|
||||
* Author: Jaime A. Quiroga P.
|
||||
* Company: GTRONICK
|
||||
* Last updated: 25/12/2020, 23:10.
|
||||
* Available at: https://github.com/GTRONICK/QSS/blob/master/MacOS.qss
|
||||
*/
|
||||
QMainWindow {
|
||||
background-color:#ececec;
|
||||
}
|
||||
QPushButton, QToolButton, QCommandLinkButton{
|
||||
padding: 0 5px 0 5px;
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
border-right-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
border-width: 2px;
|
||||
border-radius: 8px;
|
||||
color: #616161;
|
||||
font-weight: bold;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #fbfdfd, stop:0.5 #ffffff, stop:1 #fbfdfd);
|
||||
}
|
||||
QPushButton::default, QToolButton::default, QCommandLinkButton::default{
|
||||
border: 2px solid transparent;
|
||||
color: #FFFFFF;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #84afe5, stop:1 #1168e4);
|
||||
}
|
||||
QPushButton:hover, QToolButton:hover, QCommandLinkButton:hover{
|
||||
color: #3d3d3d;
|
||||
}
|
||||
QPushButton:pressed, QToolButton:pressed, QCommandLinkButton:pressed{
|
||||
color: #aeaeae;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #ffffff, stop:0.5 #fbfdfd, stop:1 #ffffff);
|
||||
}
|
||||
QPushButton:disabled, QToolButton:disabled, QCommandLinkButton:disabled{
|
||||
color: #616161;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #dce7eb, stop:0.5 #e0e8eb, stop:1 #dee7ec);
|
||||
}
|
||||
QLineEdit, QTextEdit, QPlainTextEdit, QSpinBox, QDoubleSpinBox, QTimeEdit, QDateEdit, QDateTimeEdit {
|
||||
border-width: 2px;
|
||||
border-radius: 8px;
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
background-color: #f4f4f4;
|
||||
color: #3d3d3d;
|
||||
}
|
||||
QLineEdit:focus, QTextEdit:focus, QPlainTextEdit:focus, QSpinBox:focus, QDoubleSpinBox:focus, QTimeEdit:focus, QDateEdit:focus, QDateTimeEdit:focus {
|
||||
border-width: 2px;
|
||||
border-radius: 8px;
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 #85b7e3, stop:1 #9ec1db);
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #85b7e3, stop:1 #9ec1db);
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #85b7e3, stop:1 #9ec1db);
|
||||
border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 #85b7e3, stop:1 #9ec1db);
|
||||
background-color: #f4f4f4;
|
||||
color: #3d3d3d;
|
||||
}
|
||||
QLineEdit:disabled, QTextEdit:disabled, QPlainTextEdit:disabled, QSpinBox:disabled, QDoubleSpinBox:disabled, QTimeEdit:disabled, QDateEdit:disabled, QDateTimeEdit:disabled {
|
||||
color: #b9b9b9;
|
||||
}
|
||||
QSpinBox::up-button, QDoubleSpinBox::up-button, QTimeEdit::up-button, QDateEdit::up-button, QDateTimeEdit::up-button {
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: top right;
|
||||
width: 15px;
|
||||
color: #272727;
|
||||
border-left-width: 1px;
|
||||
border-left-color: darkgray;
|
||||
border-left-style: solid;
|
||||
border-top-right-radius: 3px;
|
||||
padding: 3px;
|
||||
}
|
||||
QSpinBox::down-button, QDoubleSpinBox::down-button, QTimeEdit::down-button, QDateEdit::down-button, QDateTimeEdit::down-button {
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: bottom right;
|
||||
width: 15px;
|
||||
color: #272727;
|
||||
border-left-width: 1px;
|
||||
border-left-color: darkgray;
|
||||
border-left-style: solid;
|
||||
border-bottom-right-radius: 3px;
|
||||
padding: 3px;
|
||||
}
|
||||
QSpinBox::up-button:pressed, QDoubleSpinBox::up-button:pressed, QTimeEdit::up-button:pressed, QDateEdit::up-button:pressed, QDateTimeEdit::up-button:pressed {
|
||||
color: #aeaeae;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #ffffff, stop:0.5 #fbfdfd, stop:1 #ffffff);
|
||||
}
|
||||
QSpinBox::down-button:pressed, QDoubleSpinBox::down-button:pressed, QTimeEdit::down-button:pressed, QDateEdit::down-button:pressed, QDateTimeEdit::down-button:pressed {
|
||||
color: #aeaeae;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #ffffff, stop:0.5 #fbfdfd, stop:1 #ffffff);
|
||||
}
|
||||
QSpinBox::up-button:hover, QDoubleSpinBox::up-button:hover, QTimeEdit::up-button:hover, QDateEdit::up-button:hover, QDateTimeEdit::up-button:hover {
|
||||
color: #FFFFFF;
|
||||
border-top-right-radius: 5px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #84afe5, stop:1 #1168e4);
|
||||
|
||||
}
|
||||
QSpinBox::down-button:hover, QDoubleSpinBox::down-button:hover, QTimeEdit::down-button:hover, QDateEdit::down-button:hover, QDateTimeEdit::down-button:hover {
|
||||
color: #FFFFFF;
|
||||
border-bottom-right-radius: 5px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #84afe5, stop:1 #1168e4);
|
||||
}
|
||||
QSpinBox::up-arrow, QDoubleSpinBox::up-arrow, QTimeEdit::up-arrow, QDateEdit::up-arrow, QDateTimeEdit::up-arrow {
|
||||
image: url(/usr/share/icons/Adwaita/16x16/actions/go-up-symbolic.symbolic.png);
|
||||
}
|
||||
QSpinBox::down-arrow, QDoubleSpinBox::down-arrow, QTimeEdit::down-arrow, QDateEdit::down-arrow, QDateTimeEdit::down-arrow {
|
||||
image: url(/usr/share/icons/Adwaita/16x16/actions/go-down-symbolic.symbolic.png);
|
||||
}
|
||||
QProgressBar {
|
||||
max-height: 8px;
|
||||
text-align: center;
|
||||
font: italic bold 11px;
|
||||
color: #3d3d3d;
|
||||
border: 1px solid transparent;
|
||||
border-radius:4px;
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #ddd5d5, stop:0.5 #dad3d3, stop:1 #ddd5d5);
|
||||
}
|
||||
QProgressBar::chunk {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #467dd1, stop:0.5 #3b88fc, stop:1 #467dd1);
|
||||
border-radius: 4px;
|
||||
}
|
||||
QProgressBar:disabled {
|
||||
color: #616161;
|
||||
}
|
||||
QProgressBar::chunk:disabled {
|
||||
background-color: #aeaeae;
|
||||
}
|
||||
QSlider::groove {
|
||||
border: 1px solid #bbbbbb;
|
||||
background-color: #52595d;
|
||||
border-radius: 4px;
|
||||
}
|
||||
QSlider::groove:horizontal {
|
||||
height: 6px;
|
||||
}
|
||||
QSlider::groove:vertical {
|
||||
width: 6px;
|
||||
}
|
||||
QSlider::handle:horizontal {
|
||||
background: #ffffff;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
width: 12px;
|
||||
margin: -5px 0;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::handle:vertical {
|
||||
background: #ffffff;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
height: 12px;
|
||||
margin: 0 -5px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::add-page, QSlider::sub-page {
|
||||
border: 1px transparent;
|
||||
background-color: #52595d;
|
||||
border-radius: 4px;
|
||||
}
|
||||
QSlider::add-page:horizontal {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #ddd5d5, stop:0.5 #dad3d3, stop:1 #ddd5d5);
|
||||
}
|
||||
QSlider::sub-page:horizontal {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #467dd1, stop:0.5 #3b88fc, stop:1 #467dd1);
|
||||
}
|
||||
QSlider::add-page:vertical {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #467dd1, stop:0.5 #3b88fc, stop:1 #467dd1);
|
||||
}
|
||||
QSlider::sub-page:vertical {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #ddd5d5, stop:0.5 #dad3d3, stop:1 #ddd5d5);
|
||||
}
|
||||
QSlider::add-page:horizontal:disabled, QSlider::sub-page:horizontal:disabled, QSlider::add-page:vertical:disabled, QSlider::sub-page:vertical:disabled {
|
||||
background: #b9b9b9;
|
||||
}
|
||||
QComboBox, QFontComboBox {
|
||||
border-width: 2px;
|
||||
border-radius: 8px;
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 #c1c9cf, stop:1 #d2d8dd);
|
||||
background-color: #f4f4f4;
|
||||
color: #272727;
|
||||
padding-left: 5px;
|
||||
}
|
||||
QComboBox:editable, QComboBox:!editable, QComboBox::drop-down:editable, QComboBox:!editable:on, QComboBox::drop-down:editable:on {
|
||||
background: #ffffff;
|
||||
}
|
||||
QComboBox::drop-down {
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: top right;
|
||||
width: 15px;
|
||||
color: #272727;
|
||||
border-left-width: 1px;
|
||||
border-left-color: darkgray;
|
||||
border-left-style: solid;
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
QComboBox::down-arrow {
|
||||
image: url(/usr/share/icons/Adwaita/16x16/actions/go-down-symbolic.symbolic.png); /*Adawaita icon thene*/
|
||||
}
|
||||
|
||||
QComboBox::down-arrow:on {
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
}
|
||||
QComboBox QAbstractItemView {
|
||||
border: 1px solid darkgray;
|
||||
border-radius: 8px;
|
||||
selection-background-color: #dadada;
|
||||
selection-color: #272727;
|
||||
color: #272727;
|
||||
background: white;
|
||||
}
|
||||
QLabel, QCheckBox, QRadioButton {
|
||||
color: #272727;
|
||||
}
|
||||
QCheckBox {
|
||||
padding: 2px;
|
||||
}
|
||||
QCheckBox:disabled, QRadioButton:disabled {
|
||||
color: #808086;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QCheckBox:hover {
|
||||
border-radius:4px;
|
||||
border-style:solid;
|
||||
padding-left: 1px;
|
||||
padding-right: 1px;
|
||||
padding-bottom: 1px;
|
||||
padding-top: 1px;
|
||||
border-width:1px;
|
||||
border-color: transparent;
|
||||
}
|
||||
QCheckBox::indicator:checked {
|
||||
image: url(/usr/share/icons/Adwaita/16x16/actions/object-select-symbolic.symbolic.png);
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
border-color: #48a5fd;
|
||||
color: #ffffff;
|
||||
border-radius: 3px;
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #48a5fd, stop:0.5 #329cfb, stop:1 #48a5fd);
|
||||
}
|
||||
QCheckBox::indicator:unchecked {
|
||||
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
border-color: #48a5fd;
|
||||
border-radius: 3px;
|
||||
background-color: #fbfdfa;
|
||||
}
|
||||
QLCDNumber {
|
||||
color: #616161;;
|
||||
}
|
||||
QMenuBar {
|
||||
background-color: #ececec;
|
||||
}
|
||||
QMenuBar::item {
|
||||
color: #616161;
|
||||
spacing: 3px;
|
||||
padding: 1px 4px;
|
||||
background-color: #ececec;
|
||||
}
|
||||
|
||||
QMenuBar::item:selected {
|
||||
background-color: #dadada;
|
||||
color: #3d3d3d;
|
||||
}
|
||||
QMenu {
|
||||
background-color: #ececec;
|
||||
}
|
||||
QMenu::item:selected {
|
||||
background-color: #dadada;
|
||||
color: #3d3d3d;
|
||||
}
|
||||
QMenu::item {
|
||||
color: #616161;;
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
QTabWidget {
|
||||
color:rgb(0,0,0);
|
||||
background-color:#000000;
|
||||
}
|
||||
QTabWidget::pane {
|
||||
border-color: #050a0e;
|
||||
background-color: #e0e0e0;
|
||||
border-width: 1px;
|
||||
border-radius: 4px;
|
||||
position: absolute;
|
||||
top: -0.5em;
|
||||
padding-top: 0.5em;
|
||||
}
|
||||
|
||||
QTabWidget::tab-bar {
|
||||
alignment: center;
|
||||
}
|
||||
|
||||
QTabBar::tab {
|
||||
border-bottom: 1px solid #c0c0c0;
|
||||
padding: 3px;
|
||||
color: #272727;
|
||||
background-color: #fefefc;
|
||||
margin-left:0px;
|
||||
}
|
||||
QTabBar::tab:!last {
|
||||
border-right: 1px solid;
|
||||
border-right-color: #c0c0c0;
|
||||
border-bottom-color: #c0c0c0;
|
||||
}
|
||||
QTabBar::tab:first {
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
QTabBar::tab:last {
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover {
|
||||
color: #FFFFFF;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #84afe5, stop:1 #1168e4);
|
||||
}
|
||||
QRadioButton::indicator {
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
border-style:solid;
|
||||
border-radius:7px;
|
||||
border-width: 1px;
|
||||
}
|
||||
QRadioButton::indicator:checked {
|
||||
border-color: #48a5fd;
|
||||
background-color: qradialgradient(cx:0.5, cy:0.5, radius:0.4,fx:0.5, fy:0.5, stop:0 #ffffff, stop:0.5 #ffffff, stop:0.6 #48a5fd, stop:1 #48a5fd);
|
||||
}
|
||||
QRadioButton::indicator:!checked {
|
||||
border-color: #a9b7c6;
|
||||
background-color: #fbfdfa;
|
||||
}
|
||||
QStatusBar {
|
||||
color:#027f7f;
|
||||
}
|
||||
|
||||
QDial {
|
||||
background: #16a085;
|
||||
}
|
||||
|
||||
QToolBox {
|
||||
color: #a9b7c6;
|
||||
background-color: #222b2e;
|
||||
}
|
||||
QToolBox::tab {
|
||||
color: #a9b7c6;
|
||||
background-color:#222b2e;
|
||||
}
|
||||
QToolBox::tab:selected {
|
||||
color: #FFFFFF;
|
||||
background-color:#222b2e;
|
||||
}
|
||||
QScrollArea {
|
||||
color: #FFFFFF;
|
||||
background-color:#222b2e;
|
||||
}
|
||||
|
||||
QScrollBar:horizontal {
|
||||
max-height: 10px;
|
||||
border: 1px transparent grey;
|
||||
margin: 0px 20px 0px 20px;
|
||||
background: transparent;
|
||||
}
|
||||
QScrollBar:vertical {
|
||||
max-width: 10px;
|
||||
border: 1px transparent grey;
|
||||
margin: 20px 0px 20px 0px;
|
||||
background: transparent;
|
||||
}
|
||||
QScrollBar::handle:vertical, QScrollBar::handle:horizontal {
|
||||
background: #52595d;
|
||||
border-style: transparent;
|
||||
border-radius: 4px;
|
||||
min-height: 25px;
|
||||
}
|
||||
QScrollBar::handle:horizontal:hover, QScrollBar::handle:vertical:hover {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #467dd1, stop:0.5 #3b88fc, stop:1 #467dd1);
|
||||
}
|
||||
QScrollBar::add-line, QScrollBar::sub-line {
|
||||
border: 2px transparent grey;
|
||||
border-radius: 4px;
|
||||
subcontrol-origin: margin;
|
||||
background: #b9b9b9;
|
||||
}
|
||||
QScrollBar::add-line:horizontal {
|
||||
width: 20px;
|
||||
subcontrol-position: right;
|
||||
}
|
||||
QScrollBar::add-line:vertical {
|
||||
height: 20px;
|
||||
subcontrol-position: bottom;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal {
|
||||
width: 20px;
|
||||
subcontrol-position: left;
|
||||
}
|
||||
QScrollBar::sub-line:vertical {
|
||||
height: 20px;
|
||||
subcontrol-position: top;
|
||||
}
|
||||
QScrollBar::add-line:vertical:pressed, QScrollBar::add-line:horizontal:pressed, QScrollBar::sub-line:horizontal:pressed, QScrollBar::sub-line:vertical:pressed {
|
||||
background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #467dd1, stop:0.5 #3b88fc, stop:1 #467dd1);
|
||||
}
|
||||
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal, QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
||||
background: none;
|
||||
}
|
||||
QScrollBar::up-arrow:vertical {
|
||||
image: url(/usr/share/icons/Adwaita/16x16/actions/go-up-symbolic.symbolic.png);
|
||||
}
|
||||
QScrollBar::down-arrow:vertical {
|
||||
image: url(/usr/share/icons/Adwaita/16x16/actions/go-down-symbolic.symbolic.png);
|
||||
}
|
||||
QScrollBar::left-arrow:horizontal {
|
||||
image: url(/usr/share/icons/Adwaita/16x16/actions/go-previous-symbolic.symbolic.png);
|
||||
}
|
||||
QScrollBar::right-arrow:horizontal {
|
||||
image: url(/usr/share/icons/Adwaita/16x16/actions/go-next-symbolic.symbolic.png);
|
||||
}
|
|
@ -0,0 +1,531 @@
|
|||
/*
|
||||
ManjaroMix Style Sheet for QT Applications
|
||||
Author: Jaime A. Quiroga P.
|
||||
Company: GTRONICK
|
||||
Last updated: 25/02/2020, 15:42.
|
||||
Available at: https://github.com/GTRONICK/QSS/blob/master/ManjaroMix.qss
|
||||
*/
|
||||
QMainWindow {
|
||||
background-color:#151a1e;
|
||||
}
|
||||
QCalendar {
|
||||
background-color: #151a1e;
|
||||
}
|
||||
QTextEdit {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #4fa08b;
|
||||
background-color: #222b2e;
|
||||
color: #d3dae3;
|
||||
}
|
||||
QPlainTextEdit {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #4fa08b;
|
||||
background-color: #222b2e;
|
||||
color: #d3dae3;
|
||||
}
|
||||
QToolButton {
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: #d3dae3;
|
||||
padding: 2px;
|
||||
background-color: rgb(255,255,255);
|
||||
}
|
||||
QToolButton:hover{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(195, 195, 195), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(197, 197, 197), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(197, 197, 197));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(195, 195, 195), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(0,0,0);
|
||||
padding: 2px;
|
||||
background-color: rgb(255,255,255);
|
||||
}
|
||||
QToolButton:pressed{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(0,0,0);
|
||||
padding: 2px;
|
||||
background-color: rgb(142,142,142);
|
||||
}
|
||||
QPushButton{
|
||||
border-style: solid;
|
||||
border-color: #050a0e;
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: #d3dae3;
|
||||
padding: 2px;
|
||||
background-color: #151a1e;
|
||||
}
|
||||
QPushButton::default{
|
||||
border-style: solid;
|
||||
border-color: #050a0e;
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: #FFFFFF;
|
||||
padding: 2px;
|
||||
background-color: #151a1e;;
|
||||
}
|
||||
QPushButton:hover{
|
||||
border-style: solid;
|
||||
border-color: #050a0e;
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: #d3dae3;
|
||||
padding: 2px;
|
||||
background-color: #1c1f1f;
|
||||
}
|
||||
QPushButton:pressed{
|
||||
border-style: solid;
|
||||
border-color: #050a0e;
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: #d3dae3;
|
||||
padding: 2px;
|
||||
background-color: #2c2f2f;
|
||||
}
|
||||
QPushButton:disabled{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(217, 217, 217), stop:1 rgb(227, 227, 227));
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgb(227, 227, 227), stop:1 rgb(217, 217, 217));
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgb(215, 215, 215), stop:1 rgb(222, 222, 222));
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: #808086;
|
||||
padding: 2px;
|
||||
background-color: rgb(142,142,142);
|
||||
}
|
||||
QLineEdit {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #4fa08b;
|
||||
background-color: #222b2e;
|
||||
color: #d3dae3;
|
||||
}
|
||||
QLabel {
|
||||
color: #d3dae3;
|
||||
}
|
||||
QLCDNumber {
|
||||
color: #4d9b87;
|
||||
}
|
||||
QProgressBar {
|
||||
text-align: center;
|
||||
color: #d3dae3;
|
||||
border-radius: 10px;
|
||||
border-color: transparent;
|
||||
border-style: solid;
|
||||
background-color: #52595d;
|
||||
}
|
||||
QProgressBar::chunk {
|
||||
background-color: #214037 ;
|
||||
border-radius: 10px;
|
||||
}
|
||||
QMenuBar {
|
||||
background-color: #151a1e;
|
||||
}
|
||||
QMenuBar::item {
|
||||
color: #d3dae3;
|
||||
spacing: 3px;
|
||||
padding: 1px 4px;
|
||||
background-color: #151a1e;
|
||||
}
|
||||
|
||||
QMenuBar::item:selected {
|
||||
background-color: #252a2e;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
QMenu {
|
||||
background-color: #151a1e;
|
||||
}
|
||||
QMenu::item:selected {
|
||||
background-color: #252a2e;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
QMenu::item {
|
||||
color: #d3dae3;
|
||||
background-color: #151a1e;
|
||||
}
|
||||
QTabWidget {
|
||||
color:rgb(0,0,0);
|
||||
background-color:#000000;
|
||||
}
|
||||
QTabWidget::pane {
|
||||
border-color: #050a0e;
|
||||
background-color: #1e282c;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-bottom-left-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
QTabBar::tab:first {
|
||||
border-style: solid;
|
||||
border-left-width:1px;
|
||||
border-right-width:0px;
|
||||
border-top-width:1px;
|
||||
border-bottom-width:0px;
|
||||
border-top-color: #050a0e;
|
||||
border-left-color: #050a0e;
|
||||
border-bottom-color: #050a0e;
|
||||
border-top-left-radius: 4px;
|
||||
color: #d3dae3;
|
||||
padding: 3px;
|
||||
margin-left:0px;
|
||||
background-color: #151a1e;
|
||||
}
|
||||
QTabBar::tab:last {
|
||||
border-style: solid;
|
||||
border-top-width:1px;
|
||||
border-left-width:1px;
|
||||
border-right-width:1px;
|
||||
border-bottom-width:0px;
|
||||
border-color: #050a0e;
|
||||
border-top-right-radius: 4px;
|
||||
color: #d3dae3;
|
||||
padding: 3px;
|
||||
margin-left:0px;
|
||||
background-color: #151a1e;
|
||||
}
|
||||
QTabBar::tab {
|
||||
border-style: solid;
|
||||
border-top-width:1px;
|
||||
border-bottom-width:0px;
|
||||
border-left-width:1px;
|
||||
border-top-color: #050a0e;
|
||||
border-left-color: #050a0e;
|
||||
border-bottom-color: #050a0e;
|
||||
color: #d3dae3;
|
||||
padding: 3px;
|
||||
margin-left:0px;
|
||||
background-color: #151a1e;
|
||||
}
|
||||
QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover {
|
||||
border-style: solid;
|
||||
border-left-width:1px;
|
||||
border-bottom-width:0px;
|
||||
border-right-color: transparent;
|
||||
border-top-color: #050a0e;
|
||||
border-left-color: #050a0e;
|
||||
border-bottom-color: #050a0e;
|
||||
color: #FFFFFF;
|
||||
padding: 3px;
|
||||
margin-left:0px;
|
||||
background-color: #1e282c;
|
||||
}
|
||||
|
||||
QTabBar::tab:selected, QTabBar::tab:first:selected, QTabBar::tab:hover {
|
||||
border-style: solid;
|
||||
border-left-width:1px;
|
||||
border-bottom-width:0px;
|
||||
border-top-width:1px;
|
||||
border-right-color: transparent;
|
||||
border-top-color: #050a0e;
|
||||
border-left-color: #050a0e;
|
||||
border-bottom-color: #050a0e;
|
||||
color: #FFFFFF;
|
||||
padding: 3px;
|
||||
margin-left:0px;
|
||||
background-color: #1e282c;
|
||||
}
|
||||
|
||||
QCheckBox {
|
||||
color: #d3dae3;
|
||||
padding: 2px;
|
||||
}
|
||||
QCheckBox:disabled {
|
||||
color: #808086;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QCheckBox:hover {
|
||||
border-radius:4px;
|
||||
border-style:solid;
|
||||
padding-left: 1px;
|
||||
padding-right: 1px;
|
||||
padding-bottom: 1px;
|
||||
padding-top: 1px;
|
||||
border-width:1px;
|
||||
border-color: transparent;
|
||||
}
|
||||
QCheckBox::indicator:checked {
|
||||
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
border-color: #4fa08b;
|
||||
color: #000000;
|
||||
background-color: qradialgradient(cx:0.4, cy:0.4, radius: 1.5,fx:0, fy:0, stop:0 #1e282c, stop:0.3 #1e282c, stop:0.4 #4fa08b, stop:0.5 #1e282c, stop:1 #1e282c);
|
||||
}
|
||||
QCheckBox::indicator:unchecked {
|
||||
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
border-color: #4fa08b;
|
||||
color: #000000;
|
||||
}
|
||||
QRadioButton {
|
||||
color: #d3dae3;
|
||||
padding: 1px;
|
||||
}
|
||||
QRadioButton::indicator:checked {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-radius:5px;
|
||||
border-width: 1px;
|
||||
border-color: #4fa08b;
|
||||
color: #a9b7c6;
|
||||
background-color: qradialgradient(cx:0.5, cy:0.5, radius:0.4,fx:0.5, fy:0.5, stop:0 #4fa08b, stop:1 #1e282c);
|
||||
}
|
||||
QRadioButton::indicator:!checked {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-radius:5px;
|
||||
border-width: 1px;
|
||||
border-color: #4fa08b;
|
||||
color: #a9b7c6;
|
||||
background-color: transparent;
|
||||
}
|
||||
QStatusBar {
|
||||
color:#027f7f;
|
||||
}
|
||||
QSpinBox {
|
||||
color: #d3dae3;
|
||||
background-color: #222b2e;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #4fa08b;
|
||||
}
|
||||
QDoubleSpinBox {
|
||||
color: #d3dae3;
|
||||
background-color: #222b2e;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #4fa08b;
|
||||
}
|
||||
QTimeEdit {
|
||||
color: #d3dae3;
|
||||
background-color: #222b2e;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #4fa08b;
|
||||
}
|
||||
QDateTimeEdit {
|
||||
color: #d3dae3;
|
||||
background-color: #222b2e;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #4fa08b;
|
||||
}
|
||||
QDateEdit {
|
||||
color: #d3dae3;
|
||||
background-color: #222b2e;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #4fa08b;
|
||||
}
|
||||
QFontComboBox {
|
||||
color: #d3dae3;
|
||||
background-color: #222b2e;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #4fa08b;
|
||||
}
|
||||
QComboBox {
|
||||
color: #d3dae3;
|
||||
background-color: #222b2e;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #4fa08b;
|
||||
}
|
||||
|
||||
QDial {
|
||||
background: #16a085;
|
||||
}
|
||||
|
||||
QToolBox {
|
||||
color: #a9b7c6;
|
||||
background-color: #222b2e;
|
||||
}
|
||||
QToolBox::tab {
|
||||
color: #a9b7c6;
|
||||
background-color:#222b2e;
|
||||
}
|
||||
QToolBox::tab:selected {
|
||||
color: #FFFFFF;
|
||||
background-color:#222b2e;
|
||||
}
|
||||
QScrollArea {
|
||||
color: #FFFFFF;
|
||||
background-color:#222b2e;
|
||||
}
|
||||
QSlider::groove:horizontal {
|
||||
height: 5px;
|
||||
background-color: #52595d;
|
||||
}
|
||||
QSlider::groove:vertical {
|
||||
width: 5px;
|
||||
background-color: #52595d;
|
||||
}
|
||||
QSlider::handle:horizontal {
|
||||
background: #1a2224;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
width: 12px;
|
||||
margin: -5px 0;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::handle:vertical {
|
||||
background: #1a2224;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
height: 12px;
|
||||
margin: 0 -5px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::add-page:horizontal {
|
||||
background: #52595d;
|
||||
}
|
||||
QSlider::add-page:vertical {
|
||||
background: #52595d;
|
||||
}
|
||||
QSlider::sub-page:horizontal {
|
||||
background-color: #15433a;
|
||||
}
|
||||
QSlider::sub-page:vertical {
|
||||
background-color: #15433a;
|
||||
}
|
||||
QScrollBar:horizontal {
|
||||
max-height: 10px;
|
||||
border: 1px transparent grey;
|
||||
margin: 0px 20px 0px 20px;
|
||||
background: transparent;
|
||||
}
|
||||
QScrollBar:vertical {
|
||||
max-width: 10px;
|
||||
border: 1px transparent grey;
|
||||
margin: 20px 0px 20px 0px;
|
||||
background: transparent;
|
||||
}
|
||||
QScrollBar::handle:horizontal {
|
||||
background: #52595d;
|
||||
border-style: transparent;
|
||||
border-radius: 4px;
|
||||
min-width: 25px;
|
||||
}
|
||||
QScrollBar::handle:horizontal:hover {
|
||||
background: #58a492;
|
||||
border-style: transparent;
|
||||
border-radius: 4px;
|
||||
min-width: 25px;
|
||||
}
|
||||
QScrollBar::handle:vertical {
|
||||
background: #52595d;
|
||||
border-style: transparent;
|
||||
border-radius: 4px;
|
||||
min-height: 25px;
|
||||
}
|
||||
QScrollBar::handle:vertical:hover {
|
||||
background: #58a492;
|
||||
border-style: transparent;
|
||||
border-radius: 4px;
|
||||
min-height: 25px;
|
||||
}
|
||||
QScrollBar::add-line:horizontal {
|
||||
border: 2px transparent grey;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
background: #15433a;
|
||||
width: 20px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:horizontal:pressed {
|
||||
border: 2px transparent grey;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
background: rgb(181,181,181);
|
||||
width: 20px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:vertical {
|
||||
border: 2px transparent grey;
|
||||
border-bottom-left-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
background: #15433a;
|
||||
height: 20px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:vertical:pressed {
|
||||
border: 2px transparent grey;
|
||||
border-bottom-left-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
background: rgb(181,181,181);
|
||||
height: 20px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal {
|
||||
border: 2px transparent grey;
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
background: #15433a;
|
||||
width: 20px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal:pressed {
|
||||
border: 2px transparent grey;
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
background: rgb(181,181,181);
|
||||
width: 20px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical {
|
||||
border: 2px transparent grey;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
background: #15433a;
|
||||
height: 20px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical:pressed {
|
||||
border: 2px transparent grey;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
background: rgb(181,181,181);
|
||||
height: 20px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
|
||||
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
||||
background: none;
|
||||
}
|
||||
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
||||
background: none;
|
||||
}
|
|
@ -0,0 +1,390 @@
|
|||
/*
|
||||
Material Dark Style Sheet for QT Applications
|
||||
Author: Jaime A. Quiroga P.
|
||||
Inspired on https://github.com/jxfwinter/qt-material-stylesheet
|
||||
Company: GTRONICK
|
||||
Last updated: 04/12/2018, 15:00.
|
||||
Available at: https://github.com/GTRONICK/QSS/blob/master/MaterialDark.qss
|
||||
*/
|
||||
QMainWindow {
|
||||
background-color:#1e1d23;
|
||||
}
|
||||
QDialog {
|
||||
background-color:#1e1d23;
|
||||
}
|
||||
QColorDialog {
|
||||
background-color:#1e1d23;
|
||||
}
|
||||
QTextEdit {
|
||||
background-color:#1e1d23;
|
||||
color: #a9b7c6;
|
||||
}
|
||||
QPlainTextEdit {
|
||||
selection-background-color:#007b50;
|
||||
background-color:#1e1d23;
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-width: 1px;
|
||||
color: #a9b7c6;
|
||||
}
|
||||
QPushButton{
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
color: #a9b7c6;
|
||||
padding: 2px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QPushButton::default{
|
||||
border-style: inset;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #04b97f;
|
||||
border-width: 1px;
|
||||
color: #a9b7c6;
|
||||
padding: 2px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QToolButton {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #04b97f;
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: #a9b7c6;
|
||||
padding: 2px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QToolButton:hover{
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #37efba;
|
||||
border-bottom-width: 2px;
|
||||
border-style: solid;
|
||||
color: #FFFFFF;
|
||||
padding-bottom: 1px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QPushButton:hover{
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #37efba;
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: #FFFFFF;
|
||||
padding-bottom: 2px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QPushButton:pressed{
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #37efba;
|
||||
border-bottom-width: 2px;
|
||||
border-style: solid;
|
||||
color: #37efba;
|
||||
padding-bottom: 1px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QPushButton:disabled{
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #808086;
|
||||
border-bottom-width: 2px;
|
||||
border-style: solid;
|
||||
color: #808086;
|
||||
padding-bottom: 1px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QLineEdit {
|
||||
border-width: 1px; border-radius: 4px;
|
||||
border-color: rgb(58, 58, 58);
|
||||
border-style: inset;
|
||||
padding: 0 8px;
|
||||
color: #a9b7c6;
|
||||
background:#1e1d23;
|
||||
selection-background-color:#007b50;
|
||||
selection-color: #FFFFFF;
|
||||
}
|
||||
QLabel {
|
||||
color: #a9b7c6;
|
||||
}
|
||||
QLCDNumber {
|
||||
color: #37e6b4;
|
||||
}
|
||||
QProgressBar {
|
||||
text-align: center;
|
||||
color: rgb(240, 240, 240);
|
||||
border-width: 1px;
|
||||
border-radius: 10px;
|
||||
border-color: rgb(58, 58, 58);
|
||||
border-style: inset;
|
||||
background-color:#1e1d23;
|
||||
}
|
||||
QProgressBar::chunk {
|
||||
background-color: #04b97f;
|
||||
border-radius: 5px;
|
||||
}
|
||||
QMenuBar {
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QMenuBar::item {
|
||||
color: #a9b7c6;
|
||||
spacing: 3px;
|
||||
padding: 1px 4px;
|
||||
background: #1e1d23;
|
||||
}
|
||||
|
||||
QMenuBar::item:selected {
|
||||
background:#1e1d23;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
QMenu::item:selected {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: #04b97f;
|
||||
border-bottom-color: transparent;
|
||||
border-left-width: 2px;
|
||||
color: #FFFFFF;
|
||||
padding-left:15px;
|
||||
padding-top:4px;
|
||||
padding-bottom:4px;
|
||||
padding-right:7px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QMenu::item {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: #a9b7c6;
|
||||
padding-left:17px;
|
||||
padding-top:4px;
|
||||
padding-bottom:4px;
|
||||
padding-right:7px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QMenu{
|
||||
background-color:#1e1d23;
|
||||
}
|
||||
QTabWidget {
|
||||
color:rgb(0,0,0);
|
||||
background-color:#1e1d23;
|
||||
}
|
||||
QTabWidget::pane {
|
||||
border-color: rgb(77,77,77);
|
||||
background-color:#1e1d23;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
QTabBar::tab {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
color: #808086;
|
||||
padding: 3px;
|
||||
margin-left:3px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover {
|
||||
border-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: #04b97f;
|
||||
border-bottom-width: 2px;
|
||||
border-style: solid;
|
||||
color: #FFFFFF;
|
||||
padding-left: 3px;
|
||||
padding-bottom: 2px;
|
||||
margin-left:3px;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
|
||||
QCheckBox {
|
||||
color: #a9b7c6;
|
||||
padding: 2px;
|
||||
}
|
||||
QCheckBox:disabled {
|
||||
color: #808086;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
QCheckBox:hover {
|
||||
border-radius:4px;
|
||||
border-style:solid;
|
||||
padding-left: 1px;
|
||||
padding-right: 1px;
|
||||
padding-bottom: 1px;
|
||||
padding-top: 1px;
|
||||
border-width:1px;
|
||||
border-color: rgb(87, 97, 106);
|
||||
background-color:#1e1d23;
|
||||
}
|
||||
QCheckBox::indicator:checked {
|
||||
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
border-color: #04b97f;
|
||||
color: #a9b7c6;
|
||||
background-color: #04b97f;
|
||||
}
|
||||
QCheckBox::indicator:unchecked {
|
||||
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-width: 1px;
|
||||
border-color: #04b97f;
|
||||
color: #a9b7c6;
|
||||
background-color: transparent;
|
||||
}
|
||||
QRadioButton {
|
||||
color: #a9b7c6;
|
||||
background-color: #1e1d23;
|
||||
padding: 1px;
|
||||
}
|
||||
QRadioButton::indicator:checked {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-radius:5px;
|
||||
border-width: 1px;
|
||||
border-color: #04b97f;
|
||||
color: #a9b7c6;
|
||||
background-color: #04b97f;
|
||||
}
|
||||
QRadioButton::indicator:!checked {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-radius:5px;
|
||||
border-width: 1px;
|
||||
border-color: #04b97f;
|
||||
color: #a9b7c6;
|
||||
background-color: transparent;
|
||||
}
|
||||
QStatusBar {
|
||||
color:#027f7f;
|
||||
}
|
||||
QSpinBox {
|
||||
color: #a9b7c6;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QDoubleSpinBox {
|
||||
color: #a9b7c6;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QTimeEdit {
|
||||
color: #a9b7c6;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QDateTimeEdit {
|
||||
color: #a9b7c6;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QDateEdit {
|
||||
color: #a9b7c6;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QComboBox {
|
||||
color: #a9b7c6;
|
||||
background: #1e1d23;
|
||||
}
|
||||
QComboBox:editable {
|
||||
background: #1e1d23;
|
||||
color: #a9b7c6;
|
||||
selection-background-color: #1e1d23;
|
||||
}
|
||||
QComboBox QAbstractItemView {
|
||||
color: #a9b7c6;
|
||||
background: #1e1d23;
|
||||
selection-color: #FFFFFF;
|
||||
selection-background-color: #1e1d23;
|
||||
}
|
||||
QComboBox:!editable:on, QComboBox::drop-down:editable:on {
|
||||
color: #a9b7c6;
|
||||
background: #1e1d23;
|
||||
}
|
||||
QFontComboBox {
|
||||
color: #a9b7c6;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QToolBox {
|
||||
color: #a9b7c6;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QToolBox::tab {
|
||||
color: #a9b7c6;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QToolBox::tab:selected {
|
||||
color: #FFFFFF;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QScrollArea {
|
||||
color: #FFFFFF;
|
||||
background-color: #1e1d23;
|
||||
}
|
||||
QSlider::groove:horizontal {
|
||||
height: 5px;
|
||||
background: #04b97f;
|
||||
}
|
||||
QSlider::groove:vertical {
|
||||
width: 5px;
|
||||
background: #04b97f;
|
||||
}
|
||||
QSlider::handle:horizontal {
|
||||
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
||||
border: 1px solid #5c5c5c;
|
||||
width: 14px;
|
||||
margin: -5px 0;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::handle:vertical {
|
||||
background: qlineargradient(x1:1, y1:1, x2:0, y2:0, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
||||
border: 1px solid #5c5c5c;
|
||||
height: 14px;
|
||||
margin: 0 -5px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::add-page:horizontal {
|
||||
background: white;
|
||||
}
|
||||
QSlider::add-page:vertical {
|
||||
background: white;
|
||||
}
|
||||
QSlider::sub-page:horizontal {
|
||||
background: #04b97f;
|
||||
}
|
||||
QSlider::sub-page:vertical {
|
||||
background: #04b97f;
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
Neon Style Sheet for QT Applications (QpushButton)
|
||||
Author: Jaime A. Quiroga P.
|
||||
Company: GTRONICK
|
||||
Last updated: 24/10/2020, 15:42.
|
||||
Available at: https://github.com/GTRONICK/QSS/blob/master/NeonButtons.qss
|
||||
*/
|
||||
QPushButton{
|
||||
border-style: solid;
|
||||
border-color: #050a0e;
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: #d3dae3;
|
||||
padding: 2px;
|
||||
background-color: #100E19;
|
||||
}
|
||||
QPushButton::default{
|
||||
border-style: solid;
|
||||
border-color: #050a0e;
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: #FFFFFF;
|
||||
padding: 2px;
|
||||
background-color: #151a1e;
|
||||
}
|
||||
QPushButton:hover{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 #C0DB50, stop:0.4 #C0DB50, stop:0.5 #100E19, stop:1 #100E19);
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 #100E19, stop:0.5 #100E19, stop:0.6 #C0DB50, stop:1 #C0DB50);
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #C0DB50, stop:0.3 #C0DB50, stop:0.7 #100E19, stop:1 #100E19);
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 #C0DB50, stop:0.3 #C0DB50, stop:0.7 #100E19, stop:1 #100E19);
|
||||
border-width: 2px;
|
||||
border-radius: 1px;
|
||||
color: #d3dae3;
|
||||
padding: 2px;
|
||||
}
|
||||
QPushButton:pressed{
|
||||
border-style: solid;
|
||||
border-top-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 #d33af1, stop:0.4 #d33af1, stop:0.5 #100E19, stop:1 #100E19);
|
||||
border-bottom-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 #100E19, stop:0.5 #100E19, stop:0.6 #d33af1, stop:1 #d33af1);
|
||||
border-left-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #d33af1, stop:0.3 #d33af1, stop:0.7 #100E19, stop:1 #100E19);
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 #d33af1, stop:0.3 #d33af1, stop:0.7 #100E19, stop:1 #100E19);
|
||||
border-width: 2px;
|
||||
border-radius: 1px;
|
||||
color: #d3dae3;
|
||||
padding: 2px;
|
||||
}
|
After Width: | Height: | Size: 166 B |
After Width: | Height: | Size: 140 B |
After Width: | Height: | Size: 147 B |
After Width: | Height: | Size: 165 B |
After Width: | Height: | Size: 167 B |
|
@ -0,0 +1,496 @@
|
|||
/*
|
||||
Ubuntu Style Sheet for QT Applications
|
||||
Author: Jaime A. Quiroga P.
|
||||
Company: GTRONICK
|
||||
Last updated: 01/10/2021 (dd/mm/yyyy), 15:18.
|
||||
Available at: https://github.com/GTRONICK/QSS/blob/master/Ubuntu.qss
|
||||
*/
|
||||
QMainWindow {
|
||||
background-color:#f0f0f0;
|
||||
}
|
||||
QCheckBox {
|
||||
padding:2px;
|
||||
}
|
||||
QCheckBox:hover {
|
||||
border:1px solid rgb(255,150,60);
|
||||
border-radius:4px;
|
||||
padding: 1px;
|
||||
background-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(190, 90, 50, 50), stop:1 rgba(250, 130, 40, 50));
|
||||
}
|
||||
QCheckBox::indicator:checked {
|
||||
border:1px solid rgb(246, 134, 86);
|
||||
border-radius:4px;
|
||||
background-color:rgb(246, 134, 86)
|
||||
}
|
||||
QCheckBox::indicator:unchecked {
|
||||
border-width:1px solid rgb(246, 134, 86);
|
||||
border-radius:4px;
|
||||
background-color:rgb(255,255,255);
|
||||
}
|
||||
QColorDialog {
|
||||
background-color:#f0f0f0;
|
||||
}
|
||||
QComboBox {
|
||||
color:rgb(81,72,65);
|
||||
background: #ffffff;
|
||||
}
|
||||
QComboBox:editable {
|
||||
selection-color:rgb(81,72,65);
|
||||
selection-background-color: #ffffff;
|
||||
}
|
||||
QComboBox QAbstractItemView {
|
||||
selection-color: #ffffff;
|
||||
selection-background-color: rgb(246, 134, 86);
|
||||
}
|
||||
QComboBox:!editable:on, QComboBox::drop-down:editable:on {
|
||||
color: #1e1d23;
|
||||
}
|
||||
QDateTimeEdit, QDateEdit, QDoubleSpinBox, QFontComboBox {
|
||||
color:rgb(81,72,65);
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
QDialog {
|
||||
background-color:#f0f0f0;
|
||||
}
|
||||
|
||||
QLabel,QLineEdit {
|
||||
color:rgb(17,17,17);
|
||||
}
|
||||
QLineEdit {
|
||||
background-color:rgb(255,255,255);
|
||||
selection-background-color:rgb(236,116,64);
|
||||
}
|
||||
QMenuBar {
|
||||
color:rgb(223,219,210);
|
||||
background-color:rgb(65,64,59);
|
||||
}
|
||||
QMenuBar::item {
|
||||
padding-top:4px;
|
||||
padding-left:4px;
|
||||
padding-right:4px;
|
||||
color:rgb(223,219,210);
|
||||
background-color:rgb(65,64,59);
|
||||
}
|
||||
QMenuBar::item:selected {
|
||||
color:rgb(255,255,255);
|
||||
padding-top:2px;
|
||||
padding-left:2px;
|
||||
padding-right:2px;
|
||||
border-top-width:2px;
|
||||
border-left-width:2px;
|
||||
border-right-width:2px;
|
||||
border-top-right-radius:4px;
|
||||
border-top-left-radius:4px;
|
||||
border-style:solid;
|
||||
background-color:rgb(65,64,59);
|
||||
border-top-color: rgb(47,47,44);
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(90, 87, 78, 255), stop:1 rgba(47,47,44, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 rgba(90, 87, 78, 255), stop:1 rgba(47,47,44, 255));
|
||||
}
|
||||
QMenu {
|
||||
color:rgb(223,219,210);
|
||||
background-color:rgb(65,64,59);
|
||||
}
|
||||
QMenu::item {
|
||||
color:rgb(223,219,210);
|
||||
padding:4px 10px 4px 20px;
|
||||
}
|
||||
QMenu::item:selected {
|
||||
color:rgb(255,255,255);
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(225, 108, 54, 255), stop:1 rgba(246, 134, 86, 255));
|
||||
border-style:solid;
|
||||
border-width:3px;
|
||||
padding:4px 7px 4px 17px;
|
||||
border-bottom-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(175,85,48,255), stop:1 rgba(236,114,67, 255));
|
||||
border-top-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255));
|
||||
border-right-color:qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255));
|
||||
border-left-color:qlineargradient(spread:pad, x1:1, y1:0.5, x2:0, y2:0.5, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255));
|
||||
}
|
||||
QPlainTextEdit {
|
||||
border: 1px solid transparent;
|
||||
color:rgb(17,17,17);
|
||||
selection-background-color:rgb(236,116,64);
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
QProgressBar {
|
||||
text-align: center;
|
||||
color: rgb(0, 0, 0);
|
||||
border: 1px inset rgb(150,150,150);
|
||||
border-radius: 10px;
|
||||
background-color:rgb(221,221,219);
|
||||
}
|
||||
QProgressBar::chunk:horizontal {
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(225, 108, 54, 255), stop:1 rgba(246, 134, 86, 255));
|
||||
border:1px solid;
|
||||
border-radius:8px;
|
||||
border-bottom-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(175,85,48,255), stop:1 rgba(236,114,67, 255));
|
||||
border-top-color:qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255));
|
||||
border-right-color:qlineargradient(spread:pad, x1:0, y1:0.5, x2:1, y2:0.5, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255));
|
||||
border-left-color:qlineargradient(spread:pad, x1:1, y1:0.5, x2:0, y2:0.5, stop:0 rgba(253,156,113,255), stop:1 rgba(205,90,46, 255));
|
||||
}
|
||||
QPushButton{
|
||||
color:rgb(17,17,17);
|
||||
border-width: 1px;
|
||||
border-radius: 6px;
|
||||
border-bottom-color: rgb(150,150,150);
|
||||
border-right-color: rgb(165,165,165);
|
||||
border-left-color: rgb(165,165,165);
|
||||
border-top-color: rgb(180,180,180);
|
||||
border-style: solid;
|
||||
padding: 4px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(220, 220, 220, 255), stop:1 rgba(255, 255, 255, 255));
|
||||
}
|
||||
QPushButton:hover{
|
||||
color:rgb(17,17,17);
|
||||
border-width: 1px;
|
||||
border-radius:6px;
|
||||
border-top-color: rgb(255,150,60);
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 255));
|
||||
border-bottom-color: rgb(200,70,20);
|
||||
border-style: solid;
|
||||
padding: 2px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(220, 220, 220, 255), stop:1 rgba(255, 255, 255, 255));
|
||||
}
|
||||
QPushButton:default{
|
||||
color:rgb(17,17,17);
|
||||
border-width: 1px;
|
||||
border-radius:6px;
|
||||
border-top-color: rgb(255,150,60);
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 255));
|
||||
border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 255));
|
||||
border-bottom-color: rgb(200,70,20);
|
||||
border-style: solid;
|
||||
padding: 2px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(220, 220, 220, 255), stop:1 rgba(255, 255, 255, 255));
|
||||
}
|
||||
QPushButton:pressed{
|
||||
color:rgb(17,17,17);
|
||||
border-width: 1px;
|
||||
border-radius: 6px;
|
||||
border-width: 1px;
|
||||
border-top-color: rgba(255,150,60,200);
|
||||
border-right-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 200));
|
||||
border-left-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 rgba(200, 70, 20, 255), stop:1 rgba(255,150,60, 200));
|
||||
border-bottom-color: rgba(200,70,20,200);
|
||||
border-style: solid;
|
||||
padding: 2px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(220, 220, 220, 255), stop:1 rgba(255, 255, 255, 255));
|
||||
}
|
||||
QPushButton:disabled{
|
||||
color:rgb(174,167,159);
|
||||
border-width: 1px;
|
||||
border-radius: 6px;
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(200, 200, 200, 255), stop:1 rgba(230, 230, 230, 255));
|
||||
}
|
||||
QRadioButton {
|
||||
padding: 1px;
|
||||
}
|
||||
QRadioButton::indicator:checked {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-radius:5px;
|
||||
border-width: 1px;
|
||||
border-color: rgba(246, 134, 86, 255);
|
||||
color: #a9b7c6;
|
||||
background-color:rgba(246, 134, 86, 255);
|
||||
}
|
||||
QRadioButton::indicator:!checked {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-style:solid;
|
||||
border-radius:5px;
|
||||
border-width: 1px;
|
||||
border-color: rgb(246, 134, 86);
|
||||
color: #a9b7c6;
|
||||
background-color: transparent;
|
||||
}
|
||||
QScrollArea {
|
||||
color: white;
|
||||
background-color:#f0f0f0;
|
||||
}
|
||||
QSlider::groove {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
}
|
||||
QSlider::groove:horizontal {
|
||||
height: 5px;
|
||||
background: rgb(246, 134, 86);
|
||||
}
|
||||
QSlider::groove:vertical {
|
||||
width: 5px;
|
||||
background: rgb(246, 134, 86);
|
||||
}
|
||||
QSlider::handle:horizontal {
|
||||
background: rgb(253,253,253);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
width: 12px;
|
||||
margin: -5px 0;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::handle:vertical {
|
||||
background: rgb(253,253,253);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgb(207,207,207);
|
||||
height: 12px;
|
||||
margin: 0 -5px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
QSlider::add-page:horizontal, QSlider::add-page:vertical {
|
||||
background: white;
|
||||
}
|
||||
QSlider::sub-page:horizontal, QSlider::sub-page:vertical {
|
||||
background: rgb(246, 134, 86);
|
||||
}
|
||||
QStatusBar, QSpinBox {
|
||||
color:rgb(81,72,65);
|
||||
}
|
||||
QSpinBox {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
QScrollBar:horizontal {
|
||||
max-height: 20px;
|
||||
border: 1px transparent;
|
||||
margin: 0px 20px 0px 20px;
|
||||
}
|
||||
QScrollBar::handle:horizontal {
|
||||
background: rgb(253,253,253);
|
||||
border: 1px solid rgb(207,207,207);
|
||||
border-radius: 7px;
|
||||
min-width: 25px;
|
||||
}
|
||||
QScrollBar::handle:horizontal:hover {
|
||||
background: rgb(253,253,253);
|
||||
border: 1px solid rgb(255,150,60);
|
||||
border-radius: 7px;
|
||||
min-width: 25px;
|
||||
}
|
||||
QScrollBar::add-line:horizontal {
|
||||
border: 1px solid rgb(207,207,207);
|
||||
border-top-right-radius: 7px;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
background: rgb(255, 255, 255);
|
||||
width: 20px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:horizontal:hover {
|
||||
border: 1px solid rgb(255,150,60);
|
||||
border-top-right-radius: 7px;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
background: rgb(255, 255, 255);
|
||||
width: 20px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:horizontal:pressed {
|
||||
border: 1px solid grey;
|
||||
border-top-left-radius: 7px;
|
||||
border-top-right-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
background: rgb(231,231,231);
|
||||
width: 20px;
|
||||
subcontrol-position: right;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal {
|
||||
border: 1px solid rgb(207,207,207);
|
||||
border-top-right-radius: 7px;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
background: rgb(255, 255, 255);
|
||||
width: 20px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal:hover {
|
||||
border: 1px solid rgb(255,150,60);
|
||||
border-top-right-radius: 7px;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
background: rgb(255, 255, 255);
|
||||
width: 20px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:horizontal:pressed {
|
||||
border: 1px solid grey;
|
||||
border-top-right-radius: 7px;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
background: rgb(231,231,231);
|
||||
width: 20px;
|
||||
subcontrol-position: left;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::left-arrow:horizontal {
|
||||
border: 1px transparent grey;
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: rgb(230,230,230);
|
||||
}
|
||||
QScrollBar::right-arrow:horizontal {
|
||||
border: 1px transparent grey;
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: rgb(230,230,230);
|
||||
}
|
||||
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
||||
background: none;
|
||||
}
|
||||
QScrollBar:vertical {
|
||||
max-width: 20px;
|
||||
border: 1px transparent grey;
|
||||
margin: 20px 0px 20px 0px;
|
||||
}
|
||||
QScrollBar::add-line:vertical {
|
||||
border: 1px solid;
|
||||
border-color: rgb(207,207,207);
|
||||
border-bottom-right-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
border-top-left-radius: 7px;
|
||||
background: rgb(255, 255, 255);
|
||||
height: 20px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:vertical:hover {
|
||||
border: 1px solid;
|
||||
border-color: rgb(255,150,60);
|
||||
border-bottom-right-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
border-top-left-radius: 7px;
|
||||
background: rgb(255, 255, 255);
|
||||
height: 20px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::add-line:vertical:pressed {
|
||||
border: 1px solid grey;
|
||||
border-bottom-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
border-top-left-radius: 7px;
|
||||
background: rgb(231,231,231);
|
||||
height: 20px;
|
||||
subcontrol-position: bottom;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical {
|
||||
border: 1px solid rgb(207,207,207);
|
||||
border-top-right-radius: 7px;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
background: rgb(255, 255, 255);
|
||||
height: 20px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical:hover {
|
||||
border: 1px solid rgb(255,150,60);
|
||||
border-top-right-radius: 7px;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
background: rgb(255, 255, 255);
|
||||
height: 20px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::sub-line:vertical:pressed {
|
||||
border: 1px solid grey;
|
||||
border-top-left-radius: 7px;
|
||||
border-top-right-radius: 7px;
|
||||
background: rgb(231,231,231);
|
||||
height: 20px;
|
||||
subcontrol-position: top;
|
||||
subcontrol-origin: margin;
|
||||
}
|
||||
QScrollBar::handle:vertical {
|
||||
background: rgb(253,253,253);
|
||||
border: 1px solid rgb(207,207,207);
|
||||
border-radius: 7px;
|
||||
min-height: 25px;
|
||||
}
|
||||
QScrollBar::handle:vertical:hover {
|
||||
background: rgb(253,253,253);
|
||||
border: 1px solid rgb(255,150,60);
|
||||
border-radius: 7px;
|
||||
min-height: 25px;
|
||||
}
|
||||
QScrollBar::up-arrow:vertical {
|
||||
border: 1px transparent grey;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: rgb(230,230,230);
|
||||
}
|
||||
QScrollBar::down-arrow:vertical {
|
||||
border: 1px transparent grey;
|
||||
border-bottom-left-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: rgb(230,230,230);
|
||||
}
|
||||
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
||||
background: none;
|
||||
}
|
||||
QTabWidget {
|
||||
color:rgb(0,0,0);
|
||||
background-color:rgb(247,246,246);
|
||||
}
|
||||
QTabWidget::pane {
|
||||
border-color: rgb(180,180,180);
|
||||
background-color:rgb(247,246,246);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
QTabBar::tab {
|
||||
padding-left:4px;
|
||||
padding-right:4px;
|
||||
padding-bottom:2px;
|
||||
padding-top:2px;
|
||||
color:rgb(81,72,65);
|
||||
background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(221,218,217,255), stop:1 rgba(240,239,238,255));
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-top-right-radius:4px;
|
||||
border-top-left-radius:4px;
|
||||
border-top-color: rgb(180,180,180);
|
||||
border-left-color: rgb(180,180,180);
|
||||
border-right-color: rgb(180,180,180);
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover {
|
||||
background-color:rgb(247,246,246);
|
||||
margin-left: 0px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
QTabBar::tab:!selected {
|
||||
margin-top: 1px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
QTextEdit {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color:transparent;
|
||||
color:rgb(17,17,17);
|
||||
selection-background-color:rgb(236,116,64);
|
||||
}
|
||||
QTimeEdit, QToolBox, QToolBox::tab, QToolBox::tab:selected {
|
||||
color:rgb(81,72,65);
|
||||
background-color: #ffffff;
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
<RCC warning="WARNING! File created programmatically. All changes made in this file will be lost!">
|
||||
<qresource prefix="bingle_icons/bingle">
|
||||
<file>QSS_IMG/go-down-symbolic.symbolic.png</file>
|
||||
<file>QSS_IMG/go-next-symbolic.symbolic.png</file>
|
||||
<file>QSS_IMG/go-previous-symbolic.symbolic.png</file>
|
||||
<file>QSS_IMG/go-up-symbolic.symbolic.png</file>
|
||||
<file>QSS_IMG/object-select-symbolic.symbolic.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="bingle/bingle">
|
||||
<file>AMOLED.qss</file>
|
||||
<file>Aqua.qss</file>
|
||||
<file>ConsoleStyle.qss</file>
|
||||
<file>ElegantDark.qss</file>
|
||||
<file>MacOS.qss</file>
|
||||
<file>ManjaroMix.qss</file>
|
||||
<file>MaterialDark.qss</file>
|
||||
<file>NeonButtons.qss</file>
|
||||
<file>Ubuntu.qss</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -0,0 +1,216 @@
|
|||
|
||||
<RCC warning="WARNING! File created programmatically. All changes made in this file will be lost!">
|
||||
<qresource prefix="qss_icons/dark">
|
||||
<file>rc/arrow_down.png</file>
|
||||
<file>rc/arrow_down@2x.png</file>
|
||||
<file>rc/arrow_down_disabled.png</file>
|
||||
<file>rc/arrow_down_disabled@2x.png</file>
|
||||
<file>rc/arrow_down_focus.png</file>
|
||||
<file>rc/arrow_down_focus@2x.png</file>
|
||||
<file>rc/arrow_down_pressed.png</file>
|
||||
<file>rc/arrow_down_pressed@2x.png</file>
|
||||
<file>rc/arrow_left.png</file>
|
||||
<file>rc/arrow_left@2x.png</file>
|
||||
<file>rc/arrow_left_disabled.png</file>
|
||||
<file>rc/arrow_left_disabled@2x.png</file>
|
||||
<file>rc/arrow_left_focus.png</file>
|
||||
<file>rc/arrow_left_focus@2x.png</file>
|
||||
<file>rc/arrow_left_pressed.png</file>
|
||||
<file>rc/arrow_left_pressed@2x.png</file>
|
||||
<file>rc/arrow_right.png</file>
|
||||
<file>rc/arrow_right@2x.png</file>
|
||||
<file>rc/arrow_right_disabled.png</file>
|
||||
<file>rc/arrow_right_disabled@2x.png</file>
|
||||
<file>rc/arrow_right_focus.png</file>
|
||||
<file>rc/arrow_right_focus@2x.png</file>
|
||||
<file>rc/arrow_right_pressed.png</file>
|
||||
<file>rc/arrow_right_pressed@2x.png</file>
|
||||
<file>rc/arrow_up.png</file>
|
||||
<file>rc/arrow_up@2x.png</file>
|
||||
<file>rc/arrow_up_disabled.png</file>
|
||||
<file>rc/arrow_up_disabled@2x.png</file>
|
||||
<file>rc/arrow_up_focus.png</file>
|
||||
<file>rc/arrow_up_focus@2x.png</file>
|
||||
<file>rc/arrow_up_pressed.png</file>
|
||||
<file>rc/arrow_up_pressed@2x.png</file>
|
||||
<file>rc/base_icon.png</file>
|
||||
<file>rc/base_icon@2x.png</file>
|
||||
<file>rc/base_icon_disabled.png</file>
|
||||
<file>rc/base_icon_disabled@2x.png</file>
|
||||
<file>rc/base_icon_focus.png</file>
|
||||
<file>rc/base_icon_focus@2x.png</file>
|
||||
<file>rc/base_icon_pressed.png</file>
|
||||
<file>rc/base_icon_pressed@2x.png</file>
|
||||
<file>rc/branch_closed.png</file>
|
||||
<file>rc/branch_closed@2x.png</file>
|
||||
<file>rc/branch_closed_disabled.png</file>
|
||||
<file>rc/branch_closed_disabled@2x.png</file>
|
||||
<file>rc/branch_closed_focus.png</file>
|
||||
<file>rc/branch_closed_focus@2x.png</file>
|
||||
<file>rc/branch_closed_pressed.png</file>
|
||||
<file>rc/branch_closed_pressed@2x.png</file>
|
||||
<file>rc/branch_end.png</file>
|
||||
<file>rc/branch_end@2x.png</file>
|
||||
<file>rc/branch_end_disabled.png</file>
|
||||
<file>rc/branch_end_disabled@2x.png</file>
|
||||
<file>rc/branch_end_focus.png</file>
|
||||
<file>rc/branch_end_focus@2x.png</file>
|
||||
<file>rc/branch_end_pressed.png</file>
|
||||
<file>rc/branch_end_pressed@2x.png</file>
|
||||
<file>rc/branch_line.png</file>
|
||||
<file>rc/branch_line@2x.png</file>
|
||||
<file>rc/branch_line_disabled.png</file>
|
||||
<file>rc/branch_line_disabled@2x.png</file>
|
||||
<file>rc/branch_line_focus.png</file>
|
||||
<file>rc/branch_line_focus@2x.png</file>
|
||||
<file>rc/branch_line_pressed.png</file>
|
||||
<file>rc/branch_line_pressed@2x.png</file>
|
||||
<file>rc/branch_more.png</file>
|
||||
<file>rc/branch_more@2x.png</file>
|
||||
<file>rc/branch_more_disabled.png</file>
|
||||
<file>rc/branch_more_disabled@2x.png</file>
|
||||
<file>rc/branch_more_focus.png</file>
|
||||
<file>rc/branch_more_focus@2x.png</file>
|
||||
<file>rc/branch_more_pressed.png</file>
|
||||
<file>rc/branch_more_pressed@2x.png</file>
|
||||
<file>rc/branch_open.png</file>
|
||||
<file>rc/branch_open@2x.png</file>
|
||||
<file>rc/branch_open_disabled.png</file>
|
||||
<file>rc/branch_open_disabled@2x.png</file>
|
||||
<file>rc/branch_open_focus.png</file>
|
||||
<file>rc/branch_open_focus@2x.png</file>
|
||||
<file>rc/branch_open_pressed.png</file>
|
||||
<file>rc/branch_open_pressed@2x.png</file>
|
||||
<file>rc/checkbox_checked.png</file>
|
||||
<file>rc/checkbox_checked@2x.png</file>
|
||||
<file>rc/checkbox_checked_disabled.png</file>
|
||||
<file>rc/checkbox_checked_disabled@2x.png</file>
|
||||
<file>rc/checkbox_checked_focus.png</file>
|
||||
<file>rc/checkbox_checked_focus@2x.png</file>
|
||||
<file>rc/checkbox_checked_pressed.png</file>
|
||||
<file>rc/checkbox_checked_pressed@2x.png</file>
|
||||
<file>rc/checkbox_indeterminate.png</file>
|
||||
<file>rc/checkbox_indeterminate@2x.png</file>
|
||||
<file>rc/checkbox_indeterminate_disabled.png</file>
|
||||
<file>rc/checkbox_indeterminate_disabled@2x.png</file>
|
||||
<file>rc/checkbox_indeterminate_focus.png</file>
|
||||
<file>rc/checkbox_indeterminate_focus@2x.png</file>
|
||||
<file>rc/checkbox_indeterminate_pressed.png</file>
|
||||
<file>rc/checkbox_indeterminate_pressed@2x.png</file>
|
||||
<file>rc/checkbox_unchecked.png</file>
|
||||
<file>rc/checkbox_unchecked@2x.png</file>
|
||||
<file>rc/checkbox_unchecked_disabled.png</file>
|
||||
<file>rc/checkbox_unchecked_disabled@2x.png</file>
|
||||
<file>rc/checkbox_unchecked_focus.png</file>
|
||||
<file>rc/checkbox_unchecked_focus@2x.png</file>
|
||||
<file>rc/checkbox_unchecked_pressed.png</file>
|
||||
<file>rc/checkbox_unchecked_pressed@2x.png</file>
|
||||
<file>rc/line_horizontal.png</file>
|
||||
<file>rc/line_horizontal@2x.png</file>
|
||||
<file>rc/line_horizontal_disabled.png</file>
|
||||
<file>rc/line_horizontal_disabled@2x.png</file>
|
||||
<file>rc/line_horizontal_focus.png</file>
|
||||
<file>rc/line_horizontal_focus@2x.png</file>
|
||||
<file>rc/line_horizontal_pressed.png</file>
|
||||
<file>rc/line_horizontal_pressed@2x.png</file>
|
||||
<file>rc/line_vertical.png</file>
|
||||
<file>rc/line_vertical@2x.png</file>
|
||||
<file>rc/line_vertical_disabled.png</file>
|
||||
<file>rc/line_vertical_disabled@2x.png</file>
|
||||
<file>rc/line_vertical_focus.png</file>
|
||||
<file>rc/line_vertical_focus@2x.png</file>
|
||||
<file>rc/line_vertical_pressed.png</file>
|
||||
<file>rc/line_vertical_pressed@2x.png</file>
|
||||
<file>rc/radio_checked.png</file>
|
||||
<file>rc/radio_checked@2x.png</file>
|
||||
<file>rc/radio_checked_disabled.png</file>
|
||||
<file>rc/radio_checked_disabled@2x.png</file>
|
||||
<file>rc/radio_checked_focus.png</file>
|
||||
<file>rc/radio_checked_focus@2x.png</file>
|
||||
<file>rc/radio_checked_pressed.png</file>
|
||||
<file>rc/radio_checked_pressed@2x.png</file>
|
||||
<file>rc/radio_unchecked.png</file>
|
||||
<file>rc/radio_unchecked@2x.png</file>
|
||||
<file>rc/radio_unchecked_disabled.png</file>
|
||||
<file>rc/radio_unchecked_disabled@2x.png</file>
|
||||
<file>rc/radio_unchecked_focus.png</file>
|
||||
<file>rc/radio_unchecked_focus@2x.png</file>
|
||||
<file>rc/radio_unchecked_pressed.png</file>
|
||||
<file>rc/radio_unchecked_pressed@2x.png</file>
|
||||
<file>rc/toolbar_move_horizontal.png</file>
|
||||
<file>rc/toolbar_move_horizontal@2x.png</file>
|
||||
<file>rc/toolbar_move_horizontal_disabled.png</file>
|
||||
<file>rc/toolbar_move_horizontal_disabled@2x.png</file>
|
||||
<file>rc/toolbar_move_horizontal_focus.png</file>
|
||||
<file>rc/toolbar_move_horizontal_focus@2x.png</file>
|
||||
<file>rc/toolbar_move_horizontal_pressed.png</file>
|
||||
<file>rc/toolbar_move_horizontal_pressed@2x.png</file>
|
||||
<file>rc/toolbar_move_vertical.png</file>
|
||||
<file>rc/toolbar_move_vertical@2x.png</file>
|
||||
<file>rc/toolbar_move_vertical_disabled.png</file>
|
||||
<file>rc/toolbar_move_vertical_disabled@2x.png</file>
|
||||
<file>rc/toolbar_move_vertical_focus.png</file>
|
||||
<file>rc/toolbar_move_vertical_focus@2x.png</file>
|
||||
<file>rc/toolbar_move_vertical_pressed.png</file>
|
||||
<file>rc/toolbar_move_vertical_pressed@2x.png</file>
|
||||
<file>rc/toolbar_separator_horizontal.png</file>
|
||||
<file>rc/toolbar_separator_horizontal@2x.png</file>
|
||||
<file>rc/toolbar_separator_horizontal_disabled.png</file>
|
||||
<file>rc/toolbar_separator_horizontal_disabled@2x.png</file>
|
||||
<file>rc/toolbar_separator_horizontal_focus.png</file>
|
||||
<file>rc/toolbar_separator_horizontal_focus@2x.png</file>
|
||||
<file>rc/toolbar_separator_horizontal_pressed.png</file>
|
||||
<file>rc/toolbar_separator_horizontal_pressed@2x.png</file>
|
||||
<file>rc/toolbar_separator_vertical.png</file>
|
||||
<file>rc/toolbar_separator_vertical@2x.png</file>
|
||||
<file>rc/toolbar_separator_vertical_disabled.png</file>
|
||||
<file>rc/toolbar_separator_vertical_disabled@2x.png</file>
|
||||
<file>rc/toolbar_separator_vertical_focus.png</file>
|
||||
<file>rc/toolbar_separator_vertical_focus@2x.png</file>
|
||||
<file>rc/toolbar_separator_vertical_pressed.png</file>
|
||||
<file>rc/toolbar_separator_vertical_pressed@2x.png</file>
|
||||
<file>rc/transparent.png</file>
|
||||
<file>rc/transparent@2x.png</file>
|
||||
<file>rc/transparent_disabled.png</file>
|
||||
<file>rc/transparent_disabled@2x.png</file>
|
||||
<file>rc/transparent_focus.png</file>
|
||||
<file>rc/transparent_focus@2x.png</file>
|
||||
<file>rc/transparent_pressed.png</file>
|
||||
<file>rc/transparent_pressed@2x.png</file>
|
||||
<file>rc/window_close.png</file>
|
||||
<file>rc/window_close@2x.png</file>
|
||||
<file>rc/window_close_disabled.png</file>
|
||||
<file>rc/window_close_disabled@2x.png</file>
|
||||
<file>rc/window_close_focus.png</file>
|
||||
<file>rc/window_close_focus@2x.png</file>
|
||||
<file>rc/window_close_pressed.png</file>
|
||||
<file>rc/window_close_pressed@2x.png</file>
|
||||
<file>rc/window_grip.png</file>
|
||||
<file>rc/window_grip@2x.png</file>
|
||||
<file>rc/window_grip_disabled.png</file>
|
||||
<file>rc/window_grip_disabled@2x.png</file>
|
||||
<file>rc/window_grip_focus.png</file>
|
||||
<file>rc/window_grip_focus@2x.png</file>
|
||||
<file>rc/window_grip_pressed.png</file>
|
||||
<file>rc/window_grip_pressed@2x.png</file>
|
||||
<file>rc/window_minimize.png</file>
|
||||
<file>rc/window_minimize@2x.png</file>
|
||||
<file>rc/window_minimize_disabled.png</file>
|
||||
<file>rc/window_minimize_disabled@2x.png</file>
|
||||
<file>rc/window_minimize_focus.png</file>
|
||||
<file>rc/window_minimize_focus@2x.png</file>
|
||||
<file>rc/window_minimize_pressed.png</file>
|
||||
<file>rc/window_minimize_pressed@2x.png</file>
|
||||
<file>rc/window_undock.png</file>
|
||||
<file>rc/window_undock@2x.png</file>
|
||||
<file>rc/window_undock_disabled.png</file>
|
||||
<file>rc/window_undock_disabled@2x.png</file>
|
||||
<file>rc/window_undock_focus.png</file>
|
||||
<file>rc/window_undock_focus@2x.png</file>
|
||||
<file>rc/window_undock_pressed.png</file>
|
||||
<file>rc/window_undock_pressed@2x.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="qdarkstyle/dark">
|
||||
<file>darkstyle.qss</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -0,0 +1 @@
|
|||
|
After Width: | Height: | Size: 518 B |
After Width: | Height: | Size: 1023 B |
After Width: | Height: | Size: 546 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 523 B |
After Width: | Height: | Size: 992 B |
After Width: | Height: | Size: 567 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 555 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 557 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 551 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 574 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 532 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 545 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 541 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 574 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 517 B |
After Width: | Height: | Size: 999 B |
After Width: | Height: | Size: 549 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 532 B |
After Width: | Height: | Size: 990 B |
After Width: | Height: | Size: 554 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 394 B |
After Width: | Height: | Size: 837 B |
After Width: | Height: | Size: 426 B |
After Width: | Height: | Size: 862 B |
After Width: | Height: | Size: 395 B |
After Width: | Height: | Size: 810 B |
After Width: | Height: | Size: 415 B |
After Width: | Height: | Size: 867 B |
After Width: | Height: | Size: 147 B |
After Width: | Height: | Size: 203 B |
After Width: | Height: | Size: 152 B |
After Width: | Height: | Size: 205 B |
After Width: | Height: | Size: 149 B |
After Width: | Height: | Size: 203 B |
After Width: | Height: | Size: 152 B |
After Width: | Height: | Size: 204 B |
After Width: | Height: | Size: 132 B |
After Width: | Height: | Size: 238 B |
After Width: | Height: | Size: 135 B |
After Width: | Height: | Size: 240 B |
After Width: | Height: | Size: 134 B |
After Width: | Height: | Size: 238 B |
After Width: | Height: | Size: 135 B |
After Width: | Height: | Size: 239 B |
After Width: | Height: | Size: 162 B |
After Width: | Height: | Size: 260 B |
After Width: | Height: | Size: 167 B |
After Width: | Height: | Size: 263 B |
After Width: | Height: | Size: 164 B |
After Width: | Height: | Size: 260 B |
After Width: | Height: | Size: 161 B |
After Width: | Height: | Size: 262 B |
After Width: | Height: | Size: 407 B |
After Width: | Height: | Size: 803 B |