diff --git a/BaseCommonLibrary/BaseTool/gdalImageOperator.cpp b/BaseCommonLibrary/BaseTool/gdalImageOperator.cpp index 9fe8bfd..e596e8e 100644 --- a/BaseCommonLibrary/BaseTool/gdalImageOperator.cpp +++ b/BaseCommonLibrary/BaseTool/gdalImageOperator.cpp @@ -652,8 +652,8 @@ void gdalImage::saveImage(Eigen::MatrixXd data, int start_row = 0, int start_col GDALClose((GDALDatasetH)poDstDS); GDALDestroy(); // or, DllMain at DLL_PROCESS_DETACH delete[] databuffer; - omp_unset_lock(&lock); // �ͷŻ�� - omp_destroy_lock(&lock); // ٻ�� + omp_unset_lock(&lock); // + omp_destroy_lock(&lock); // } void gdalImage::saveImage(Eigen::MatrixXf data, int start_row = 0, int start_col = 0, diff --git a/BaseCommonLibrary/ImageOperatorFuntion.cpp b/BaseCommonLibrary/ImageOperatorFuntion.cpp index ab4ae0a..30e3e2f 100644 --- a/BaseCommonLibrary/ImageOperatorFuntion.cpp +++ b/BaseCommonLibrary/ImageOperatorFuntion.cpp @@ -1481,7 +1481,7 @@ ErrorCode DEM2XYZRasterAndSlopRaster(QString dempath, QString demxyzpath, QStri long temp_line_invert = start_ids + line_invert < demds.height ? line_invert : demds.height - start_ids; long dem_rows = 0, dem_cols = 0; - long startlineid = start_ids; + //long startlineid = start_ids; Eigen::MatrixXd demdata = demds.getData(start_ids - 1, 0, temp_line_invert + 2, demxyz.width, 1); Eigen::MatrixXd demsloper_x = demsloperxyz.getData(start_ids , 0, temp_line_invert , demxyz.width, 1); Eigen::MatrixXd demsloper_y = demsloperxyz.getData(start_ids , 0, temp_line_invert , demxyz.width, 2); @@ -1499,14 +1499,14 @@ ErrorCode DEM2XYZRasterAndSlopRaster(QString dempath, QString demxyzpath, QStri Vector3D Zaxis = { 0,0,1 }; double rowidx = 0, colidx = 0; - for (long j = 0; j < dem_cols ; j++) { - rowidx = i + startlineid+1; - colidx = j+1; - demds.getLandPoint(rowidx, colidx, demdata(i, j), p0); - demds.getLandPoint(rowidx - 1, colidx, demdata(i - 1, j), p1); - demds.getLandPoint(rowidx, colidx - 1, demdata(i, j - 1), p2); - demds.getLandPoint(rowidx + 1, colidx, demdata(i + 1, j), p3); - demds.getLandPoint(rowidx, colidx + 1, demdata(i, j + 1), p4); + for (long j = 1; j < dem_cols - 1; j++) { + rowidx = i + 1; + colidx = j; + demds.getLandPoint(rowidx, colidx, demdata(i + 1, j + 1), p0); + demds.getLandPoint(rowidx - 1, colidx, demdata(i - 1 + 1, j), p1); + demds.getLandPoint(rowidx, colidx - 1, demdata(i + 1, j - 1), p2); + demds.getLandPoint(rowidx + 1, colidx, demdata(i + 1 + 1, j), p3); + demds.getLandPoint(rowidx, colidx + 1, demdata(i + 1, j + 1), p4); pslopeVector = getSlopeVector(p0, p1, p2, p3, p4); // 地面坡向矢量 slopeVector = { pslopeVector.lon,pslopeVector.lat,pslopeVector.ati }; @@ -1524,10 +1524,10 @@ ErrorCode DEM2XYZRasterAndSlopRaster(QString dempath, QString demxyzpath, QStri } } omp_set_lock(&lock); - demsloperxyz.saveImage(demsloper_x, start_ids - 1, 0, 1); - demsloperxyz.saveImage(demsloper_y, start_ids - 1, 0, 2); - demsloperxyz.saveImage(demsloper_z, start_ids - 1, 0, 3); - demsloperxyz.saveImage(demsloper_angle, start_ids - 1, 0, 4); + demsloperxyz.saveImage(demsloper_x, start_ids , 0, 1); + demsloperxyz.saveImage(demsloper_y, start_ids , 0, 2); + demsloperxyz.saveImage(demsloper_z, start_ids , 0, 3); + demsloperxyz.saveImage(demsloper_angle, start_ids , 0, 4); linecount = linecount + temp_line_invert; qDebug() << "dem -> Sloper [" << linecount * 100.0 / demds.height << "] %"; omp_unset_lock(&lock); // 锟酵放伙拷斤拷 @@ -1682,17 +1682,22 @@ ErrorCode Complex2AmpRaster(QString inComplexPath, QString outRasterPath) gdalImageComplex inimg(inComplexPath); gdalImage ampimg = CreategdalImage(outRasterPath, inimg.height, inimg.width, inimg.band_num, inimg.gt, inimg.projection, true, true); - long blocklines = Memory1GB * 2 / 8 / inimg.width; + long blocklines = Memory1GB / 8 / inimg.width; blocklines = blocklines < 100 ? 100 : blocklines; - - long startrow = 0; - for (startrow = 0; startrow < inimg.height; startrow = startrow + blocklines) { + omp_lock_t lock; + omp_init_lock(&lock); +#pragma omp parallel for + for (int64_t startrow = 0; startrow < inimg.height; startrow = startrow + blocklines) { Eigen::MatrixXd imgArrb1 = ampimg.getData(startrow, 0, blocklines, inimg.width, 1); Eigen::MatrixXcd imgArr = inimg.getDataComplex(startrow, 0, blocklines, inimg.width, 1); imgArrb1 = imgArr.array().abs(); + omp_set_lock(&lock); ampimg.saveImage(imgArrb1, startrow, 0, 1); + omp_unset_lock(&lock); // } + + omp_destroy_lock(&lock); // qDebug() << u8"影像写入到:" << outRasterPath; return ErrorCode::SUCCESS; } @@ -1703,19 +1708,22 @@ ErrorCode Complex2PhaseRaster(QString inComplexPath, QString outRasterPath) gdalImage ampimg = CreategdalImage(outRasterPath, inimg.height, inimg.width, inimg.band_num, inimg.gt, inimg.projection, true, true); - long blocklines = Memory1GB * 2 / 8 / inimg.width; + long blocklines = Memory1MB / 8 / inimg.width*200; blocklines = blocklines < 100 ? 100 : blocklines; - Eigen::MatrixXd imgArrb1 = Eigen::MatrixXd::Zero(blocklines, ampimg.width); - Eigen::MatrixXcd imgArr = Eigen::MatrixXcd::Zero(blocklines, inimg.width); + ; + omp_lock_t lock; + omp_init_lock(&lock); +#pragma omp parallel for + for (int64_t startrow = 0; startrow < inimg.height; startrow = startrow + blocklines) { - long startrow = 0; - for (startrow = 0; startrow < inimg.height; startrow = startrow + blocklines) { - - imgArrb1 = ampimg.getData(startrow, 0, blocklines, inimg.width, 1); - imgArr = inimg.getData(startrow, 0, blocklines, inimg.width, 1); + Eigen::MatrixXd imgArrb1 = ampimg.getData(startrow, 0, blocklines, inimg.width, 1); + Eigen::MatrixXcd imgArr = inimg.getData(startrow, 0, blocklines, inimg.width, 1); imgArrb1 = imgArr.array().arg(); + omp_set_lock(&lock); ampimg.saveImage(imgArrb1, startrow, 0, 1); + omp_unset_lock(&lock); // } + omp_destroy_lock(&lock); // qDebug() << "影像写入到:" << outRasterPath; return ErrorCode::SUCCESS; } @@ -1726,19 +1734,21 @@ ErrorCode Complex2dBRaster(QString inComplexPath, QString outRasterPath) gdalImage ampimg = CreategdalImage(outRasterPath, inimg.height, inimg.width, inimg.band_num, inimg.gt, inimg.projection, true, true); - long blocklines = Memory1GB * 2 / 8 / inimg.width; + long blocklines = Memory1MB / 8 / inimg.width * 200; blocklines = blocklines < 100 ? 100 : blocklines; - Eigen::MatrixXd imgArrb1 = Eigen::MatrixXd::Zero(blocklines, ampimg.width); - Eigen::MatrixXcd imgArr = Eigen::MatrixXcd::Zero(blocklines, inimg.width); - - long startrow = 0; - for (startrow = 0; startrow < inimg.height; startrow = startrow + blocklines) { - - imgArrb1 = ampimg.getData(startrow, 0, blocklines, inimg.width, 1); - imgArr = inimg.getData(startrow, 0, blocklines, inimg.width, 1); + + omp_lock_t lock; + omp_init_lock(&lock); +#pragma omp parallel for + for (int64_t startrow = 0; startrow < inimg.height; startrow = startrow + blocklines) { + Eigen::MatrixXd imgArrb1 = ampimg.getData(startrow, 0, blocklines, inimg.width, 1); + Eigen::MatrixXcd imgArr = inimg.getData(startrow, 0, blocklines, inimg.width, 1); imgArrb1 = imgArr.array().abs().log10() * 20.0; + omp_set_lock(&lock); ampimg.saveImage(imgArrb1, startrow, 0, 1); + omp_unset_lock(&lock); // } + omp_destroy_lock(&lock); // qDebug() << "影像写入到:" << outRasterPath; return ErrorCode::SUCCESS; } @@ -1750,19 +1760,22 @@ ErrorCode BASECONSTVARIABLEAPI amp2dBRaster(QString inPath, QString outRasterPat gdalImage inimg(inPath); gdalImage dBimg = CreategdalImage(outRasterPath, inimg.height, inimg.width, inimg.band_num, inimg.gt, inimg.projection, true, true); - long blocklines = Memory1GB * 2 / 8 / inimg.width; + long blocklines = Memory1MB / 8 / inimg.width * 200; blocklines = blocklines < 100 ? 100 : blocklines; - Eigen::MatrixXd imgArrdB = Eigen::MatrixXd::Zero(blocklines, dBimg.width); - Eigen::MatrixXd imgArr = Eigen::MatrixXd::Zero(blocklines, inimg.width); - long startrow = 0; - for (startrow = 0; startrow < inimg.height; startrow = startrow + blocklines) { + omp_lock_t lock; + omp_init_lock(&lock); +#pragma omp parallel for + for (int64_t startrow = 0; startrow < inimg.height; startrow = startrow + blocklines) { - imgArrdB = dBimg.getData(startrow, 0, blocklines, inimg.width, 1); - imgArr = inimg.getData(startrow, 0, blocklines, inimg.width, 1); + Eigen::MatrixXd imgArrdB = dBimg.getData(startrow, 0, blocklines, inimg.width, 1); + Eigen::MatrixXd imgArr = inimg.getData(startrow, 0, blocklines, inimg.width, 1); imgArrdB = imgArr.array().log10() * 20.0; + omp_set_lock(&lock); dBimg.saveImage(imgArrdB, startrow, 0, 1); + omp_unset_lock(&lock); // } + omp_destroy_lock(&lock); // qDebug() << "影像写入到:" << outRasterPath; return ErrorCode::SUCCESS; } diff --git a/GF3CalibrationAndOrthLib/GF3CalibrationAndGeocodingClass.cpp b/GF3CalibrationAndOrthLib/GF3CalibrationAndGeocodingClass.cpp index e720544..c4e2164 100644 --- a/GF3CalibrationAndOrthLib/GF3CalibrationAndGeocodingClass.cpp +++ b/GF3CalibrationAndOrthLib/GF3CalibrationAndGeocodingClass.cpp @@ -24,25 +24,29 @@ ErrorCode GF3CalibrationRaster(QString inRasterPath, QString outRasterPath, doub gdalImageComplex outraster(outRasterPath); - long blocklines = Memory1GB / 8 / imgraster.width*2; + long blocklines = Memory1MB / 8 / imgraster.width*200; blocklines = blocklines < 100 ? 100 : blocklines; - Eigen::MatrixXd imgArrb1 = Eigen::MatrixXd::Zero(blocklines, imgraster.width); - Eigen::MatrixXd imgArrb2 = Eigen::MatrixXd::Zero(blocklines, imgraster.width); - Eigen::MatrixXcd imgArr = Eigen::MatrixXcd::Zero(blocklines, imgraster.width); double quayCoff = Qualifyvalue * 1.0 / 32767; double caliCoff = std::pow(10.0, (calibrationConst * 1.0 / 20)); qDebug() << u8"ϵ:\t" << quayCoff / caliCoff; - long startrow = 0; - for (startrow = 0; startrow < imgraster.height; startrow = startrow + blocklines) { + - imgArrb1 = imgraster.getData(startrow, 0, blocklines, imgraster.width, 1); - imgArrb2 = imgraster.getData(startrow, 0, blocklines, imgraster.width, 2); - imgArr = outraster.getDataComplex(startrow, 0, blocklines, outraster.width, 1); + omp_lock_t lock; + omp_init_lock(&lock); +#pragma omp parallel for + for (int64_t startrow = 0; startrow < imgraster.height; startrow = startrow + blocklines) { + + Eigen::MatrixXd imgArrb1 = imgraster.getData(startrow, 0, blocklines, imgraster.width, 1); + Eigen::MatrixXd imgArrb2 = imgraster.getData(startrow, 0, blocklines, imgraster.width, 2); + Eigen::MatrixXcd imgArr = outraster.getDataComplex(startrow, 0, blocklines, outraster.width, 1); imgArr.real() = imgArrb1.array() * quayCoff / caliCoff; imgArr.imag() = imgArrb2.array() * quayCoff / caliCoff; + omp_set_lock(&lock); outraster.saveImage(imgArr, startrow, 0, 1); + omp_unset_lock(&lock); // } + omp_destroy_lock(&lock); // qDebug() << u8"Ӱд뵽" << outRasterPath; return ErrorCode::SUCCESS; } @@ -487,10 +491,6 @@ ErrorCode GF3RDCreateLookTable(QString inxmlPath, QString indemPath, QString out ErrorCode GF3OrthSLC( QString inRasterPath, QString inlooktablePath, QString outRasterPath) { - - - - gdalImage slcRaster(inRasterPath);// gdalImage looktableRaster(inlooktablePath);// gdalImage outRaster = CreategdalImage(outRasterPath, looktableRaster.height, looktableRaster.width, 1, looktableRaster.gt, looktableRaster.projection, true, true);// X,Y,Z @@ -500,23 +500,12 @@ ErrorCode GF3OrthSLC( QString inRasterPath, QString inlooktablePath, QString out qDebug() << u8"look table size is not same as outRaster size"<< looktableRaster.height <<"!="<= slcRows || nextc >= slcCols) { continue; } - - lastr = lastr - slc_min_rid; - nextr = nextr - slc_min_rid; - - - p0 = { sar_c(i,j) - lastc, sar_r(i,j) - lastr,0 }; p11 = Landpoint{ 0,0,slcImg(lastr,lastc) }; p21 = Landpoint{ 0,1,slcImg(nextr,lastc) }; p12 = Landpoint{ 1,0,slcImg(lastr,nextc) }; @@ -571,21 +556,12 @@ ErrorCode GF3OrthSLC( QString inRasterPath, QString inlooktablePath, QString out Bileanervalue = Bilinear_interpolation(p0, p11, p21, p12, p22); outImg(i, j) = Bileanervalue; } - progressDialog.setValue(i); - } + } - - omp_set_lock(&lock); outRaster.saveImage(outImg, startrowid, 0, 1); - int64_t processValue = progressDialog.value() + tempblockline; - processValue = processValue < progressDialog.maximum() ? processValue : progressDialog.maximum(); - progressDialog.setValue(processValue); - omp_unset_lock(&lock); // �ͷŻ�� - + allcount = allcount + tempblockline; } - omp_destroy_lock(&lock); // ٻ�� - progressDialog.close(); - return ErrorCode::SUCCESS; + return ErrorCode::SUCCESS; } ErrorCode GF3RDProcess(QString inxmlPath, QString indemPath, QString outworkdir, double gridx, double gridy) @@ -594,8 +570,8 @@ ErrorCode GF3RDProcess(QString inxmlPath, QString indemPath, QString outworkdir, l1dataset.Open(inxmlPath); DemBox box = l1dataset.getExtend(); - double dlon = 0.1 * (box.max_lon - box.min_lon); - double dlat = 0.1 * (box.max_lat - box.min_lat); + double dlon = 0.2 * (box.max_lon - box.min_lon); + double dlat = 0.2 * (box.max_lat - box.min_lat); double minlat = box.min_lat - dlat; double minlon = box.min_lon - dlon; diff --git a/GF3StripPatchProcess/QSS/AMOLED.qss b/GF3StripPatchProcess/QSS/AMOLED.qss new file mode 100644 index 0000000..0083acb --- /dev/null +++ b/GF3StripPatchProcess/QSS/AMOLED.qss @@ -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; +} diff --git a/GF3StripPatchProcess/QSS/Aqua.qss b/GF3StripPatchProcess/QSS/Aqua.qss new file mode 100644 index 0000000..cce4c77 --- /dev/null +++ b/GF3StripPatchProcess/QSS/Aqua.qss @@ -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; +} diff --git a/GF3StripPatchProcess/QSS/ConsoleStyle.qss b/GF3StripPatchProcess/QSS/ConsoleStyle.qss new file mode 100644 index 0000000..af6c204 --- /dev/null +++ b/GF3StripPatchProcess/QSS/ConsoleStyle.qss @@ -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; +} diff --git a/GF3StripPatchProcess/QSS/ElegantDark.qss b/GF3StripPatchProcess/QSS/ElegantDark.qss new file mode 100644 index 0000000..49d2b0b --- /dev/null +++ b/GF3StripPatchProcess/QSS/ElegantDark.qss @@ -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); +} diff --git a/GF3StripPatchProcess/QSS/LICENSE b/GF3StripPatchProcess/QSS/LICENSE new file mode 100644 index 0000000..868ac31 --- /dev/null +++ b/GF3StripPatchProcess/QSS/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Jaime Quiroga + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/GF3StripPatchProcess/QSS/MacOS.qss b/GF3StripPatchProcess/QSS/MacOS.qss new file mode 100644 index 0000000..9a98622 --- /dev/null +++ b/GF3StripPatchProcess/QSS/MacOS.qss @@ -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); +} diff --git a/GF3StripPatchProcess/QSS/ManjaroMix.qss b/GF3StripPatchProcess/QSS/ManjaroMix.qss new file mode 100644 index 0000000..92301a5 --- /dev/null +++ b/GF3StripPatchProcess/QSS/ManjaroMix.qss @@ -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; +} diff --git a/GF3StripPatchProcess/QSS/MaterialDark.qss b/GF3StripPatchProcess/QSS/MaterialDark.qss new file mode 100644 index 0000000..c5a94aa --- /dev/null +++ b/GF3StripPatchProcess/QSS/MaterialDark.qss @@ -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; +} diff --git a/GF3StripPatchProcess/QSS/NeonButtons.qss b/GF3StripPatchProcess/QSS/NeonButtons.qss new file mode 100644 index 0000000..8065250 --- /dev/null +++ b/GF3StripPatchProcess/QSS/NeonButtons.qss @@ -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; +} \ No newline at end of file diff --git a/GF3StripPatchProcess/QSS/QSS_IMG/go-down-symbolic.symbolic.png b/GF3StripPatchProcess/QSS/QSS_IMG/go-down-symbolic.symbolic.png new file mode 100644 index 0000000..bfa7706 Binary files /dev/null and b/GF3StripPatchProcess/QSS/QSS_IMG/go-down-symbolic.symbolic.png differ diff --git a/GF3StripPatchProcess/QSS/QSS_IMG/go-next-symbolic.symbolic.png b/GF3StripPatchProcess/QSS/QSS_IMG/go-next-symbolic.symbolic.png new file mode 100644 index 0000000..f2aa968 Binary files /dev/null and b/GF3StripPatchProcess/QSS/QSS_IMG/go-next-symbolic.symbolic.png differ diff --git a/GF3StripPatchProcess/QSS/QSS_IMG/go-previous-symbolic.symbolic.png b/GF3StripPatchProcess/QSS/QSS_IMG/go-previous-symbolic.symbolic.png new file mode 100644 index 0000000..f688c3c Binary files /dev/null and b/GF3StripPatchProcess/QSS/QSS_IMG/go-previous-symbolic.symbolic.png differ diff --git a/GF3StripPatchProcess/QSS/QSS_IMG/go-up-symbolic.symbolic.png b/GF3StripPatchProcess/QSS/QSS_IMG/go-up-symbolic.symbolic.png new file mode 100644 index 0000000..ea3ce32 Binary files /dev/null and b/GF3StripPatchProcess/QSS/QSS_IMG/go-up-symbolic.symbolic.png differ diff --git a/GF3StripPatchProcess/QSS/QSS_IMG/object-select-symbolic.symbolic.png b/GF3StripPatchProcess/QSS/QSS_IMG/object-select-symbolic.symbolic.png new file mode 100644 index 0000000..ef1034a Binary files /dev/null and b/GF3StripPatchProcess/QSS/QSS_IMG/object-select-symbolic.symbolic.png differ diff --git a/GF3StripPatchProcess/QSS/README.md b/GF3StripPatchProcess/QSS/README.md new file mode 100644 index 0000000..ec16dcc --- /dev/null +++ b/GF3StripPatchProcess/QSS/README.md @@ -0,0 +1,45 @@ +### QT StyleSheet templates ### +Themes available: +1. [Ubuntu](https://github.com/GTRONICK/QSS/blob/master/Ubuntu.qss) + +![Ubuntu theme screenshot](https://i.imgur.com/i8zVYwL.png) + +2. [ElegantDark](https://github.com/GTRONICK/QSS/blob/master/ElegantDark.qss) + +![ElegantDark theme screenshot](https://i.imgur.com/AUb7R7P.png) + +3. [MaterialDark](https://github.com/GTRONICK/QSS/blob/master/MaterialDark.qss) + +![MaterialDark theme screenshot](https://i.imgur.com/ViEQxdh.png) + +4. [ConsoleStyle](https://github.com/GTRONICK/QSS/blob/master/ConsoleStyle.qss) + +![ConsoleStyle theme screenshot](https://i.imgur.com/E10ukaA.png) + +5. [AMOLED](https://github.com/GTRONICK/QSS/blob/master/AMOLED.qss) + +![AMOLED theme screenshot](https://i.imgur.com/M7RIx4c.png) + +6. [Aqua](https://github.com/GTRONICK/QSS/blob/master/Aqua.qss) + +![Aqua theme screenshot](https://i.imgur.com/i8zVYwL.png) + +## The ManjaroMix Theme!: Includes a radial gradient for Checkboxes, and minimalist arrows for scrollbars. ## +7. [ManjaroMix](https://github.com/GTRONICK/QSS/blob/master/ManjaroMix.qss) + +![ManjaroMix theme screenshot](https://i.imgur.com/7zrMDMH.png) + +8. [NeonButtons](https://github.com/GTRONICK/QSS/blob/master/NeonButtons.qss) + +![NeonButtons screenshot](https://i.imgur.com/IqTSQG2.png) +![NeonButtons screenshot](https://i.imgur.com/l4im5Ve.png) + +## MacOS Theme!: Reduced code, image integration through URL resources. ## +9. [MacOS](https://github.com/GTRONICK/QSS/blob/master/MacOS.qss) + +![MacOS](https://i.imgur.com/quEgiVe.png) +**Added images in QSS_IMG folder** + +Stay tunned!, this files are being updated frequently. +*Consider donating :)* **PayPal Account:** gtronick@gmail.com + diff --git a/GF3StripPatchProcess/QSS/Ubuntu.qss b/GF3StripPatchProcess/QSS/Ubuntu.qss new file mode 100644 index 0000000..5f713c1 --- /dev/null +++ b/GF3StripPatchProcess/QSS/Ubuntu.qss @@ -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; +} diff --git a/GF3StripPatchProcess/main.cpp b/GF3StripPatchProcess/main.cpp index e408fdf..938a8a6 100644 --- a/GF3StripPatchProcess/main.cpp +++ b/GF3StripPatchProcess/main.cpp @@ -98,6 +98,15 @@ int main(int argc, char* argv[]) qInstallMessageHandler(customMessageHandler); QApplication a(argc, argv); + + QFile qssFile(u8"./QSS/AMOLED.qss"); + if (qssFile.open(QFile::ReadOnly)) { + a.setStyleSheet(qssFile.readAll()); + } + qssFile.close(); + + + showQGF3StripBatchProcessDialog(nullptr); return a.exec(); } diff --git a/qss样式表/QSS-master.zip b/qss样式表/QSS-master.zip new file mode 100644 index 0000000..22f95b4 Binary files /dev/null and b/qss样式表/QSS-master.zip differ diff --git a/qss样式表/QSS-master/QSS/AMOLED.qss b/qss样式表/QSS-master/QSS/AMOLED.qss new file mode 100644 index 0000000..0083acb --- /dev/null +++ b/qss样式表/QSS-master/QSS/AMOLED.qss @@ -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; +} diff --git a/qss样式表/QSS-master/QSS/Aqua.qss b/qss样式表/QSS-master/QSS/Aqua.qss new file mode 100644 index 0000000..cce4c77 --- /dev/null +++ b/qss样式表/QSS-master/QSS/Aqua.qss @@ -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; +} diff --git a/qss样式表/QSS-master/QSS/ConsoleStyle.qss b/qss样式表/QSS-master/QSS/ConsoleStyle.qss new file mode 100644 index 0000000..af6c204 --- /dev/null +++ b/qss样式表/QSS-master/QSS/ConsoleStyle.qss @@ -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; +} diff --git a/qss样式表/QSS-master/QSS/ElegantDark.qss b/qss样式表/QSS-master/QSS/ElegantDark.qss new file mode 100644 index 0000000..49d2b0b --- /dev/null +++ b/qss样式表/QSS-master/QSS/ElegantDark.qss @@ -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); +} diff --git a/qss样式表/QSS-master/QSS/LICENSE b/qss样式表/QSS-master/QSS/LICENSE new file mode 100644 index 0000000..868ac31 --- /dev/null +++ b/qss样式表/QSS-master/QSS/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Jaime Quiroga + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/qss样式表/QSS-master/QSS/MacOS.qss b/qss样式表/QSS-master/QSS/MacOS.qss new file mode 100644 index 0000000..9a98622 --- /dev/null +++ b/qss样式表/QSS-master/QSS/MacOS.qss @@ -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); +} diff --git a/qss样式表/QSS-master/QSS/ManjaroMix.qss b/qss样式表/QSS-master/QSS/ManjaroMix.qss new file mode 100644 index 0000000..92301a5 --- /dev/null +++ b/qss样式表/QSS-master/QSS/ManjaroMix.qss @@ -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; +} diff --git a/qss样式表/QSS-master/QSS/MaterialDark.qss b/qss样式表/QSS-master/QSS/MaterialDark.qss new file mode 100644 index 0000000..c5a94aa --- /dev/null +++ b/qss样式表/QSS-master/QSS/MaterialDark.qss @@ -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; +} diff --git a/qss样式表/QSS-master/QSS/NeonButtons.qss b/qss样式表/QSS-master/QSS/NeonButtons.qss new file mode 100644 index 0000000..8065250 --- /dev/null +++ b/qss样式表/QSS-master/QSS/NeonButtons.qss @@ -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; +} \ No newline at end of file diff --git a/qss样式表/QSS-master/QSS/QSS_IMG/go-down-symbolic.symbolic.png b/qss样式表/QSS-master/QSS/QSS_IMG/go-down-symbolic.symbolic.png new file mode 100644 index 0000000..bfa7706 Binary files /dev/null and b/qss样式表/QSS-master/QSS/QSS_IMG/go-down-symbolic.symbolic.png differ diff --git a/qss样式表/QSS-master/QSS/QSS_IMG/go-next-symbolic.symbolic.png b/qss样式表/QSS-master/QSS/QSS_IMG/go-next-symbolic.symbolic.png new file mode 100644 index 0000000..f2aa968 Binary files /dev/null and b/qss样式表/QSS-master/QSS/QSS_IMG/go-next-symbolic.symbolic.png differ diff --git a/qss样式表/QSS-master/QSS/QSS_IMG/go-previous-symbolic.symbolic.png b/qss样式表/QSS-master/QSS/QSS_IMG/go-previous-symbolic.symbolic.png new file mode 100644 index 0000000..f688c3c Binary files /dev/null and b/qss样式表/QSS-master/QSS/QSS_IMG/go-previous-symbolic.symbolic.png differ diff --git a/qss样式表/QSS-master/QSS/QSS_IMG/go-up-symbolic.symbolic.png b/qss样式表/QSS-master/QSS/QSS_IMG/go-up-symbolic.symbolic.png new file mode 100644 index 0000000..ea3ce32 Binary files /dev/null and b/qss样式表/QSS-master/QSS/QSS_IMG/go-up-symbolic.symbolic.png differ diff --git a/qss样式表/QSS-master/QSS/QSS_IMG/object-select-symbolic.symbolic.png b/qss样式表/QSS-master/QSS/QSS_IMG/object-select-symbolic.symbolic.png new file mode 100644 index 0000000..ef1034a Binary files /dev/null and b/qss样式表/QSS-master/QSS/QSS_IMG/object-select-symbolic.symbolic.png differ diff --git a/qss样式表/QSS-master/QSS/README.md b/qss样式表/QSS-master/QSS/README.md new file mode 100644 index 0000000..ec16dcc --- /dev/null +++ b/qss样式表/QSS-master/QSS/README.md @@ -0,0 +1,45 @@ +### QT StyleSheet templates ### +Themes available: +1. [Ubuntu](https://github.com/GTRONICK/QSS/blob/master/Ubuntu.qss) + +![Ubuntu theme screenshot](https://i.imgur.com/i8zVYwL.png) + +2. [ElegantDark](https://github.com/GTRONICK/QSS/blob/master/ElegantDark.qss) + +![ElegantDark theme screenshot](https://i.imgur.com/AUb7R7P.png) + +3. [MaterialDark](https://github.com/GTRONICK/QSS/blob/master/MaterialDark.qss) + +![MaterialDark theme screenshot](https://i.imgur.com/ViEQxdh.png) + +4. [ConsoleStyle](https://github.com/GTRONICK/QSS/blob/master/ConsoleStyle.qss) + +![ConsoleStyle theme screenshot](https://i.imgur.com/E10ukaA.png) + +5. [AMOLED](https://github.com/GTRONICK/QSS/blob/master/AMOLED.qss) + +![AMOLED theme screenshot](https://i.imgur.com/M7RIx4c.png) + +6. [Aqua](https://github.com/GTRONICK/QSS/blob/master/Aqua.qss) + +![Aqua theme screenshot](https://i.imgur.com/i8zVYwL.png) + +## The ManjaroMix Theme!: Includes a radial gradient for Checkboxes, and minimalist arrows for scrollbars. ## +7. [ManjaroMix](https://github.com/GTRONICK/QSS/blob/master/ManjaroMix.qss) + +![ManjaroMix theme screenshot](https://i.imgur.com/7zrMDMH.png) + +8. [NeonButtons](https://github.com/GTRONICK/QSS/blob/master/NeonButtons.qss) + +![NeonButtons screenshot](https://i.imgur.com/IqTSQG2.png) +![NeonButtons screenshot](https://i.imgur.com/l4im5Ve.png) + +## MacOS Theme!: Reduced code, image integration through URL resources. ## +9. [MacOS](https://github.com/GTRONICK/QSS/blob/master/MacOS.qss) + +![MacOS](https://i.imgur.com/quEgiVe.png) +**Added images in QSS_IMG folder** + +Stay tunned!, this files are being updated frequently. +*Consider donating :)* **PayPal Account:** gtronick@gmail.com + diff --git a/qss样式表/QSS-master/QSS/Ubuntu.qss b/qss样式表/QSS-master/QSS/Ubuntu.qss new file mode 100644 index 0000000..5f713c1 --- /dev/null +++ b/qss样式表/QSS-master/QSS/Ubuntu.qss @@ -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; +} diff --git a/qss样式表/a6223-main.zip b/qss样式表/a6223-main.zip new file mode 100644 index 0000000..0d454ec Binary files /dev/null and b/qss样式表/a6223-main.zip differ diff --git a/qss样式表/a6223-main/a6223-main/LICENSE b/qss样式表/a6223-main/a6223-main/LICENSE new file mode 100644 index 0000000..63b4b68 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [year] [fullname] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集.rar b/qss样式表/a6223-main/a6223-main/QSS模板合集.rar new file mode 100644 index 0000000..db6c839 Binary files /dev/null and b/qss样式表/a6223-main/a6223-main/QSS模板合集.rar differ diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/1.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/1.qss new file mode 100644 index 0000000..6c7b53e --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/1.qss @@ -0,0 +1,927 @@ + + +*{ + font-size:13px; + color:white; + font-family:"宋体"; +} + +CallWidget QLineEdit#telEdt +{ + font-size:24px; + +} + +QMainWindow,QDialog{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #1B2534, stop: 0.4 #010101, + stop: 0.5 #000101, stop: 1.0 #1F2B3C); +} +QWidget{ + background:#121922; +} + +QLabel{ + background:transparent; +} + + + + +DailForm QLineEdit#phoneLineEdt{ + font-size:36px; + font-weight: bold; +} + +QPushButton,QToolButton{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #5B5F5F, stop: 0.5 #0C2436, + stop: 1.0 #27405A); + border-style: outset; + border-width: 1px; + border-radius: 5px; + border-color: #11223F; + padding: 1px; +} + +QPushButton::hover,QToolButton::hover{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #758385, stop: 0.5 #122C39, + stop: 1.0 #0E7788); + border-color: #11505C; +} + +QPushButton::pressed,QToolButton::pressed{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #969B9C, stop: 0.5 #16354B, + stop: 1.0 #244F76); + border-color: #11505C; +} +QPushButton::disabled,QToolButton::disabled{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #282B2C, stop: 0.5 #09121A, + stop: 1.0 #111D29); + border-color: #0A1320; + color:#6A6864; + +} + + + +QDialog QPushButton,QDialog QToolButton{ + min-width:30px; + min-height:23px; +} + +QToolButton[objectName="minimizeToolBtn"] { + background: transparent; + border:none; + image:url(qss/minimize.png) +} +QToolButton[objectName="minimizeToolBtn"]:hover,QToolButton[objectName="minimizeToolBtn"]:pressed { + image:url(qss/minimize_hover.png) +} +QToolButton[objectName="maximizeToolBtn"] { + background: transparent; + border:none; + image:url(qss/maximize.png) +} +QToolButton[objectName="maximizeToolBtn"]:hover,QToolButton[objectName="maximizeToolBtn"]:pressed { + image:url(qss/maximize_hover.png) +} + +QToolButton[objectName="closeToolBtn"],QToolButton[objectName="customCloseWindow"] { + background: transparent; + border:none; + image:url(qss/close.png) +} +QToolButton[objectName="closeToolBtn"]:hover,QToolButton[objectName="closeToolBtn"]:pressed{ + image:url(qss/close_hover.png) +} +QToolButton[objectName="customCloseWindow"]:hover,QToolButton[objectName="customCloseWindow"]:pressed{ + image:url(qss/close_hover.png) +} +QToolButton[objectName="titleSetUpToolBtn"]{ + background: transparent; + border:none; + image:url(qss/setup.png) +} + + +DailForm QToolButton#oneToolBtn,QToolButton#OneToolBtn,QToolButton#twoToolBtn,QToolButton#threeToolBtn, + QToolButton#fourToolBtn,QToolButton#fiveToolBtn,QToolButton#sixToolBtn, + QToolButton#sevenToolBtn,QToolButton#eightToolBtn,QToolButton#nineToolBtn, + QToolButton#starToolBtn,QToolButton#zeroToolBtn,QToolButton#sharpToolBtn { + font-size:36px; + border-radius: 10px; + +} +DailForm QToolButton#delToolBtn{ + border-radius: 10px; + +} + + + + + + +QLineEdit,QTextEdit { + border: 1px solid #32435E; + border-radius: 3px; + /* padding: 0 8px; */ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F); + selection-background-color: #0A246A; + +} +QLineEdit::hover{ + border-color:#5D8B9E; +} + +QLineEdit[echoMode="3"] { + lineedit-password-character: 9679; +} + +#QLineEdit:read-only { + background: #543F7C; +} + + + + + + + QTabBar::tab { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #292F31, stop: 1 #0C131E); + } +QTabBar::tab:selected{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #113845, stop: 1.0 #15A8FF); + } +QTabBar::tab:hover { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #113845, stop: 1.0 #0E6F80); + } + + #QTabBar::tab:selected { + border-color: #32435E; + border-right-color: #32435E; /* same as pane color */ + } + + #QTabBar::tab:!selected { + margin-left: 2px; /* make non-selected tabs look smaller */ + } +#QTabBar:tab:first:selected { + margin-top: 0; +} +QTabBar:tab:last:selected { + margin-right: 0; +} +QTabBar:tab:only-one { + margin: 0; +} + +QListWidget{ + border: 1px solid #32435E; + background:#050609; +} + + +QListWidget::item:selected { + /*border: 0px solid #33CCFF;*/ + border:none; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #6A848C, stop: 1.0 #0F9EAF); + padding:0px; + margin:0px; +} + +#QListWidget::item:selected:!active { + border-width: 0px ; + } +#QListWidget::item:selected:active { + border-width: 1px; + } + + + + +QComboBox { + border: 1px solid #32435E; + border-radius: 3px; + padding: 1px 18px 1px 3px; + min-width: 6em; + } +QComboBox::hover{ + border-color:#5D8B9E; +} + + + QComboBox:editable { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F); + } + + QComboBox:!editable, QComboBox::drop-down:editable { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F); + } + + /* QComboBox gets the "on" state when the popup is open */ + QComboBox:!editable:on, QComboBox::drop-down:editable:on { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F);; + } + + QComboBox:on { /* shift the text when the popup opens */ + padding-top: 3px; + padding-left: 4px; + } + QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; + width: 15px; + + border-left-width: 1px; + border-left-color: 32435E; + border-left-style: solid; /* just a single line */ + border-top-right-radius: 3px; /* same radius as the QComboBox */ + border-bottom-right-radius: 3px; + } + + QComboBox::down-arrow { + image: url(qss/downarrow.png); + } + + QComboBox::down-arrow:on { /* shift the arrow when popup is open */ + top: 1px; + left: 1px; + } + + QComboBox QAbstractItemView { + border: 2px solid #32435E; + selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #506B79, + stop: 1.0 #0D95A6); + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #1B2534, stop: 0.4 #010101, + stop: 0.5 #000101, stop: 1.0 #1F2B3C); + } + + + + + +QCheckBox { + spacing: 5px; + } + + QCheckBox::indicator { + width: 13px; + height: 13px; + } + + QCheckBox::indicator:unchecked { + image: url(:/qss/checkbox_unchecked.png); + } + + QCheckBox::indicator:unchecked:hover { + image: url(:/qss/checkbox_unchecked_hover.png); + } + + QCheckBox::indicator:unchecked:pressed { + image: url(:/qss/checkbox_unchecked_pressed.png); + } + + QCheckBox::indicator:checked { + image: url(:/qss/checkbox_checked.png); + } + + QCheckBox::indicator:checked:hover { + image: url(:/qss/checkbox_checked_hover.png); + } + + QCheckBox::indicator:checked:pressed { + image: url(:/qss/checkbox_checked_pressed.png); + } + + QCheckBox::indicator:indeterminate:hover { + image: url(:/qss/checkbox_indeterminate_hover.png); + } + + QCheckBox::indicator:indeterminate:pressed { + image: url(:/qss/checkbox_indeterminate_pressed.png); + } + + + + + + QMenu { + background-color: #030406; + border-width:0px; + margin: 2px; + } + + QMenu::item { + background-color: #1D2838; + padding: 2px 25px 2px 20px; + border-color:transparent; + color:#858E94; + } + QMenu::item:!enabled { + background-color: #1D2838; + padding: 2px 25px 2px 20px; + border-color:transparent; + color:#76746C; + } + + QMenu::item:selected { + border-width:1px; + border-color: #516589; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #1E293A, + stop: 1.0 #2C547E); + color:#E6FFFF; + } + + QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: gray; + border: 1px inset gray; + position: absolute; + top: 1px; + right: 1px; + bottom: 1px; + left: 1px; + } + + QMenu::separator { + height: 1px; + background: #1D99A9; + /*margin-left: 10px;*/ + /*margin-right: 5px;*/ + } + + QMenu::indicator { + width: 13px; + height: 13px; + } + + /* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */ + QMenu::indicator:non-exclusive:unchecked { + image: url(qss/checkbox_unchecked.png); + } + + QMenu::indicator:non-exclusive:unchecked:selected { + image: url(qss/checkbox_unchecked_hover.png); + } + + QMenu::indicator:non-exclusive:checked { + image: url(qss/checkbox_checked.png); + } + + QMenu::indicator:non-exclusive:checked:selected { + image: url(qss/checkbox_checked_hover.png); + } + + /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ + QMenu::indicator:exclusive:unchecked { + image: url(qss/radiobutton_unchecked.png); + } + + QMenu::indicator:exclusive:unchecked:selected { + image: url(qss/radiobutton_unchecked_hover.png); + } + + QMenu::indicator:exclusive:checked { + image: url(qss/radiobutton_checked.png); + } + + QMenu::indicator:exclusive:checked:selected { + image: url(qss/radiobutton_checked_hover.png); + } + + QMenuBar { + background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #121722, stop:1 #121722); + } + + QMenuBar::item { + spacing: 3px; /* spacing between menu bar items */ + padding: 1px 4px; + background: #10151E; + border-radius: 4px; + font:#BBDDFF; + } + + QMenuBar::item:selected { /* when selected using mouse or keyboard */ + background: #1A2432; + font:#FFFFFF; + } + + QMenuBar::item:pressed { + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #10151E, stop:1 #2C547E); + font:#FFFFFF; + + } + QMenuBar::item:hover{ + border-width:1px; + border-color:#516589; + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #9979A, stop:1 #2D567F); + font:#FFFFFF; + + } + +QListView{ + border: 1px solid #32435E; + background:#050609; +} + + + + QRadioButton::indicator { + width: 13px; + height: 13px; + } + + QRadioButton::indicator::unchecked { + image: url(qss/radiobutton_unchecked.png); + } + + QRadioButton::indicator:unchecked:hover { + image: url(qss/radiobutton_unchecked_hover.png); + } + + QRadioButton::indicator:unchecked:pressed { + image: url(qss/radiobutton_unchecked_pressed.png); + } + + QRadioButton::indicator::checked { + image: url(qss/radiobutton_checked.png); + } + + QRadioButton::indicator:checked:hover { + image: url(qss/radiobutton_checked_hover.png); + } + + QRadioButton::indicator:checked:pressed { + image: url(qss/radiobutton_checked_pressed.png); + } + + + QGroupBox { + border: 1px solid #2E3D57; + border-radius: 5px; + margin-top: 1ex; /* leave space at the top for the title */ + } + + QGroupBox::title { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 0 3px; + background-color: transparent; + } + + QGroupBox::indicator { + width: 13px; + height: 13px; + } + + QGroupBox::indicator:unchecked { + image: url(qss/checkbox_unchecked.png); + } +QGroupBox::indicator:checked { + image: url(qss/checkbox_checked.png); +} + +QScrollBar:vertical { + border: 1px solid #32435E; + border-width: 0px 0px 0px 1px; + background: #21252F; + width: 12px; + margin: 12px 0 12px 0; + } + QScrollBar::handle:vertical { + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #60788C, stop:1 #1084BD); + min-height: 20px; + } + QScrollBar::add-line:vertical { + border: 1px solid #32435E; + border-width:0px 0px 0px 1px; + background:#21252F; + height: 12px; + subcontrol-position: bottom; + subcontrol-origin: margin; + } + + QScrollBar::sub-line:vertical { + border: 1px solid #32435E; + border-width:0px 0px 0px 1px; + background: #21252F; + height: 12px; + subcontrol-position: top; + subcontrol-origin: margin; + } + QScrollBar::up-arrow:vertical { + border: 1px solid transparent; + background: #21252F; + image: url(qss/up_arrow.png); + width: 7px; + height: 7px; + } + QScrollBar::up-arrow:vertical:hover,QScrollBar::up-arrow:vertical:pressed { + image: url(qss/up_arrow_hover.png); + } + + QScrollBar::down-arrow:vertical{ + border: 1px solid transparent; + background: #21252F; + image:url(qss/down_arrow.png); + width: 7px; + height: 7px; + } +QScrollBar::down-arrow:vertical:hover,QScrollBar::down-arrow:vertical:pressed{ + image: url(qss/down_arrow_hover.png); +} +QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { + background: none; +} + + + QScrollBar:horizontal { + border: 1px solid #32435E; + border-width: 1px 0px 0px 0px; + background: #21252F; + height: 12px; + margin: 0 12px 0 12px; + } + QScrollBar::handle:horizontal { + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #60788C, stop:1 #1084BD); + min-width: 20px; + } + QScrollBar::add-line:horizontal { + border: 1px solid #32435E; + border-width:1px 0px 0px 0px; + background:#21252F; + width: 12px; + subcontrol-position: right; + subcontrol-origin: margin; + } + + QScrollBar::sub-line:horizontal { + border: 1px solid #32435E; + border-width:1px 0px 0px 0px; + background: #21252F; + width: 12px; + subcontrol-position: left; + subcontrol-origin: margin; + } + QScrollBar::left-arrow:horizontal { + border: 1px solid transparent; + background: #21252F; + image: url(qss/left_arrow.png); + width: 7px; + height: 7px; + } + QScrollBar::left-arrow:horizontal:hover,QScrollBar::left-arrow:horizontal:pressed { + image: url(qss/left_arrow_hover.png); + } + + QScrollBar::right-arrow:horizontal{ + border: 1px solid transparent; + background: #21252F; + image:url(qss/right_arrow.png); + width: 7px; + height: 7px; + } +QScrollBar::right-arrow:horizontal:hover,QScrollBar::right-arrow:horizontal:pressed{ + image: url(qss/right_arrow_hover.png); +} +QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { + background: none; +} + + + + + + + + +QSpinBox,QDateTimeEdit { + border: 1px solid #32435E; + border-radius: 3px; + padding-right: 5px; /* make room for the arrows */ + /* border-image: url(qss/frame.png) 4; */ + background:qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #080B10, stop:1 #212C3F); + } + QSpinBox::hover,QDateTimeEdit::hover{ + border-color:#5D8B9E; + } + + QSpinBox::up-button, QDateTimeEdit::up-button { + subcontrol-origin: border; + subcontrol-position: top right; /* position at the top right corner */ + + width: 16px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */ + border-image: url(qss/spinup.png) 1; + border-width: 1px; + + + } + + QSpinBox::up-button:hover,QDateTimeEdit::up-button:hover { + border-image: url(qss/spinup_hover.png) 1; + } + + QSpinBox::up-button:pressed,QDateTimeEdit::up-button:pressed { + border-image: url(qss/spinup_pressed.png) 1; + } + + QSpinBox::up-arrow,QDateTimeEdit::up-arrow { + image: url(qss/up_arrow.png); + width: 7px; + height: 7px; + } + + QSpinBox::up-arrow:disabled, QSpinBox::up-arrow:off,QDateTimeEdit::up-arrow:disabled,QDateTimeEdit::up-arrow:off { /* off state when value is max */ + image: url(qss/up_arrow_disabled.png); + } + + QSpinBox::down-button,QDateTimeEdit::down-button { + subcontrol-origin: border; + subcontrol-position: bottom right; /* position at bottom right corner */ + + width: 16px; + border-image: url(qss/spindown.png) 1; + border-width: 1px; + border-top-width: 0; + } + + QSpinBox::down-button:hover,QDateTimeEdit::down-button:hover { + border-image: url(qss/spindown_hover.png) 1; + } + + QSpinBox::down-button:pressed,QDateTimeEdit::down-button:pressed { + border-image: url(qss/spindown_pressed.png) 1; + } + + QSpinBox::down-arrow,QDateTimeEdit::down-arrow { + image: url(qss/down_arrow.png); + width: 7px; + height: 7px; + } + + QSpinBox::down-arrow:disabled,QDateTimeEdit::down-arrow:disabled, + QSpinBox::down-arrow:off,QDateTimeEdit::down-arrow:off { /* off state when value in min */ + image: url(qss/down_arrow_disabled.png); + } + + + + + QToolTip { + border: 1.5px solid #179BAB; + padding: 3px; + border-radius: 8px; + opacity: 200; /*透明度*/ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #0C1016, + stop: 1.0 #233043); + } + + QStatusBar { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #07090E, + stop: 1.0 #202C3D); + } + + QStatusBar::item { + border: 1px solid #3E58A5; + border-radius: 3px; + } + +#QStatusBar QLabel { + border: 1px solid #6AF0FF; + /*background: white; */ +} + + +QSizeGrip { /*在MainWindow右下角*/ + image: url(qss/sizegrip.png); + width: 16px; + height: 16px; + } + + + + QHeaderView::section { + background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #353B43, stop:1 #151A20); + color: white; + padding-left: 4px; + border: 1px solid #447684; + } + + /* style the sort indicator */ + QHeaderView::down-arrow { + image: url(qss/down_arrow.png); + } + + QHeaderView::up-arrow { + image: url(qss/up_arrow.png); + } + QTableView { + selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, + stop: 0 #516A78, stop: 1 #10A9BA); + + gridline-color:#447684; + } + + + + +QFrame#customTitleBar{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #454F53, stop: 1.0 #135263); +} + + +QWidget#TranslucentWidget * +{ + background-color: rgba( 255, 255, 255, 100 ); +} + +QWidget#TranslucentWidget QFrame#frame +{ + border-radius: 5px; +} + +QWidget#TranslucentWidget QPushButton { + + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #5B5F5F, stop: 0.5 #0C2436, + stop: 1.0 #27405A); + background-color: rgba( 255, 255, 255, 100 ); +} + +QWidget#TranslucentWidget QPushButton::hover{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #758385, stop: 0.5 #122C39, + stop: 1.0 #0E7788); + border-color: #11505C; +} + +QWidget#TranslucentWidget QPushButton::pressed{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #969B9C, stop: 0.5 #16354B, + stop: 1.0 #244F76); + border-color: #11505C; +} + + + +QWidget#GroupChatingWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#000080; +} + +QWidget#GroupChatingWidget QLabel +{ + background: transparent; +} + +QWidget#GroupChatingWidget QFrame#mainFrame +{ + border-radius: 5px; +} + + + +QWidget#GroupChatingWidget QPushButton::hover,QWidget#GroupChatingWidget QToolButton::hover{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #758385, stop: 0.5 #122C39, + stop: 1.0 #0E7788); + border-color: #11505C; +} + +QWidget#GroupChatingWidget QPushButton::pressed,QWidget#GroupChatingWidget QToolButton::pressed{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #969B9C, stop: 0.5 #16354B, + stop: 1.0 #244F76); + border-color: #11505C; +} +QWidget#GroupChatingWidget QPushButton::disabled,QWidget#GroupChatingWidget QToolButton::disabled{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #282B2C, stop: 0.5 #09121A, + stop: 1.0 #111D29); + border-color: #0A1320; + color:#6A6864; + +} + + +QWidget#UserListWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#000080; +} + +QWidget#GroupChatinSingleWidget * +{ + background-color: rgba( 93, 93, 93, 60 ); + color:#000080; +} +QWidget#GroupChatinSingleWidget QLabel +{ + background: transparent; +} +QWidget#GroupChatingWidget QPushButton::hover,QWidget#GroupChatingWidget QToolButton::hover{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #758385, stop: 0.5 #122C39, + stop: 1.0 #0E7788); + border-color: #11505C; +} + +QWidget#GroupChatingWidget QPushButton::pressed,QWidget#GroupChatingWidget QToolButton::pressed{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #969B9C, stop: 0.5 #16354B, + stop: 1.0 #244F76); + border-color: #11505C; +} +QWidget#GroupChatingWidget QPushButton::disabled,QWidget#GroupChatingWidget QToolButton::disabled{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #282B2C, stop: 0.5 #09121A, + stop: 1.0 #111D29); + border-color: #0A1320; + color:#6A6864; + +} + +QWidget#InfoAreaWidget * +{ + background-color: rgba( 93, 93, 93, 100 ); + color:#000080; + font: 75 12pt "宋体"; +} + +QWidget#InfoAreaWidget QLabel +{ + background: transparent; +} + +QWidget#GpsLeftBottomWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#000080; +} + + +QWidget#GpsSysMenuWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#000080; +} + +QWidget#GpsRigthBottomWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#000080; +} + + + +QWidget#GpsRightTopWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#000080; +} + +QWidget#VideoImageWidget QFrame#topFrame,QWidget#VideoImageWidget QFrame#bottomFrame{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #454F53, stop: 1.0 #135263); +} + + +QWidget#NavItemMenuWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#000080; +} +QWidget#NavItemMenuWidget QLabel +{ + background: transparent; +} + diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/10.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/10.qss new file mode 100644 index 0000000..c5a94aa --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/10.qss @@ -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; +} diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/11.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/11.qss new file mode 100644 index 0000000..8065250 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/11.qss @@ -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; +} \ No newline at end of file diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/12.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/12.qss new file mode 100644 index 0000000..e69de29 diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/13.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/13.qss new file mode 100644 index 0000000..b16f734 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/13.qss @@ -0,0 +1,543 @@ +/*---------------------------------------------------------------主要设置----------------------------------------------------------------*/ + +*{ + font-size:13px; + color:white; + font-family:"宋体"; +} + +CallWidget QLineEdit#telEdt +{ + font-size:24px; + +} + +QMainWindow,QDialog{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, /*背景*/ + stop: 0 #113845, + stop: 1.0 #15A8FF); +} +QWidget{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, /*背景*/ + stop: 0 #113845, + stop: 1.0 #15A8FF); +} + +QLabel{ + background:transparent; +} + +QTreeWidget{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, /*背景*/ + stop: 0 #113845, + stop: 1.0 #15A8FF); +} + + +/*--------------------------------------------------以下为菜单的设置---------------------------------------------------------------------------*/ +/*设置整条菜单栏的颜色,现在为橙红色*/ + QMenuBar { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, /*背景*/ + stop: 0 #15A8FF, + stop: 1.0 #113845); + } + + QMenuBar::item { + spacing: 3px; /* spacing between menu bar items */ + padding: 1px 4px; + border-radius: 1px; + font:#BBDDFF; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, /*菜单最顶层如“Flie”的背景颜色*/ + stop: 0 #113845, + stop: 1.0 #15A8FF); + } + + QMenuBar::item:selected { /* when selected using mouse or keyboard */ + background: #1A2432; /*当鼠标移动到菜单项上面或者通过键盘使菜单项得到光标时显示的颜色*/ + font:#FFFFFF; + } + + QMenuBar::item:pressed { + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #10151E, stop:1 #2C547E); + font:#FFFFFF; + + } + QMenuBar::item:hover{ + border-width:1px; + border-color:#516589; + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #9979A, stop:1 #2D567F); + font:#FFFFFF; + + } + QMenu { + background-color: #030406; /*菜单下拉列表的外边框颜色*/ + border-width:0px; + margin: 2px; /*下拉列表的外边框的宽度*/ + } + + QMenu::item { + background-color: #1D2838; /*如果不加,菜单下拉列表背景颜色默认为黑色*/ + padding: 2px 25px 2px 20px; /*对应每个菜单下拉选项的文字与上一选项的距离,与左边的距离,与下一选项的距离,与右边的距离*/ + border-color:transparent; + color:#858E94; + } + QMenu::item:!enabled { /*当某项菜单不能用时*/ + background-color: #1D2838; + padding: 2px 25px 2px 20px; + border-color:transparent; + color:#76746C; /*字体颜色*/ + } + + QMenu::item:selected { /*当菜单项处于选中状态时选中时*/ + border-width:1px; + border-color: #516589; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, /*stop有两个,是设置渐变色的关键,由这两个stop的提供的颜色值混合设置渐变色*/ + stop: 0 #1E293A, + stop: 1.0 #2C547E); + color:#E6FFFF; + } + + QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: gray; + border: 1px inset gray; + position: absolute; + top: 1px; + right: 1px; + bottom: 1px; + left: 1px; + } + + QMenu::separator { /*分离器,作用暂时未知*/ + height: 1px; + background: #1D99A9; + /*margin-left: 10px;*/ + /*margin-right: 5px;*/ + } + + QMenu::indicator { /*指示符,作用暂时未知*/ + width: 13px; + height: 13px; + } + + + +/*---------------------------------------------------------------------以下为TabBar的设置-------------------------------------------------------*/ + QTabBar::tab { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #15A8FF, stop: 1.0 #113845); /*当鼠标经过tabbar的上方时所显示的颜色*/ + } +QTabBar::tab:selected{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #113845, stop: 1.0 #15A8FF); /*TabBar的某一个子窗体被选中时,它的最上面的小标题的背景颜色*/ + } +QTabBar::tab:hover { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #15A8FF, stop: 1.0 #113845); /*当鼠标经过tabbar的上方时所显示的颜色*/ + } + + + /*----------------------------------------------------------------------------在MainWindow右下角-------------------------------------------------------------------------------------------------------*/ +QSizeGrip { + + image: url(qss/sizegrip.png); + width: 16px; + height: 16px; + } + + + + /*----------------------------------------------------------------------------在TreeWidget的标题颜色设置-------------------------------------------------------------------------------------------------------*/ + QHeaderView::section { + + background:transparent; /*控件背景透明*/ + border-color: #11505C; /*改变boder的颜色,以便实现动态感觉*/ + border-style: outset; + border-width: 1px; /*boder的长度,有突出效果*/ + border-radius: 1px; + padding: 5px; /*标题宽度*/ + } + + + +/*--------------------------------------------------------------以下为QLineEdit的设置----------------------------------------------------------*/ + + +QLineEdit,QTextEdit { + border: 1px solid #32435E; + border-radius: 5px; /*控件边框的弧度,数值越大,则弯曲得越厉害*/ + /* padding: 0 8px; */ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, /*背景*/ + stop: 0 #113845, + stop: 1.0 #15A8FF); + selection-background-color: #0A246A; + +} +QLineEdit::hover{ + border-color:#5D8B9E; /*外边框的颜色*/ +} + +QLineEdit[echoMode="3"] { + lineedit-password-character: 9679; +} + +#QLineEdit:read-only { + background: #543F7C; +} + + + +/*-----------------------------------------------------------以下设置特定QToolButton的属性-----------------------------------------------------*/ + + +QToolButton[objectName="minimizeToolBtn"] { /*为特定控件名的按钮单独设置属性*/ + background: transparent; + border:none; + image:url(qss/minimize.png) +} +QToolButton[objectName="minimizeToolBtn"]:hover,QToolButton[objectName="minimizeToolBtn"]:pressed {/*为特定控件名的按钮单独设置属性*/ + image:url(qss/minimize_hover.png) +} + + + + +/*---------------------------------------------------------以下设置pushbutton的样式-------------------------------------------------*/ +QPushButton{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, /*三个坐标对应的是上。中。下的background的颜色*/ + stop: 0 #122C39, stop: 0.5 #758385, + stop: 1.0 #15A8FF); + border-color: #11505C; /*改变boder的颜色,以便实现动态感觉*/ + border-style: outset; + border-width: 5px; /*boder的长度,有突出效果*/ + border-radius: 1px; + padding: 1px; +} + +QPushButton::hover{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #5B5F5F, stop: 0.5 #0C2436, + stop: 1.0 #27405A); + border-color: #11223F; /*boder的颜色,boder跟background做对比设置可以有较明显效果*/ + +} + +QPushButton::pressed{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #969B9C, stop: 0.5 #16354B, + stop: 1.0 #244F76); + border-color: #11505C; +} +QPushButton::disabled{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #282B2C, stop: 0.5 #09121A, + stop: 1.0 #111D29); + border-color: #0A1320; + color:#6A6864; + +} + + + +QDialog QPushButton,QDialog QToolButton{ + min-width:30px; + min-height:23px; +} + +/*----------------------------------------------------------------以下设置QToolButton------------------------------------------------------*/ + QToolButton{ + min-width:30px; + min-height:23px; +} + +/*----------------------------------------------------------------以下设置QComboBox------------------------------------------------------*/ + + +QComboBox { + min-width: 6em; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, /*三个坐标对应的是上。中。下的background的颜色*/ + stop: 0 #122C39, stop: 0.5 #758385, + stop: 1.0 #15A8FF); + border-color: #11505C; /*改变boder的颜色,以便实现动态感觉*/ + border-style: outset; + border-width: 5px; /*boder的长度,有突出效果*/ + border-radius: 1px; + padding: 1px; + } +QComboBox::hover{ + border-color:#5D8B9E; +} + + + QComboBox:editable { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F); + } + + QComboBox:!editable, QComboBox::drop-down:editable { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F); + } + + /* QComboBox gets the "on" state when the popup is open */ + QComboBox:!editable:on, QComboBox::drop-down:editable:on { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F);; + } + + QComboBox:on { /* shift the text when the popup opens */ + padding-top: 3px; + padding-left: 4px; + } + QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; + width: 15px; + + border-left-width: 1px; + border-left-color: 32435E; + border-left-style: solid; /* just a single line */ + border-top-right-radius: 3px; /* same radius as the QComboBox */ + border-bottom-right-radius: 3px; + } + + QComboBox::down-arrow { + image: url(qss/downarrow.png); + } + + QComboBox::down-arrow:on { /* shift the arrow when popup is open */ + top: 1px; + left: 1px; + } + + QComboBox QAbstractItemView { + border: 2px solid #32435E; + selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #506B79, + stop: 1.0 #0D95A6); + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #1B2534, stop: 0.4 #010101, + stop: 0.5 #000101, stop: 1.0 #1F2B3C); + } + +/*--------------------------------------------------设置QStatusBar---------------------------------------------------------------------------*/ + QStatusBar { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, /*背景*/ + stop: 0 #113845, + stop: 1.0 #15A8FF); + } + + QStatusBar::item { + border: 1px solid #3E58A5; + border-radius: 3px; + } + +#QStatusBar QLabel { + border: 1px solid #6AF0FF; + /*background: white; */ +} + +/*-----------------------------------------------------------以下设置checkbox--------------------------------------------------------------*/ +QCheckBox { + spacing: 5px; + background:transparent; /*控件背景透明*/ + } + + QCheckBox::indicator { + width: 13px; + height: 13px; + } + + QCheckBox::indicator:unchecked { + image: url(:/qss/checkbox_unchecked.png); + } + + QCheckBox::indicator:unchecked:hover { + image: url(:/qss/checkbox_unchecked_hover.png); + } + + QCheckBox::indicator:unchecked:pressed { + image: url(:/qss/checkbox_unchecked_pressed.png); + } + + QCheckBox::indicator:checked { + image: url(:/qss/checkbox_checked.png); + } + + QCheckBox::indicator:checked:hover { + image: url(:/qss/checkbox_checked_hover.png); + } + + QCheckBox::indicator:checked:pressed { + image: url(:/qss/checkbox_checked_pressed.png); + } + + QCheckBox::indicator:indeterminate:hover { + image: url(:/qss/checkbox_indeterminate_hover.png); + } + + QCheckBox::indicator:indeterminate:pressed { + image: url(:/qss/checkbox_indeterminate_pressed.png); + } + + +/*-----------------------------------------------------------以下设置QRadioButton-----------------------------------------------------------*/ + + QRadioButton { + width: 13px; + height: 13px; + background:transparent; + } + + QRadioButton::indicator { + width: 13px; + height: 13px; + background:transparent; + } + + QRadioButton::indicator::unchecked { + image: url(qss/radiobutton_unchecked.png); + } + + QRadioButton::indicator:unchecked:hover { + image: url(qss/radiobutton_unchecked_hover.png); + } + + QRadioButton::indicator:unchecked:pressed { + image: url(qss/radiobutton_unchecked_pressed.png); + } + + QRadioButton::indicator::checked { + image: url(qss/radiobutton_checked.png); + } + + QRadioButton::indicator:checked:hover { + image: url(qss/radiobutton_checked_hover.png); + } + + QRadioButton::indicator:checked:pressed { + image: url(qss/radiobutton_checked_pressed.png); + } + + +/*--------------------------------------------------------以下设置QScrollBar------------------------------------------------------*/ + +QScrollBar:vertical { /*垂直的QScrollBar*/ + border: 1px solid #32435E; + border-width: 0px 0px 0px 1px; + background: #21252F; + width: 12px; + margin: 12px 0 12px 0; + } + QScrollBar::handle:vertical { /*handle处理*/ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #60788C, stop:1 #1084BD); + min-height: 20px; + } + QScrollBar::add-line:vertical { + border: 1px solid #32435E; + border-width:0px 0px 0px 1px; + background:#21252F; + height: 12px; + subcontrol-position: bottom; + subcontrol-origin: margin; + } + + QScrollBar::sub-line:vertical { + border: 1px solid #32435E; + border-width:0px 0px 0px 1px; + background: #21252F; + height: 12px; + subcontrol-position: top; + subcontrol-origin: margin; + } + QScrollBar::up-arrow:vertical { + border: 1px solid transparent; + background: #21252F; + image: url(qss/up_arrow.png); + width: 7px; + height: 7px; + } + QScrollBar::up-arrow:vertical:hover,QScrollBar::up-arrow:vertical:pressed { + image: url(qss/up_arrow_hover.png); + } + + QScrollBar::down-arrow:vertical{ + border: 1px solid transparent; + background: #21252F; + image:url(qss/down_arrow.png); + width: 7px; + height: 7px; + } +QScrollBar::down-arrow:vertical:hover,QScrollBar::down-arrow:vertical:pressed{ + image: url(qss/down_arrow_hover.png); +} +QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { + background: none; +} + + + QScrollBar:horizontal { /*水平的QScrollBar*/ + border: 1px solid #32435E; + border-width: 1px 0px 0px 0px; + background: #21252F; + height: 12px; + margin: 0 12px 0 12px; + } + QScrollBar::handle:horizontal { + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #60788C, stop:1 #1084BD); + min-width: 20px; + } + QScrollBar::add-line:horizontal { + border: 1px solid #32435E; + border-width:1px 0px 0px 0px; + background:#21252F; + width: 12px; + subcontrol-position: right; + subcontrol-origin: margin; + } + + QScrollBar::sub-line:horizontal { + border: 1px solid #32435E; + + + border-width:1px 0px 0px 0px; + background: #21252F; + width: 12px; + subcontrol-position: left; + subcontrol-origin: margin; + } + QScrollBar::left-arrow:horizontal { + border: 1px solid transparent; + background: #21252F; + image: url(qss/left_arrow.png); + width: 7px; + height: 7px; + } + QScrollBar::left-arrow:horizontal:hover,QScrollBar::left-arrow:horizontal:pressed { + image: url(qss/left_arrow_hover.png); + } + + QScrollBar::right-arrow:horizontal{ + border: 1px solid transparent; + background: #21252F; + image:url(qss/right_arrow.png); + width: 7px; + height: 7px; + } +QScrollBar::right-arrow:horizontal:hover,QScrollBar::right-arrow:horizontal:pressed{ + image: url(qss/right_arrow_hover.png); +} +QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { + background: none; +} + + + + + diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/14.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/14.qss new file mode 100644 index 0000000..3b374f1 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/14.qss @@ -0,0 +1,148 @@ +QFrame { + background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0.960396, y2:0.949, stop:0 rgba(88, 245, 227, 255), stop:0.0940594 rgba(132, 246, 239, 255), stop:0.143564 rgba(130, 246, 233, 255), stop:0.222772 rgba(158, 249, 234, 255), stop:0.25 rgba(144, 248, 248, 255), stop:0.292079 rgba(173, 251, 252, 255), stop:0.326733 rgba(156, 248, 241, 255), stop:0.475248 rgba(158, 230, 226, 255), stop:0.554455 rgba(135, 251, 242, 255), stop:0.628713 rgba(139, 226, 226, 255), stop:0.805 rgba(150, 245, 242, 255), stop:0.866337 rgba(186, 254, 243, 255), stop:0.915842 rgba(188, 254, 250, 255), stop:1 rgba(190, 255, 248, 255)); + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; + +} + +QMainWindow{ + background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0.960396, y2:0.949, stop:0 rgba(88, 245, 227, 255), stop:0.0940594 rgba(132, 246, 239, 255), stop:0.143564 rgba(130, 246, 233, 255), stop:0.222772 rgba(158, 249, 234, 255), stop:0.25 rgba(144, 248, 248, 255), stop:0.292079 rgba(173, 251, 252, 255), stop:0.326733 rgba(156, 248, 241, 255), stop:0.475248 rgba(158, 230, 226, 255), stop:0.554455 rgba(135, 251, 242, 255), stop:0.628713 rgba(139, 226, 226, 255), stop:0.805 rgba(150, 245, 242, 255), stop:0.866337 rgba(186, 254, 243, 255), stop:0.915842 rgba(188, 254, 250, 255), stop:1 rgba(190, 255, 248, 255)); + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; + +} + +QWidget{ + background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0.960396, y2:0.949, stop:0 rgba(88, 245, 227, 255), stop:0.0940594 rgba(132, 246, 239, 255), stop:0.143564 rgba(130, 246, 233, 255), stop:0.222772 rgba(158, 249, 234, 255), stop:0.25 rgba(144, 248, 248, 255), stop:0.292079 rgba(173, 251, 252, 255), stop:0.326733 rgba(156, 248, 241, 255), stop:0.475248 rgba(158, 230, 226, 255), stop:0.554455 rgba(135, 251, 242, 255), stop:0.628713 rgba(139, 226, 226, 255), stop:0.805 rgba(150, 245, 242, 255), stop:0.866337 rgba(186, 254, 243, 255), stop:0.915842 rgba(188, 254, 250, 255), stop:1 rgba(190, 255, 248, 255)); + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; +} + +QMenu{ + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; +background-color: qconicalgradient(cx:0.5, cy:0.5, angle:0, stop:0 rgba(35, 40, 3, 255), stop:0.16 rgba(136, 106, 22, 255), stop:0.225 rgba(166, 140, 41, 255), stop:0.285 rgba(204, 181, 74, 255), stop:0.345 rgba(235, 219, 102, 255), stop:0.415 rgba(245, 236, 112, 255), stop:0.52 rgba(209, 190, 76, 255), stop:0.57 rgba(187, 156, 51, 255), stop:0.635 rgba(168, 142, 42, 255), stop:0.695 rgba(202, 174, 68, 255), stop:0.75 rgba(218, 202, 86, 255), stop:0.815 rgba(208, 187, 73, 255), stop:0.88 rgba(187, 156, 51, 255), stop:0.935 rgba(137, 108, 26, 255), stop:1 rgba(35, 40, 3, 255)); + border-width: 2px; + border-color: rgb(255, 255, 255); + border-style: solid; + border-radius: 8; + padding: 5px; + +} + + +QTreeView{ + background-color: rgb(255, 252, 144); + border-width: 2px; + border-color: rgb(255, 255, 255); + border-style: solid; + border-radius: 10; + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; +} + + +QPushButton { + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; + border-width: 2px; + background-color: rgb(170, 170, 0); + border-style: solid; + border-radius: 10; + padding: 3px; + min-width: 9ex; + min-height: 2.5ex; +} + +QPushButton:hover { + + padding-left: 5px; + padding-top: 5px; +} + +QPushButton:pressed { + color:white; + +} + + +QLabel { + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; +} + +QLineEdit{ + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; + background-color: rgb(255, 252, 144); + border-width: 2px; + border-color: rgb(255, 255, 255); + border-style: solid; + border-radius: 5; + padding: 3px; +} + + +QComboBox{ + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; + border-width: 2px; + background-color: rgb(170, 170, 0); + border-color: rgb(255, 255, 255); + border-style: solid; + border-radius: 5; +} +QComboBox:hover{ + +} + +QDoubleSpinBox { + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; + border-width: 2px; + background-color: rgb(170, 170, 0); + border-color: rgb(255, 255, 255); + border-style: solid; + border-radius: 5; + +} + + +QCheckBox{ + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; + border-width: 2px; + background-color: rgb(170, 170, 0); + border-color: rgb(255, 255, 255); + border-style: solid; + border-radius: 5; +} +QCheckBox:hover{ + color:white; +} +QCheckBox:checked{ + +} + + + +QRadioButton{ + color: rgb(0, 0, 0); + font: 75 11pt "Bitstream Charter"; + border-width: 2px; + background-color: rgb(170, 170, 0); + border-color: rgb(255, 255, 255); + border-style: solid; + border-radius: 5; +} +QRadioButton:checked { + +} +QRadioButton:hover { + color:white; +} + + + + + diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/15.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/15.qss new file mode 100644 index 0000000..5a50878 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/15.qss @@ -0,0 +1,161 @@ +QFrame { + background-color: rgb(79, 149, 255); + color:black; + font: 75 12pt "Century Schoolbook L"; + +} + +QMainWindow{ + background-color: rgb(79, 149, 255); + color:black; + border-style: solid; + border-radius: 10; + font: 75 12pt "Century Schoolbook L"; +} + +QWidget{ + + background-color: rgb(79, 149, 255); + color:black; + border-style: solid; + border-radius: 10; + font: 75 12pt "Century Schoolbook L"; + +} + +QMenu{ + color:white; + background-color: rgb(79, 149, 255); + border-width: 2px; + border-color: seagreen; + border-style: solid; + border-radius: 8; + padding: 5px; + font: italic 12pt "URW Chancery L"; + +} + +QSpinBox{ + background-color: white; + color:black; + border-radius: 5; + padding: 3px; + min-width: 9ex; + min-height: 2.5ex; + font: 75 12pt "Century Schoolbook L"; + +} + + +QTreeView{ + color:black; + background-color: rgb(79, 149, 255); + border-width: 2px; + border-color: seagreen; + border-style: solid; + border-radius: 10; + font: 75 12pt "Century Schoolbook L"; +} + +QComboBox{ + background-color: yellowgreen; + border-width: 2px; + border-color: seagreen; + border-style: solid; + border-radius: 5; + font: italic 12pt "URW Chancery L"; +} +QComboBox:hover{ + background-color: qlineargradient(spread:repeat, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(130, 111, 111, 255), stop:1 rgba(255, 255, 255, 255)); +} + + +QPushButton { + color:black; + background-color: qlineargradient(spread:pad, x1:0.536868, y1:0, x2:0.524, y2:1, stop:0 rgba(90, 90, 90, 255), stop:0.51752 rgba(255, 255, 255, 255), stop:1 rgba(0, 0, 0, 255)); + border-width: 2px; + border-color: seagreen; + border-style: solid; + border-radius: 10; + padding: 3px; + min-width: 9ex; + min-height: 2.5ex; + font: 75 12pt "Century Schoolbook L"; +} + +QPushButton:hover { + background-color: qlineargradient(spread:repeat, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(130, 111, 111, 255), stop:1 rgba(255, 255, 255, 255)); +} + +QPushButton:pressed { + padding-left: 5px; + padding-top: 5px; + background-color: qlineargradient(spread:reflect, x1:0.908727, y1:0.069, x2:1, y2:0, stop:0 rgba(53, 85, 11, 255), stop:1 rgba(255, 255, 255, 255)); +} + +QLineEdit{ + + background-color: white; + border-width: 2px; + border-color: seagreen; + border-style: solid; + border-radius: 10; + padding: 3px; +} + + + +QLabel { + color:white; +} + + + +QDoubleSpinBox { + color:white; + background-color: yellowgreen; + border-width: 2px; + border-color: seagreen; + border-style: solid; + border-radius:5; + +} + + +QCheckBox{ + color:black; + background-color: qlineargradient(spread:pad, x1:0.536868, y1:0, x2:0.524, y2:1, stop:0 rgba(90, 90, 90, 255), stop:0.51752 rgba(255, 255, 255, 255), stop:1 rgba(0, 0, 0, 255)); + border-width: 2px; + border-color: seagreen; + border-style: solid; + border-radius: 5; + padding: 3px; + min-width: 9ex; + min-height: 2.5ex; +} +QCheckBox:hover{ + background-color: qlineargradient(spread:repeat, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(130, 111, 111, 255), stop:1 rgba(255, 255, 255, 255)); +} +QCheckBox:checked{ + color: rgb(12, 1, 170); +} + + + +QRadioButton{ + color:white; + background-color: yellowgreen; + border-width: 2px; + border-color: seagreen; + border-style: solid; + border-radius: 10; + padding: 3px; +} +QRadioButton:checked { + color: rgb(12, 1, 170); +} +QRadioButton:hover { + color:white; + background-color: qlineargradient(spread:repeat, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(130, 111, 111, 255), stop:1 rgba(255, 255, 255, 255)); +} + diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/16.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/16.qss new file mode 100644 index 0000000..2f127e7 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/16.qss @@ -0,0 +1,564 @@ +/* +Ubuntu Style Sheet for QT Applications +Author: Jaime A. Quiroga P. +Company: GTRONICK +Last updated: 09/10/2019 (dd/mm/yyyy), 12:31. +Available at: https://github.com/GTRONICK/QSS/blob/master/Ubuntu.qss +*/ +QMainWindow { + background-color:#f0f0f0; +} +QCheckBox { + padding:2px; +} +QCheckBox:hover { + border-radius:4px; + border-style:solid; + border-width:1px; + padding-left: 1px; + padding-right: 1px; + padding-bottom: 1px; + padding-top: 1px; + border-color: rgb(255,150,60); + 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-radius:4px; + border-style:solid; + border-width:1px; + border-color: rgb(246, 134, 86); + background-color:rgb(246, 134, 86) +} +QCheckBox::indicator:unchecked { + border-radius:4px; + border-style:solid; + border-width:1px; + border-color:rgb(246, 134, 86); + background-color:rgb(255,255,255); +} +QColorDialog { + background-color:#f0f0f0; +} +QComboBox { + color:rgb(81,72,65); + background: #ffffff; +} +QComboBox:editable { + background: #ffffff; + color: rgb(81,72,65); + selection-color:rgb(81,72,65); + selection-background-color: #ffffff; +} +QComboBox QAbstractItemView { + color:rgb(81,72,65); + background: #ffffff; + selection-color: #ffffff; + selection-background-color: rgb(246, 134, 86); +} +QComboBox:!editable:on, QComboBox::drop-down:editable:on { + color: #1e1d23; + background: #ffffff; +} +QDateTimeEdit { + color:rgb(81,72,65); + background-color: #ffffff; +} +QDateEdit { + color:rgb(81,72,65); + background-color: #ffffff; +} +QDialog { + background-color:#f0f0f0; +} +QDoubleSpinBox { + color:rgb(81,72,65); + background-color: #ffffff; +} +QFontComboBox { + color:rgb(81,72,65); + background-color: #ffffff; +} +QLabel { + color:rgb(17,17,17); +} +QLineEdit { + background-color:rgb(255,255,255); + selection-background-color:rgb(236,116,64); + color:rgb(17,17,17); +} +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-left:20px; + padding-top:4px; + padding-bottom:4px; + padding-right:10px; +} +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-left:17px; + padding-top:4px; + padding-bottom:4px; + padding-right:7px; + 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-width: 1px; + border-style: solid; + border-color:transparent; + color:rgb(17,17,17); + selection-background-color:rgb(236,116,64); +} +QProgressBar { + text-align: center; + color: rgb(0, 0, 0); + border-width: 1px; + border-radius: 10px; + border-style: inset; + border-color: rgb(150,150,150); + 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-style: solid; + border-radius:8px; + border-width:1px; + 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: #FFFFFF; + 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 { + background: white; +} +QSlider::add-page:vertical { + background: white; +} +QSlider::sub-page:horizontal { + background: rgb(246, 134, 86); +} +QSlider::sub-page:vertical { + background: rgb(246, 134, 86); +} +QStatusBar { + color:rgb(81,72,65); +} +QSpinBox { + color:rgb(81,72,65); + background-color: #ffffff; +} +QScrollBar:horizontal { + max-height: 20px; + border: 1px transparent grey; + margin: 0px 20px 0px 20px; +} +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(255,150,60); + border-radius: 7px; + min-width: 25px; +} +QScrollBar::add-line:horizontal { + border: 1px solid; + border-color: 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; + border-top-right-radius: 7px; + border-top-left-radius: 7px; + border-bottom-right-radius: 7px; + border-color: rgb(255,150,60); + 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; + border-color: 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; + border-color: 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; + border-color: 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; + border-color: 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-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(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 { + color:rgb(81,72,65); + background-color: #ffffff; +} +QToolBox { + color:rgb(81,72,65); + background-color: #ffffff; +} +QToolBox::tab { + color:rgb(81,72,65); + background-color: #ffffff; +} +QToolBox::tab:selected { + color:rgb(81,72,65); + background-color: #ffffff; +} diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/17.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/17.qss new file mode 100644 index 0000000..e7cecf2 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/17.qss @@ -0,0 +1,968 @@ +/* +* The MIT License (MIT) +* +* Copyright : http://blog.csdn.net/liang19890820 +* +* Author : 一去丶二三里 +* +* Date : 2016/07/22 +* +* Description : 白色靓丽 +* +*/ + +/**********子界面背景**********/ +QWidget#customWidget { + background: rgb(173, 202, 232); +} + +/**********子界面中央背景**********/ +QWidget#centerWidget { + background: rgb(232, 241, 252); +} + +/**********主界面样式**********/ +QWidget#mainWindow { + border: 1px solid rgb(111, 156, 207); + background: rgb(232, 241, 252); +} + +QWidget#messageWidget { + background: rgba(173, 202, 232, 50%); +} + +QWidget#loadingWidget { + border: none; + border-radius: 5px; + background: rgb(187, 212, 238); +} + +QWidget#remoteWidget { + border-top-right-radius: 10px; + border-bottom-right-radius: 10px; + border: 1px solid rgb(111, 156, 207); + border-left: none; + background: transparent; +} + +StyledWidget { + qproperty-normalColor: rgb(65, 65, 65); + qproperty-disableColor: rgb(180, 180, 180); + qproperty-highlightColor: rgb(0, 160, 230); + qproperty-errorColor: red; +} + +QProgressIndicator { + qproperty-color: rgb(2, 65, 132); +} + +/**********提示**********/ +QToolTip{ + border: 1px solid rgb(111, 156, 207); + background: white; + color: rgb(51, 51, 51); +} + +/**********菜单栏**********/ +QMenuBar { + background: rgb(187, 212, 238); + border: 1px solid rgb(111, 156, 207); + border-left: none; + border-right: none; +} +QMenuBar::item { + border: 1px solid transparent; + padding: 5px 10px 5px 10px; + background: transparent; +} +QMenuBar::item:enabled { + color: rgb(2, 65, 132); +} +QMenuBar::item:!enabled { + color: rgb(155, 155, 155); +} +QMenuBar::item:enabled:selected { + border-top-color: rgb(111, 156, 207); + border-bottom-color: rgb(111, 156, 207); + background: rgb(198, 224, 252); +} + +/**********菜单**********/ +QMenu { + border: 1px solid rgb(111, 156, 207); + background: rgb(232, 241, 250); +} +QMenu::item { + height: 22px; + padding: 0px 25px 0px 20px; +} +QMenu::item:enabled { + color: rgb(84, 84, 84); +} +QMenu::item:!enabled { + color: rgb(155, 155, 155); +} +QMenu::item:enabled:selected { + color: rgb(2, 65, 132); + background: rgba(255, 255, 255, 200); +} +QMenu::separator { + height: 1px; + background: rgb(111, 156, 207); +} +QMenu::indicator { + width: 13px; + height: 13px; +} +QMenu::icon { + padding-left: 2px; + padding-right: 2px; +} + +/**********状态栏**********/ +QStatusBar { + background: rgb(187, 212, 238); + border: 1px solid rgb(111, 156, 207); + border-left: none; + border-right: none; + border-bottom: none; +} +QStatusBar::item { + border: none; + border-right: 1px solid rgb(111, 156, 207); +} + +/**********分组框**********/ +QGroupBox { + font-size: 15px; + border: 1px solid rgb(111, 156, 207); + border-radius: 4px; + margin-top: 10px; +} +QGroupBox::title { + color: rgb(56, 99, 154); + top: -12px; + left: 10px; +} + +/**********页签项**********/ +QTabWidget::pane { + border: none; + border-top: 3px solid rgb(0, 78, 161); + background: rgb(187, 212, 238); +} +QTabWidget::tab-bar { + border: none; +} +QTabBar::tab { + border: none; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + color: white; + background: rgb(120, 170, 220); + height: 28px; + min-width: 85px; + margin-right: 5px; + padding-left: 5px; + padding-right: 5px; +} +QTabBar::tab:hover { + background: rgb(0, 78, 161); +} +QTabBar::tab:selected { + color: white; + background: rgb(0, 78, 161); +} + +QTabWidget#tabWidget::pane { + border: 1px solid rgb(111, 156, 207); + background: rgb(232, 241, 252); + margin-top: -1px; +} + +QTabBar#tabBar::tab { + border: 1px solid rgb(111, 156, 207); + border-bottom: none; + color: rgb(70, 71, 73); + background: transparent; +} +QTabBar#tabBar::tab:hover { + color: rgb(2, 65, 132); +} +QTabBar#tabBar::tab:selected { + color: rgb(2, 65, 132); + background: rgb(232, 241, 252); +} + +/**********表头**********/ +QHeaderView{ + border: none; + border-bottom: 3px solid rgb(0, 78, 161); + background: transparent; + min-height: 30px; +} +QHeaderView::section:horizontal { + border: none; + color: rgb(2, 65, 132); + background: transparent; + padding-left: 5px; +} +QHeaderView::section:horizontal:hover { + color: white; + background: rgb(0, 78, 161); +} +QHeaderView::section:horizontal:pressed { + color: white; + background: rgb(6, 94, 187); +} +QHeaderView::up-arrow { + width: 13px; + height: 11px; + padding-right: 5px; + image: url(:/White/topArrow); + subcontrol-position: center right; +} +QHeaderView::up-arrow:hover, QHeaderView::up-arrow:pressed { + image: url(:/White/topArrowHover); +} +QHeaderView::down-arrow { + width: 13px; + height: 11px; + padding-right: 5px; + image: url(:/White/bottomArrow); + subcontrol-position: center right; +} +QHeaderView::down-arrow:hover, QHeaderView::down-arrow:pressed { + image: url(:/White/bottomArrowHover); +} + +/**********表格**********/ +QTableView { + border: 1px solid rgb(111, 156, 207); + background: rgb(224, 238, 255); + gridline-color: rgb(111, 156, 207); +} +QTableView::item { + padding-left: 5px; + padding-right: 5px; + border: none; + background: white; + border-right: 1px solid rgb(111, 156, 207); + border-bottom: 1px solid rgb(111, 156, 207); +} +QTableView::item:selected { + background: rgba(255, 255, 255, 100); +} +QTableView::item:selected:!active { + color: rgb(65, 65, 65); +} +QTableView::indicator { + width: 20px; + height: 20px; +} +QTableView::indicator:enabled:unchecked { + image: url(:/White/checkBox); +} +QTableView::indicator:enabled:unchecked:hover { + image: url(:/White/checkBoxHover); +} +QTableView::indicator:enabled:unchecked:pressed { + image: url(:/White/checkBoxPressed); +} +QTableView::indicator:enabled:checked { + image: url(:/White/checkBoxChecked); +} +QTableView::indicator:enabled:checked:hover { + image: url(:/White/checkBoxCheckedHover); +} +QTableView::indicator:enabled:checked:pressed { + image: url(:/White/checkBoxCheckedPressed); +} +QTableView::indicator:enabled:indeterminate { + image: url(:/White/checkBoxIndeterminate); +} +QTableView::indicator:enabled:indeterminate:hover { + image: url(:/White/checkBoxIndeterminateHover); +} +QTableView::indicator:enabled:indeterminate:pressed { + image: url(:/White/checkBoxIndeterminatePressed); +} + +/**********滚动条-水平**********/ +QScrollBar:horizontal { + height: 20px; + background: transparent; + margin-top: 3px; + margin-bottom: 3px; +} +QScrollBar::handle:horizontal { + height: 20px; + min-width: 30px; + background: rgb(170, 200, 230); + margin-left: 15px; + margin-right: 15px; +} +QScrollBar::handle:horizontal:hover { + background: rgb(165, 195, 225); +} +QScrollBar::sub-line:horizontal { + width: 15px; + background: transparent; + image: url(:/White/arrowLeft); + subcontrol-position: left; +} +QScrollBar::add-line:horizontal { + width: 15px; + background: transparent; + image: url(:/White/arrowRight); + subcontrol-position: right; +} +QScrollBar::sub-line:horizontal:hover { + background: rgb(170, 200, 230); +} +QScrollBar::add-line:horizontal:hover { + background: rgb(170, 200, 230); +} +QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal { + background: transparent; +} + +/**********滚动条-垂直**********/ +QScrollBar:vertical { + width: 20px; + background: transparent; + margin-left: 3px; + margin-right: 3px; +} +QScrollBar::handle:vertical { + width: 20px; + min-height: 30px; + background: rgb(170, 200, 230); + margin-top: 15px; + margin-bottom: 15px; +} +QScrollBar::handle:vertical:hover { + background: rgb(165, 195, 225); +} +QScrollBar::sub-line:vertical { + height: 15px; + background: transparent; + image: url(:/White/topArrow); + subcontrol-position: top; +} +QScrollBar::add-line:vertical { + height: 15px; + background: transparent; + image: url(:/White/bottomArrow); + subcontrol-position: bottom; +} +QScrollBar::sub-line:vertical:hover { + background: rgb(170, 200, 230); +} +QScrollBar::add-line:vertical:hover { + background: rgb(170, 200, 230); +} +QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { + background: transparent; +} + +QScrollBar#verticalScrollBar:vertical { + margin-top: 30px; +} + +/**********下拉列表**********/ +QComboBox { + height: 25px; + border-radius: 4px; + border: 1px solid rgb(111, 156, 207); + background: white; +} +QComboBox:enabled { + color: rgb(84, 84, 84); +} +QComboBox:!enabled { + color: rgb(80, 80, 80); +} +QComboBox:enabled:hover, QComboBox:enabled:focus { + color: rgb(51, 51, 51); +} +QComboBox::drop-down { + width: 20px; + border: none; + background: transparent; +} +QComboBox::drop-down:hover { + background: rgba(255, 255, 255, 30); +} +QComboBox::down-arrow { + image: url(:/White/arrowBottom); +} +QComboBox::down-arrow:on { + /**top: 1px;**/ +} +QComboBox QAbstractItemView { + border: 1px solid rgb(111, 156, 207); + background: white; + outline: none; +} +QComboBox QAbstractItemView::item { + height: 25px; + color: rgb(73, 73, 73); +} +QComboBox QAbstractItemView::item:selected { + background: rgb(232, 241, 250); + color: rgb(2, 65, 132); +} + +/**********进度条**********/ +QProgressBar{ + border: none; + text-align: center; + color: white; + background: rgb(173, 202, 232); +} +QProgressBar::chunk { + background: rgb(16, 135, 209); +} + +QProgressBar#progressBar { + border: none; + text-align: center; + color: white; + background-color: transparent; + background-image: url(":/White/progressBar"); + background-repeat: repeat-x; +} +QProgressBar#progressBar::chunk { + border: none; + background-color: transparent; + background-image: url(":/White/progressBarChunk"); + background-repeat: repeat-x; +} + +/**********复选框**********/ +QCheckBox{ + spacing: 5px; +} +QCheckBox:enabled:checked{ + color: rgb(2, 65, 132); +} +QCheckBox:enabled:!checked{ + color: rgb(70, 71, 73); +} +QCheckBox:enabled:hover{ + color: rgb(0, 78, 161); +} +QCheckBox:!enabled{ + color: rgb(80, 80, 80); +} +QCheckBox::indicator { + width: 20px; + height: 20px; +} +QCheckBox::indicator:unchecked { + image: url(:/White/checkBox); +} +QCheckBox::indicator:unchecked:hover { + image: url(:/White/checkBoxHover); +} +QCheckBox::indicator:unchecked:pressed { + image: url(:/White/checkBoxPressed); +} +QCheckBox::indicator:checked { + image: url(:/White/checkBoxChecked); +} +QCheckBox::indicator:checked:hover { + image: url(:/White/checkBoxCheckedHover); +} +QCheckBox::indicator:checked:pressed { + image: url(:/White/checkBoxCheckedPressed); +} +QCheckBox::indicator:indeterminate { + image: url(:/White/checkBoxIndeterminate); +} +QCheckBox::indicator:indeterminate:hover { + image: url(:/White/checkBoxIndeterminateHover); +} +QCheckBox::indicator:indeterminate:pressed { + image: url(:/White/checkBoxIndeterminatePressed); +} + +/**********单选框**********/ +QRadioButton{ + spacing: 5px; +} +QRadioButton:enabled:checked{ + color: rgb(2, 65, 132); +} +QRadioButton:enabled:!checked{ + color: rgb(70, 71, 73); +} +QRadioButton:enabled:hover{ + color: rgb(0, 78, 161); +} +QRadioButton:!enabled{ + color: rgb(80, 80, 80); +} +QRadioButton::indicator { + width: 20px; + height: 20px; +} +QRadioButton::indicator:unchecked { + image: url(:/White/radioButton); +} +QRadioButton::indicator:unchecked:hover { + image: url(:/White/radioButtonHover); +} +QRadioButton::indicator:unchecked:pressed { + image: url(:/White/radioButtonPressed); +} +QRadioButton::indicator:checked { + image: url(:/White/radioButtonChecked); +} +QRadioButton::indicator:checked:hover { + image: url(:/White/radioButtonCheckedHover); +} +QRadioButton::indicator:checked:pressed { + image: url(:/White/radioButtonCheckedPressed); +} + +/**********输入框**********/ +QLineEdit { + border-radius: 4px; + height: 25px; + border: 1px solid rgb(111, 156, 207); + background: white; +} +QLineEdit:enabled { + color: rgb(84, 84, 84); +} +QLineEdit:enabled:hover, QLineEdit:enabled:focus { + color: rgb(51, 51, 51); +} +QLineEdit:!enabled { + color: rgb(80, 80, 80); +} + +/**********文本编辑框**********/ +QTextEdit { + border: 1px solid rgb(111, 156, 207); + color: rgb(70, 71, 73); + background: rgb(187, 212, 238); +} + + +QPlainTextEdit { + border: 1px solid rgb(111, 156, 207); + color: rgb(70, 71, 73); + background: rgb(255, 255, 255); +} + +/**********文本浏览框**********/ +QTextBrowser { + border: 1px solid rgb(111, 156, 207); + color: rgb(70, 71, 73); + background: rgb(255, 255, 255); +} + +/**********滚动区域**********/ +QScrollArea { + border: 1px solid rgb(111, 156, 207); + background: rgb(187, 212, 238); +} + +/**********滚动区域**********/ +QWidget#transparentWidget { + background: transparent; +} + +/**********微调器**********/ +QSpinBox { + border-radius: 4px; + height: 24px; + min-width: 40px; + border: 1px solid rgb(111, 156, 207); + background: white; +} +QSpinBox:enabled { + color: rgb(60, 60, 60); +} +QSpinBox:enabled:hover, QSpinBox:enabled:focus { + color: rgb(51, 51, 51); +} +QSpinBox:!enabled { + color: rgb(210, 210, 210); + background: transparent; +} +QSpinBox::up-button { + border-left: 1px solid rgb(111, 156, 207); + width: 18px; + height: 12px; + border-top-right-radius: 4px; + image: url(:/White/upButton); +} +QSpinBox::up-button:!enabled { + background: transparent; +} +QSpinBox::up-button:enabled:hover { + background: rgb(255, 255, 255, 30); +} +QSpinBox::down-button { + border-left: 1px solid rgb(111, 156, 207); + width: 18px; + height: 12px; + border-bottom-right-radius: 4px; + image: url(:/White/downButton); +} +QSpinBox::down-button:!enabled { + background: transparent; +} +QSpinBox::down-button:hover { + background: rgb(255, 255, 255, 30); +} + +/**********标签**********/ +QLabel#grayLabel { + color: rgb(70, 71, 73); +} + +QLabel#highlightLabel { + color: rgb(2, 65, 132); +} + +QLabel#redLabel { + color: red; +} + +QLabel#grayYaHeiLabel { + color: rgb(175, 175, 175); + font-size: 16px; +} + +QLabel#blueLabel { + color: rgb(0, 160, 230); +} + +QLabel#listLabel { + color: rgb(51, 51, 51); +} + +QLabel#lineBlueLabel { + background: rgb(0, 78, 161); +} + +QLabel#graySeperateLabel { + background: rgb(200, 220, 230); +} + +QLabel#seperateLabel { + background: rgb(112, 153, 194); +} + +QLabel#radiusBlueLabel { + border-radius: 15px; + color: white; + font-size: 16px; + background: rgb(0, 78, 161); +} + +QLabel#skinLabel[colorProperty="normal"] { + color: rgb(56, 99, 154); +} +QLabel#skinLabel[colorProperty="highlight"] { + color: rgb(0, 160, 230); +} + +QLabel#informationLabel { + qproperty-pixmap: url(:/White/information); +} + +QLabel#errorLabel { + qproperty-pixmap: url(:/White/error); +} + +QLabel#successLabel { + qproperty-pixmap: url(:/White/success); +} + +QLabel#questionLabel { + qproperty-pixmap: url(:/White/question); +} + +QLabel#warningLabel { + qproperty-pixmap: url(:/White/warning); +} + +QLabel#groupLabel { + color: rgb(56, 99, 154); + border: 1px solid rgb(111, 156, 207); + font-size: 15px; + border-top-color: transparent; + border-right-color: transparent; + border-left-color: transparent; +} + +/**********按钮**********/ +QToolButton#nsccButton { + border: none; + color: rgb(2, 65, 132); + background: transparent; + padding: 10px; + qproperty-icon: url(:/White/nscc); + qproperty-iconSize: 32px 32px; + qproperty-toolButtonStyle: ToolButtonTextUnderIcon; +} +QToolButton#nsccButton:hover { + background: rgb(187, 212, 238); +} + +QToolButton#transferButton { + border: none; + color: rgb(2, 65, 132); + background: transparent; + padding: 10px; + qproperty-icon: url(:/White/transfer); + qproperty-iconSize: 32px 32px; + qproperty-toolButtonStyle: ToolButtonTextUnderIcon; +} +QToolButton#transferButton:hover { + background: rgb(187, 212, 238); +} + +/**********按钮**********/ +QPushButton{ + border-radius: 4px; + border: none; + width: 75px; + height: 25px; +} +QPushButton:enabled { + background: rgb(120, 170, 220); + color: white; +} +QPushButton:!enabled { + background: rgb(180, 180, 180); + color: white; +} +QPushButton:enabled:hover{ + background: rgb(100, 160, 220); +} +QPushButton:enabled:pressed{ + background: rgb(0, 78, 161); +} + +QPushButton#blueButton { + color: white; +} +QPushButton#blueButton:enabled { + background: rgb(0, 78, 161); + color: white; +} +QPushButton:!enabled { + background: rgb(180, 180, 180); + color: white; +} +QPushButton#blueButton:enabled:hover { + background: rgb(2, 65, 132); +} +QPushButton#blueButton:enabled:pressed { + background: rgb(6, 94, 187); +} + +QPushButton#selectButton { + border: none; + border-radius: none; + border-left: 1px solid rgb(111, 156, 207); + background: transparent; + image: url(:/White/scan); + color: rgb(51, 51, 51); +} +QPushButton#selectButton:enabled:hover{ + background: rgb(187, 212, 238); +} +QPushButton#selectButton:enabled:pressed{ + background: rgb(120, 170, 220); +} + +QPushButton#linkButton { + background: transparent; + color: rgb(0, 160, 230); + text-align:left; +} +QPushButton#linkButton:hover { + color: rgb(20, 185, 255); + text-decoration: underline; +} +QPushButton#linkButton:pressed { + color: rgb(0, 160, 230); +} + +QPushButton#transparentButton { + background: transparent; +} + +/*****************标题栏按钮*******************/ +QPushButton#minimizeButton { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(120, 170, 220); + image: url(:/White/minimizeHover); +} +QPushButton#minimizeButton:hover { + image: url(:/White/minimize); +} +QPushButton#minimizeButton:pressed { + image: url(:/White/minimizePressed); +} + +QPushButton#maximizeButton[maximizeProperty="maximize"] { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(120, 170, 220); + image: url(:/White/maximizeHover); +} +QPushButton#maximizeButton[maximizeProperty="maximize"]:hover { + image: url(:/White/maximize); +} +QPushButton#maximizeButton[maximizeProperty="maximize"]:pressed { + image: url(:/White/maximizePressed); +} + +QPushButton#maximizeButton[maximizeProperty="restore"] { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(120, 170, 220); + image: url(:/White/restoreHover); +} +QPushButton#maximizeButton[maximizeProperty="restore"]:hover { + image: url(:/White/restore); +} +QPushButton#maximizeButton[maximizeProperty="restore"]:pressed { + image: url(:/White/restorePressed); +} + +QPushButton#closeButton { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(120, 170, 220); + image: url(:/White/closeHover); +} +QPushButton#closeButton:hover { + image: url(:/White/close); +} +QPushButton#closeButton:pressed { + image: url(:/White/closePressed); +} + +QPushButton#skinButton { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(120, 170, 220); + image: url(:/White/skinHover); +} +QPushButton#skinButton:hover { + image: url(:/White/skin); +} +QPushButton#skinButton:pressed { + image: url(:/White/skinPressed); +} + +QPushButton#feedbackButton { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(120, 170, 220); + image: url(:/White/feedbackHover); +} +QPushButton#feedbackButton:hover { + image: url(:/White/feedback); +} +QPushButton#feedbackButton:pressed { + image: url(:/White/feedbackPressed); +} + +QPushButton#closeTipButton { + border-radius: none; + border-image: url(:/White/close); + background: transparent; +} +QPushButton#closeTipButton:hover { + border-image: url(:/White/closeHover); +} +QPushButton#closeTipButton:pressed { + border-image: url(:/White/closePressed); +} + +QPushButton#changeSkinButton{ + border-radius: 4px; + border: 2px solid rgb(111, 156, 207); + background: rgb(204, 227, 252); +} +QPushButton#changeSkinButton:hover{ + border-color: rgb(60, 150, 200); +} +QPushButton#changeSkinButton:pressed, QPushButton#changeSkinButton:checked{ + border-color: rgb(0, 160, 230); +} + +QPushButton#transferButton { + padding-left: 5px; + padding-right: 5px; + color: white; + background: rgb(0, 78, 161); +} +QPushButton#transferButton:hover { + background: rgb(2, 65, 132); +} +QPushButton#transferButton:pressed { + background: rgb(6, 94, 187); +} +QPushButton#transferButton[iconProperty="left"] { + qproperty-icon: url(:/White/left); +} +QPushButton#transferButton[iconProperty="right"] { + qproperty-icon: url(:/White/right); +} + +QPushButton#openButton { + border-radius: none; + image: url(:/White/open); + background: transparent; +} +QPushButton#openButton:hover { + image: url(:/White/openHover); +} +QPushButton#openButton:pressed { + image: url(:/White/openPressed); +} + +QPushButton#deleteButton { + border-radius: none; + image: url(:/White/delete); + background: transparent; +} +QPushButton#deleteButton:hover { + image: url(:/White/deleteHover); +} +QPushButton#deleteButton:pressed { + image: url(:/White/deletePressed); +} + +QPushButton#menuButton { + text-align: left center; + padding-left: 3px; + color: rgb(84, 84, 84); + border: 1px solid rgb(111, 156, 207); + background: white; +} +QPushButton#menuButton::menu-indicator{ + subcontrol-position: right center; + subcontrol-origin: padding; + image: url(:/White/arrowBottom); + padding-right: 3px; +} diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/2.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/2.qss new file mode 100644 index 0000000..61d4d11 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/2.qss @@ -0,0 +1,996 @@ + + +*{ + font-size:13px; + color:white; + font-family:"宋体"; +} + +CallWidget QLineEdit#telEdt +{ + font-size:24px; + +} + +QMainWindow,QDialog{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #1B2534, stop: 0.4 #010101, + stop: 0.5 #000101, stop: 1.0 #1F2B3C); +} +QWidget{ + background:#121922; +} + +QLabel{ + background:transparent; +} + +QFrame{ + border-color:#32435E; + border-width:1px; + border-radius: 3px; +} + + +DailForm QLineEdit#phoneLineEdt{ + font-size:36px; + font-weight: bold; +} + +QPushButton,QToolButton{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #5B5F5F, stop: 0.5 #0C2436, + stop: 1.0 #27405A); + border-style: outset; + border-width: 1px; + border-radius: 5px; + border-color: #11223F; + padding: 1px; +} + +QPushButton::hover,QToolButton::hover{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #758385, stop: 0.5 #122C39, + stop: 1.0 #0E7788); + border-color: #11505C; +} + +QPushButton::pressed,QToolButton::pressed{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #969B9C, stop: 0.5 #16354B, + stop: 1.0 #244F76); + border-color: #11505C; +} +QPushButton::disabled,QToolButton::disabled{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #282B2C, stop: 0.5 #09121A, + stop: 1.0 #111D29); + border-color: #0A1320; + color:#6A6864; + +} + + + +QDialog QPushButton,QDialog QToolButton{ + min-width:30px; + min-height:23px; +} + +QToolButton[objectName="minimizeToolBtn"] { + background: transparent; + border:none; + image:url(qss/minimize.png) +} +QToolButton[objectName="minimizeToolBtn"]:hover,QToolButton[objectName="minimizeToolBtn"]:pressed { + image:url(qss/minimize_hover.png) +} +QToolButton[objectName="maximizeToolBtn"] { + background: transparent; + border:none; + image:url(qss/maximize.png) +} +QToolButton[objectName="maximizeToolBtn"]:hover,QToolButton[objectName="maximizeToolBtn"]:pressed { + image:url(qss/maximize_hover.png) +} + +QToolButton[objectName="closeToolBtn"],QToolButton[objectName="customCloseWindow"] { + background: transparent; + border:none; + image:url(qss/close.png) +} +QToolButton[objectName="closeToolBtn"]:hover,QToolButton[objectName="closeToolBtn"]:pressed{ + image:url(qss/close_hover.png) +} +QToolButton[objectName="customCloseWindow"]:hover,QToolButton[objectName="customCloseWindow"]:pressed{ + image:url(qss/close_hover.png) +} +QToolButton[objectName="titleSetUpToolBtn"]{ + background: transparent; + border:none; + image:url(qss/setup.png) +} + + +DailForm QToolButton#oneToolBtn,QToolButton#OneToolBtn,QToolButton#twoToolBtn,QToolButton#threeToolBtn, + QToolButton#fourToolBtn,QToolButton#fiveToolBtn,QToolButton#sixToolBtn, + QToolButton#sevenToolBtn,QToolButton#eightToolBtn,QToolButton#nineToolBtn, + QToolButton#starToolBtn,QToolButton#zeroToolBtn,QToolButton#sharpToolBtn { + font-size:36px; + border-radius: 10px; + +} +DailForm QToolButton#delToolBtn{ + border-radius: 10px; + +} + + + + + + +QLineEdit,QTextEdit { + border: 1px solid #32435E; + border-radius: 3px; + /* padding: 0 8px; */ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F); + selection-background-color: #0A246A; + +} +QLineEdit::hover{ + border-color:#5D8B9E; +} + +QLineEdit[echoMode="3"] { + lineedit-password-character: 9679; +} + +#QLineEdit:read-only { + background: #543F7C; +} + + +QTabWidget::pane { /* The tab widget frame */ + border: 0px solid #32435E; + position: absolute; + left: -0.1em; + + } + +QTabWidget#MainTabWidget::tab-bar { + left: -3px; /* move to the right by 5px */ + } + +QTabWidget#MainTabWidget QTabBar::tab { + height: 14ex; + width: 14ex; + + } + + + + QTabBar::tab { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #292F31, stop: 1 #0C131E); + } +QTabBar::tab:selected{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #113845, stop: 1.0 #15A8FF); + } +QTabBar::tab:hover { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #113845, stop: 1.0 #0E6F80); + } + + #QTabBar::tab:selected { + border-color: #32435E; + border-right-color: #32435E; /* same as pane color */ + } + + #QTabBar::tab:!selected { + margin-left: 2px; /* make non-selected tabs look smaller */ + } +#QTabBar:tab:first:selected { + margin-top: 0; +} +QTabBar:tab:last:selected { + margin-right: 0; +} +QTabBar:tab:only-one { + margin: 0; +} + +QListWidget{ + border: 1px solid #32435E; + background:#050609; +} + + +QListWidget::item:selected { + /*border: 0px solid #33CCFF;*/ + border:none; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #6A848C, stop: 1.0 #0F9EAF); + padding:0px; + margin:0px; +} + +#QListWidget::item:selected:!active { + border-width: 0px ; + } +#QListWidget::item:selected:active { + border-width: 1px; + } + + + + +QComboBox { + border: 1px solid #32435E; + border-radius: 3px; + padding: 1px 18px 1px 3px; + min-width: 6em; + } +QComboBox::hover{ + border-color:#5D8B9E; +} + + + QComboBox:editable { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F); + } + + QComboBox:!editable, QComboBox::drop-down:editable { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F); + } + + /* QComboBox gets the "on" state when the popup is open */ + QComboBox:!editable:on, QComboBox::drop-down:editable:on { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #080B10, + stop: 1.0 #212C3F);; + } + + QComboBox:on { /* shift the text when the popup opens */ + padding-top: 3px; + padding-left: 4px; + } + QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; + width: 15px; + + border-left-width: 1px; + border-left-color: 32435E; + border-left-style: solid; /* just a single line */ + border-top-right-radius: 3px; /* same radius as the QComboBox */ + border-bottom-right-radius: 3px; + } + + QComboBox::down-arrow { + image: url(qss/downarrow.png); + } + + QComboBox::down-arrow:on { /* shift the arrow when popup is open */ + top: 1px; + left: 1px; + } + + QComboBox QAbstractItemView { + border: 2px solid #32435E; + selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #506B79, + stop: 1.0 #0D95A6); + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #1B2534, stop: 0.4 #010101, + stop: 0.5 #000101, stop: 1.0 #1F2B3C); + } + + + + + +QCheckBox { + spacing: 5px; + } + + QCheckBox::indicator { + width: 13px; + height: 13px; + } + + QCheckBox::indicator:unchecked { + image: url(qss/checkbox_unchecked.png); + } + + QCheckBox::indicator:unchecked:hover { + image: url(qss/checkbox_unchecked_hover.png); + } + + QCheckBox::indicator:unchecked:pressed { + image: url(qss/checkbox_unchecked_pressed.png); + } + + QCheckBox::indicator:checked { + image: url(qss/checkbox_checked.png); + } + + QCheckBox::indicator:checked:hover { + image: url(qss/checkbox_checked_hover.png); + } + + QCheckBox::indicator:checked:pressed { + image: url(qss/checkbox_checked_pressed.png); + } + + QCheckBox::indicator:indeterminate:hover { + image: url(qss/checkbox_indeterminate_hover.png); + } + + QCheckBox::indicator:indeterminate:pressed { + image: url(qss/checkbox_indeterminate_pressed.png); + } + + + + + + QMenu { + background-color: #030406; + border-width:0px; + margin: 2px; + } + + QMenu::item { + background-color: #1D2838; + padding: 2px 25px 2px 20px; + border-color:transparent; + color:#858E94; + } + QMenu::item:!enabled { + background-color: #1D2838; + padding: 2px 25px 2px 20px; + border-color:transparent; + color:#76746C; + } + + QMenu::item:selected { + border-width:1px; + border-color: #516589; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #1E293A, + stop: 1.0 #2C547E); + color:#E6FFFF; + } + + QMenu::icon:checked { /* appearance of a 'checked' icon */ + background: gray; + border: 1px inset gray; + position: absolute; + top: 1px; + right: 1px; + bottom: 1px; + left: 1px; + } + + QMenu::separator { + height: 1px; + background: #1D99A9; + /*margin-left: 10px;*/ + /*margin-right: 5px;*/ + } + + QMenu::indicator { + width: 13px; + height: 13px; + } + + /* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */ + QMenu::indicator:non-exclusive:unchecked { + image: url(qss/checkbox_unchecked.png); + } + + QMenu::indicator:non-exclusive:unchecked:selected { + image: url(qss/checkbox_unchecked_hover.png); + } + + QMenu::indicator:non-exclusive:checked { + image: url(qss/checkbox_checked.png); + } + + QMenu::indicator:non-exclusive:checked:selected { + image: url(qss/checkbox_checked_hover.png); + } + + /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ + QMenu::indicator:exclusive:unchecked { + image: url(qss/radiobutton_unchecked.png); + } + + QMenu::indicator:exclusive:unchecked:selected { + image: url(qss/radiobutton_unchecked_hover.png); + } + + QMenu::indicator:exclusive:checked { + image: url(qss/radiobutton_checked.png); + } + + QMenu::indicator:exclusive:checked:selected { + image: url(qss/radiobutton_checked_hover.png); + } + + QMenuBar { + background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #121722, stop:1 #121722); + } + + QMenuBar::item { + spacing: 3px; /* spacing between menu bar items */ + padding: 1px 4px; + background: #10151E; + border-radius: 4px; + font:#BBDDFF; + } + + QMenuBar::item:selected { /* when selected using mouse or keyboard */ + background: #1A2432; + font:#FFFFFF; + } + + QMenuBar::item:pressed { + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #10151E, stop:1 #2C547E); + font:#FFFFFF; + + } + QMenuBar::item:hover{ + border-width:1px; + border-color:#516589; + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #9979A, stop:1 #2D567F); + font:#FFFFFF; + + } + +QListView{ + border: 1px solid #32435E; + background:#050609; +} + + + + QRadioButton::indicator { + width: 13px; + height: 13px; + } + + QRadioButton::indicator::unchecked { + image: url(qss/radiobutton_unchecked.png); + } + + QRadioButton::indicator:unchecked:hover { + image: url(qss/radiobutton_unchecked_hover.png); + } + + QRadioButton::indicator:unchecked:pressed { + image: url(qss/radiobutton_unchecked_pressed.png); + } + + QRadioButton::indicator::checked { + image: url(qss/radiobutton_checked.png); + } + + QRadioButton::indicator:checked:hover { + image: url(qss/radiobutton_checked_hover.png); + } + + QRadioButton::indicator:checked:pressed { + image: url(qss/radiobutton_checked_pressed.png); + } + + + QGroupBox { + border: 1px solid #2E3D57; + border-radius: 5px; + margin-top: 1ex; /* leave space at the top for the title */ + } + + QGroupBox::title { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 0 3px; + background-color: transparent; + } + + QGroupBox::indicator { + width: 13px; + height: 13px; + } + + QGroupBox::indicator:unchecked { + image: url(qss/checkbox_unchecked.png); + } +QGroupBox::indicator:checked { + image: url(qss/checkbox_checked.png); +} + +QScrollBar:vertical { + border: 1px solid #32435E; + border-width: 0px 0px 0px 1px; + background: #21252F; + width: 12px; + margin: 12px 0 12px 0; + } + QScrollBar::handle:vertical { + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #60788C, stop:1 #1084BD); + min-height: 20px; + } + QScrollBar::add-line:vertical { + border: 1px solid #32435E; + border-width:0px 0px 0px 1px; + background:#21252F; + height: 12px; + subcontrol-position: bottom; + subcontrol-origin: margin; + } + + QScrollBar::sub-line:vertical { + border: 1px solid #32435E; + border-width:0px 0px 0px 1px; + background: #21252F; + height: 12px; + subcontrol-position: top; + subcontrol-origin: margin; + } + QScrollBar::up-arrow:vertical { + border: 1px solid transparent; + background: #21252F; + image: url(qss/up_arrow.png); + width: 7px; + height: 7px; + } + QScrollBar::up-arrow:vertical:hover,QScrollBar::up-arrow:vertical:pressed { + image: url(qss/up_arrow_hover.png); + } + + QScrollBar::down-arrow:vertical{ + border: 1px solid transparent; + background: #21252F; + image:url(qss/down_arrow.png); + width: 7px; + height: 7px; + } +QScrollBar::down-arrow:vertical:hover,QScrollBar::down-arrow:vertical:pressed{ + image: url(qss/down_arrow_hover.png); +} +QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { + background: none; +} + + + QScrollBar:horizontal { + border: 1px solid #32435E; + border-width: 1px 0px 0px 0px; + background: #21252F; + height: 12px; + margin: 0 12px 0 12px; + } + QScrollBar::handle:horizontal { + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #60788C, stop:1 #1084BD); + min-width: 20px; + } + QScrollBar::add-line:horizontal { + border: 1px solid #32435E; + border-width:1px 0px 0px 0px; + background:#21252F; + width: 12px; + subcontrol-position: right; + subcontrol-origin: margin; + } + + QScrollBar::sub-line:horizontal { + border: 1px solid #32435E; + border-width:1px 0px 0px 0px; + background: #21252F; + width: 12px; + subcontrol-position: left; + subcontrol-origin: margin; + } + QScrollBar::left-arrow:horizontal { + border: 1px solid transparent; + background: #21252F; + image: url(qss/left_arrow.png); + width: 7px; + height: 7px; + } + QScrollBar::left-arrow:horizontal:hover,QScrollBar::left-arrow:horizontal:pressed { + image: url(qss/left_arrow_hover.png); + } + + QScrollBar::right-arrow:horizontal{ + border: 1px solid transparent; + background: #21252F; + image:url(qss/right_arrow.png); + width: 7px; + height: 7px; + } +QScrollBar::right-arrow:horizontal:hover,QScrollBar::right-arrow:horizontal:pressed{ + image: url(qss/right_arrow_hover.png); +} +QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { + background: none; +} + + + + + + + + +QSpinBox,QDateTimeEdit { + border: 1px solid #32435E; + border-radius: 3px; + padding-right: 5px; /* make room for the arrows */ + /* border-image: url(qss/frame.png) 4; */ + background:qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #080B10, stop:1 #212C3F); + } + QSpinBox::hover,QDateTimeEdit::hover{ + border-color:#5D8B9E; + } + + QSpinBox::up-button, QDateTimeEdit::up-button { + subcontrol-origin: border; + subcontrol-position: top right; /* position at the top right corner */ + + width: 16px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */ + border-image: url(qss/spinup.png) 1; + border-width: 1px; + + + } + + QSpinBox::up-button:hover,QDateTimeEdit::up-button:hover { + border-image: url(qss/spinup_hover.png) 1; + } + + QSpinBox::up-button:pressed,QDateTimeEdit::up-button:pressed { + border-image: url(qss/spinup_pressed.png) 1; + } + + QSpinBox::up-arrow,QDateTimeEdit::up-arrow { + image: url(qss/up_arrow.png); + width: 7px; + height: 7px; + } + + QSpinBox::up-arrow:disabled, QSpinBox::up-arrow:off,QDateTimeEdit::up-arrow:disabled,QDateTimeEdit::up-arrow:off { /* off state when value is max */ + image: url(qss/up_arrow_disabled.png); + } + + QSpinBox::down-button,QDateTimeEdit::down-button { + subcontrol-origin: border; + subcontrol-position: bottom right; /* position at bottom right corner */ + + width: 16px; + border-image: url(qss/spindown.png) 1; + border-width: 1px; + border-top-width: 0; + } + + QSpinBox::down-button:hover,QDateTimeEdit::down-button:hover { + border-image: url(qss/spindown_hover.png) 1; + } + + QSpinBox::down-button:pressed,QDateTimeEdit::down-button:pressed { + border-image: url(qss/spindown_pressed.png) 1; + } + + QSpinBox::down-arrow,QDateTimeEdit::down-arrow { + image: url(qss/down_arrow.png); + width: 7px; + height: 7px; + } + + QSpinBox::down-arrow:disabled,QDateTimeEdit::down-arrow:disabled, + QSpinBox::down-arrow:off,QDateTimeEdit::down-arrow:off { /* off state when value in min */ + image: url(qss/down_arrow_disabled.png); + } + + + + + QToolTip { + border: 1.5px solid #179BAB; + padding: 3px; + border-radius: 8px; + opacity: 200; /*透明度*/ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #0C1016, + stop: 1.0 #233043); + } + + QStatusBar { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #07090E, + stop: 1.0 #202C3D); + } + + QStatusBar::item { + border: 1px solid #3E58A5; + border-radius: 3px; + } + +#QStatusBar QLabel { + border: 1px solid #6AF0FF; + /*background: white; */ +} + + +QSizeGrip { /*在MainWindow右下角*/ + image: url(qss/sizegrip.png); + width: 16px; + height: 16px; + } + + + + QHeaderView::section { + background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 #353B43, stop:1 #151A20); + color: white; + padding-left: 4px; + border: 1px solid #447684; + } + + /* style the sort indicator */ + QHeaderView::down-arrow { + image: url(qss/down_arrow.png); + } + + QHeaderView::up-arrow { + image: url(qss/up_arrow.png); + } + QTableView { + selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, + stop: 0 #516A78, stop: 1 #10A9BA); + + gridline-color:#447684; + } + + + +QTreeWidget{ + background:#18202E; + border-style: outset; + border-width: 0px; + border-color: #11223F; + padding: 1px; +} + +QTreeWidget::branch:has-siblings:!adjoins-item { + border-image: url(qss/vline.png) 0; + } + + QTreeWidget::branch:has-siblings:adjoins-item { + border-image: url(qss/branch-more.png) 0; + } + + QTreeWidget::branch:!has-children:!has-siblings:adjoins-item { + border-image: url(qss/branch-end.png) 0; + } + + QTreeWidget::branch:has-children:!has-siblings:closed, + QTreeWidget::branch:closed:has-children:has-siblings { + border-image: none; + image: url(qss/branch-closed.png); + } + + QTreeWidget::branch:open:has-children:!has-siblings, + QTreeWidget::branch:open:has-children:has-siblings { + border-image: none; + image: url(qss/branch-open.png); + } + + + QTreeWidget::item { + border: 1px solid #d9d9d9; + border-color: transparent; + } + QTreeWidget::item:hover { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #598892, stop: 1 #189BAB); + border: 1px solid #bfcde4; + } + +QTreeWidget::item:selected { + /*border: 0px solid #33CCFF;*/ + border:none; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #6A848C, stop: 1.0 #0F9EAF); + padding:0px; + margin:0px; +} + +QFrame#customTitleBar{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #454F53, stop: 1.0 #135263); +} + + +QWidget#TranslucentWidget * +{ + background-color: rgba( 255, 255, 255, 100 ); +} + +QWidget#TranslucentWidget QFrame#frame +{ + border-radius: 5px; +} + +QWidget#TranslucentWidget QPushButton { + + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #5B5F5F, stop: 0.5 #0C2436, + stop: 1.0 #27405A); + background-color: rgba( 255, 255, 255, 100 ); +} + +QWidget#TranslucentWidget QPushButton::hover{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #758385, stop: 0.5 #122C39, + stop: 1.0 #0E7788); + border-color: #11505C; +} + +QWidget#TranslucentWidget QPushButton::pressed{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #969B9C, stop: 0.5 #16354B, + stop: 1.0 #244F76); + border-color: #11505C; +} + + + +QWidget#GroupChatingWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#FFFFFF; +} + +QWidget#GroupChatingWidget QLabel +{ + background: transparent; +} + +QWidget#GroupChatingWidget QFrame#mainFrame +{ + border-radius: 5px; +} + + + +QWidget#GroupChatingWidget QPushButton::hover,QWidget#GroupChatingWidget QToolButton::hover{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #758385, stop: 0.5 #122C39, + stop: 1.0 #0E7788); + border-color: #11505C; +} + +QWidget#GroupChatingWidget QPushButton::pressed,QWidget#GroupChatingWidget QToolButton::pressed{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #969B9C, stop: 0.5 #16354B, + stop: 1.0 #244F76); + border-color: #11505C; +} +QWidget#GroupChatingWidget QPushButton::disabled,QWidget#GroupChatingWidget QToolButton::disabled{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #282B2C, stop: 0.5 #09121A, + stop: 1.0 #111D29); + border-color: #0A1320; + color:#6A6864; + +} + + +QWidget#UserListWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#FFFFFF; +} + +QWidget#GroupChatinSingleWidget * +{ + background-color: rgba( 93, 93, 93, 60 ); + color:#FFFFFF; +} +QWidget#GroupChatinSingleWidget QLabel +{ + background: transparent; +} +QWidget#GroupChatingWidget QPushButton::hover,QWidget#GroupChatingWidget QToolButton::hover{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #758385, stop: 0.5 #122C39, + stop: 1.0 #0E7788); + border-color: #11505C; +} + +QWidget#GroupChatingWidget QPushButton::pressed,QWidget#GroupChatingWidget QToolButton::pressed{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #969B9C, stop: 0.5 #16354B, + stop: 1.0 #244F76); + border-color: #11505C; +} +QWidget#GroupChatingWidget QPushButton::disabled,QWidget#GroupChatingWidget QToolButton::disabled{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #282B2C, stop: 0.5 #09121A, + stop: 1.0 #111D29); + border-color: #0A1320; + color:#6A6864; + +} + +QWidget#InfoAreaWidget * +{ + background-color: rgba( 93, 93, 93, 100 ); + color:#FFFFFF; + font: 75 12pt "宋体"; +} + +QWidget#InfoAreaWidget QLabel +{ + background: transparent; +} + +QWidget#GpsLeftBottomWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#FFFFFF; +} + + +QWidget#GpsSysMenuWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#FFFFFF; +} + +QWidget#GpsRigthBottomWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#FFFFFF; +} + + + +QWidget#GpsRightTopWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#FFFFFF; +} + +QWidget#VideoImageWidget QFrame#topFrame,QWidget#VideoImageWidget QFrame#bottomFrame{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #454F53, stop: 1.0 #135263); +} + + +QWidget#NavItemMenuWidget * +{ + background-color: rgba( 93, 93, 93, 30 ); + color:#FFFFFF; +} +QWidget#NavItemMenuWidget QLabel +{ + background: transparent; +} + diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/3.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/3.qss new file mode 100644 index 0000000..0e88dba --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/3.qss @@ -0,0 +1,587 @@ +/* +AMOLED Style Sheet for QT Applications +Author: Jaime A. Quiroga P. +Company: GTRONICK +Last updated: 15/10/2019, 11:40. +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-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: #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: #e67e22; + 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: #e67e22; + 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:#027f7f; +} +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; +} diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/4.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/4.qss new file mode 100644 index 0000000..cce4c77 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/4.qss @@ -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; +} diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/5.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/5.qss new file mode 100644 index 0000000..57ee5e1 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/5.qss @@ -0,0 +1,954 @@ +/* +* The MIT License (MIT) +* +* Copyright : http://blog.csdn.net/liang19890820 +* +* Author : 一去丶二三里 +* +* Date : 2016/07/22 +* +* Description : 黑色炫酷 +* +*/ + +/**********子界面背景**********/ +QWidget#customWidget { + background: rgb(68, 69, 73); +} + +/**********子界面中央背景**********/ +QWidget#centerWidget { + background: rgb(50, 50, 50); +} + +/**********主界面样式**********/ +QWidget#mainWindow { + border: 1px solid rgb(50, 50, 50); + background: rgb(50, 50, 50); +} + +QWidget#messageWidget { + background: rgba(68, 69, 73, 50%); +} + +QWidget#loadingWidget { + border: none; + border-radius: 5px; + background: rgb(50, 50, 50); +} + +QWidget#remoteWidget { + border-top-right-radius: 10px; + border-bottom-right-radius: 10px; + border: 1px solid rgb(45, 45, 45); + background: rgb(50, 50, 50); +} + +StyledWidget { + qproperty-normalColor: white; + qproperty-disableColor: gray; + qproperty-highlightColor: rgb(0, 160, 230); + qproperty-errorColor: red; +} + +QProgressIndicator { + qproperty-color: rgb(175, 175, 175); +} + +/**********提示**********/ +QToolTip{ + border: 1px solid rgb(45, 45, 45); + background: white; + color: black; +} + +/**********菜单栏**********/ +QMenuBar { + background: rgb(57, 58, 60); + border: none; +} +QMenuBar::item { + padding: 5px 10px 5px 10px; + background: transparent; +} +QMenuBar::item:enabled { + color: rgb(227, 234, 242); +} +QMenuBar::item:!enabled { + color: rgb(155, 155, 155); +} +QMenuBar::item:enabled:selected { + background: rgba(255, 255, 255, 40); +} + +/**********菜单**********/ +QMenu { + border: 1px solid rgb(100, 100, 100); + background: rgb(68, 69, 73); +} +QMenu::item { + height: 22px; + padding: 0px 25px 0px 20px; +} +QMenu::item:enabled { + color: rgb(225, 225, 225); +} +QMenu::item:!enabled { + color: rgb(155, 155, 155); +} +QMenu::item:enabled:selected { + color: rgb(230, 230, 230); + background: rgba(255, 255, 255, 40); +} +QMenu::separator { + height: 1px; + background: rgb(100, 100, 100); +} +QMenu::indicator { + width: 13px; + height: 13px; +} +QMenu::icon { + padding-left: 2px; + padding-right: 2px; +} + +/**********状态栏**********/ +QStatusBar { + background: rgb(57, 58, 60); +} +QStatusBar::item { + border: none; + border-right: 1px solid rgb(100, 100, 100); +} + +/**********分组框**********/ +QGroupBox { + font-size: 15px; + border: 1px solid rgb(80, 80, 80); + border-radius: 4px; + margin-top: 10px; +} +QGroupBox::title { + color: rgb(175, 175, 175); + top: -12px; + left: 10px; +} + +/**********页签项**********/ +QTabWidget::pane { + border: none; + border-top: 3px solid rgb(0, 160, 230); + background: rgb(57, 58, 60); +} +QTabWidget::tab-bar { + border: none; +} +QTabBar::tab { + border: none; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + color: rgb(175, 175, 175); + background: rgb(255, 255, 255, 30); + height: 28px; + min-width: 85px; + margin-right: 5px; + padding-left: 5px; + padding-right: 5px; +} +QTabBar::tab:hover { + background: rgb(255, 255, 255, 40); +} +QTabBar::tab:selected { + color: white; + background: rgb(0, 160, 230); +} + +QTabWidget#tabWidget::pane { + border: 1px solid rgb(45, 45, 45); + background: rgb(57, 58, 60); + margin-top: -1px; +} + +QTabBar#tabBar::tab { + border: 1px solid rgb(45, 45, 45); + border-bottom: none; + background: transparent; +} +QTabBar#tabBar::tab:hover { + color: white; +} +QTabBar#tabBar::tab:selected { + color: white; + background: rgb(57, 58, 60); +} + +/**********表头**********/ +QHeaderView{ + border: none; + border-bottom: 3px solid rgb(0, 160, 230); + background: rgb(57, 58, 60); + min-height: 30px; +} +QHeaderView::section:horizontal { + border: none; + color: white; + background: transparent; + padding-left: 5px; +} +QHeaderView::section:horizontal:hover { + background: rgb(0, 160, 230); +} +QHeaderView::section:horizontal:pressed { + background: rgb(0, 180, 255); +} +QHeaderView::up-arrow { + width: 13px; + height: 11px; + padding-right: 5px; + image: url(:/Black/topArrow); + subcontrol-position: center right; +} +QHeaderView::up-arrow:hover, QHeaderView::up-arrow:pressed { + image: url(:/Black/topArrowHover); +} +QHeaderView::down-arrow { + width: 13px; + height: 11px; + padding-right: 5px; + image: url(:/Black/bottomArrow); + subcontrol-position: center right; +} +QHeaderView::down-arrow:hover, QHeaderView::down-arrow:pressed { + image: url(:/Black/bottomArrowHover); +} + +/**********表格**********/ +QTableView { + border: 1px solid rgb(45, 45, 45); + background: rgb(57, 58, 60); + gridline-color: rgb(60, 60, 60); +} +QTableView::item { + padding-left: 5px; + padding-right: 5px; + border: none; + background: rgb(72, 72, 74); + border-right: 1px solid rgb(45, 45, 45); + border-bottom: 1px solid rgb(45, 45, 45); +} +QTableView::item:selected { + background: rgba(255, 255, 255, 40); +} +QTableView::item:selected:!active { + color: white; +} +QTableView::indicator { + width: 20px; + height: 20px; +} +QTableView::indicator:enabled:unchecked { + image: url(:/Black/checkBox); +} +QTableView::indicator:enabled:unchecked:hover { + image: url(:/Black/checkBoxHover); +} +QTableView::indicator:enabled:unchecked:pressed { + image: url(:/Black/checkBoxPressed); +} +QTableView::indicator:enabled:checked { + image: url(:/Black/checkBoxChecked); +} +QTableView::indicator:enabled:checked:hover { + image: url(:/Black/checkBoxCheckedHover); +} +QTableView::indicator:enabled:checked:pressed { + image: url(:/Black/checkBoxCheckedPressed); +} +QTableView::indicator:enabled:indeterminate { + image: url(:/Black/checkBoxIndeterminate); +} +QTableView::indicator:enabled:indeterminate:hover { + image: url(:/Black/checkBoxIndeterminateHover); +} +QTableView::indicator:enabled:indeterminate:pressed { + image: url(:/Black/checkBoxIndeterminatePressed); +} + +/**********滚动条-水平**********/ +QScrollBar:horizontal { + height: 20px; + background: transparent; + margin-top: 3px; + margin-bottom: 3px; +} +QScrollBar::handle:horizontal { + height: 20px; + min-width: 30px; + background: rgb(68, 69, 73); + margin-left: 15px; + margin-right: 15px; +} +QScrollBar::handle:horizontal:hover { + background: rgb(80, 80, 80); +} +QScrollBar::sub-line:horizontal { + width: 15px; + background: transparent; + image: url(:/Black/arrowLeft); + subcontrol-position: left; +} +QScrollBar::add-line:horizontal { + width: 15px; + background: transparent; + image: url(:/Black/arrowRight); + subcontrol-position: right; +} +QScrollBar::sub-line:horizontal:hover { + background: rgb(68, 69, 73); +} +QScrollBar::add-line:horizontal:hover { + background: rgb(68, 69, 73); +} +QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal { + background: transparent; +} + +/**********滚动条-垂直**********/ +QScrollBar:vertical { + width: 20px; + background: transparent; + margin-left: 3px; + margin-right: 3px; +} +QScrollBar::handle:vertical { + width: 20px; + min-height: 30px; + background: rgb(68, 69, 73); + margin-top: 15px; + margin-bottom: 15px; +} +QScrollBar::handle:vertical:hover { + background: rgb(80, 80, 80); +} +QScrollBar::sub-line:vertical { + height: 15px; + background: transparent; + image: url(:/Black/arrowTop); + subcontrol-position: top; +} +QScrollBar::add-line:vertical { + height: 15px; + background: transparent; + image: url(:/Black/arrowBottom); + subcontrol-position: bottom; +} +QScrollBar::sub-line:vertical:hover { + background: rgb(68, 69, 73); +} +QScrollBar::add-line:vertical:hover { + background: rgb(68, 69, 73); +} +QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { + background: transparent; +} + +QScrollBar#verticalScrollBar:vertical { + margin-top: 30px; +} + +/**********下拉列表**********/ +QComboBox { + height: 25px; + border-radius: 4px; + border: 1px solid rgb(100, 100, 100); + background: rgb(72, 72, 73); +} +QComboBox:enabled { + color: rgb(175, 175, 175); +} +QComboBox:!enabled { + color: rgb(155, 155, 155); +} +QComboBox:enabled:hover, QComboBox:enabled:focus { + color: rgb(230, 230, 230); + background: rgb(68, 69, 73); +} +QComboBox::drop-down { + width: 20px; + border: none; + background: transparent; +} +QComboBox::drop-down:hover { + background: rgba(255, 255, 255, 30); +} +QComboBox::down-arrow { + image: url(:/Black/arrowBottom); +} +QComboBox::down-arrow:on { + /**top: 1px;**/ +} +QComboBox QAbstractItemView { + border: 1px solid rgb(100, 100, 100); + background: rgb(68, 69, 73); + outline: none; +} +QComboBox QAbstractItemView::item { + height: 25px; + color: rgb(175, 175, 175); +} +QComboBox QAbstractItemView::item:selected { + background: rgba(255, 255, 255, 40); + color: rgb(230, 230, 230); +} + +/**********进度条**********/ +QProgressBar{ + border: none; + text-align: center; + color: white; + background: rgb(48, 50, 51); +} +QProgressBar::chunk { + background: rgb(0, 160, 230); +} + +QProgressBar#progressBar { + border: none; + text-align: center; + color: white; + background-color: transparent; + background-image: url(":/Black/progressBar"); + background-repeat: repeat-x; +} +QProgressBar#progressBar::chunk { + border: none; + background-color: transparent; + background-image: url(":/Black/progressBarChunk"); + background-repeat: repeat-x; +} + +/**********复选框**********/ +QCheckBox{ + spacing: 5px; +} +QCheckBox:enabled{ + color: rgb(175, 175, 175); +} +QCheckBox:enabled:hover{ + color: rgb(200, 200, 200); +} +QCheckBox:!enabled{ + color: rgb(155, 155, 155); +} +QCheckBox::indicator { + width: 20px; + height: 20px; +} +QCheckBox::indicator:unchecked { + image: url(:/Black/checkBox); +} +QCheckBox::indicator:unchecked:hover { + image: url(:/Black/checkBoxHover); +} +QCheckBox::indicator:unchecked:pressed { + image: url(:/Black/checkBoxPressed); +} +QCheckBox::indicator:checked { + image: url(:/Black/checkBoxChecked); +} +QCheckBox::indicator:checked:hover { + image: url(:/Black/checkBoxCheckedHover); +} +QCheckBox::indicator:checked:pressed { + image: url(:/Black/checkBoxCheckedPressed); +} +QCheckBox::indicator:indeterminate { + image: url(:/Black/checkBoxIndeterminate); +} +QCheckBox::indicator:indeterminate:hover { + image: url(:/Black/checkBoxIndeterminateHover); +} +QCheckBox::indicator:indeterminate:pressed { + image: url(:/Black/checkBoxIndeterminatePressed); +} + +/**********单选框**********/ +QRadioButton{ + spacing: 5px; +} +QRadioButton:enabled{ + color: rgb(175, 175, 175); +} +QRadioButton:enabled:hover{ + color: rgb(200, 200, 200); +} +QRadioButton:!enabled{ + color: rgb(155, 155, 155); +} +QRadioButton::indicator { + width: 20px; + height: 20px; +} +QRadioButton::indicator:unchecked { + image: url(:/Black/radioButton); +} +QRadioButton::indicator:unchecked:hover { + image: url(:/Black/radioButtonHover); +} +QRadioButton::indicator:unchecked:pressed { + image: url(:/Black/radioButtonPressed); +} +QRadioButton::indicator:checked { + image: url(:/Black/radioButtonChecked); +} +QRadioButton::indicator:checked:hover { + image: url(:/Black/radioButtonCheckedHover); +} +QRadioButton::indicator:checked:pressed { + image: url(:/Black/radioButtonCheckedPressed); +} + +/**********输入框**********/ +QLineEdit { + border-radius: 4px; + height: 25px; + border: 1px solid rgb(100, 100, 100); + background: rgb(72, 72, 73); +} +QLineEdit:enabled { + color: rgb(175, 175, 175); +} +QLineEdit:enabled:hover, QLineEdit:enabled:focus { + color: rgb(230, 230, 230); +} +QLineEdit:!enabled { + color: rgb(155, 155, 155); +} + +/**********文本编辑框**********/ +QTextEdit { + border: 1px solid rgb(45, 45, 45); + color: rgb(175, 175, 175); + background: rgb(57, 58, 60); +} + +/**********滚动区域**********/ +QScrollArea { + border: 1px solid rgb(45, 45, 45); + background: rgb(57, 58, 60); +} + +/**********滚动区域**********/ +QWidget#transparentWidget { + background: transparent; +} + +/**********微调器**********/ +QSpinBox { + border-radius: 4px; + height: 24px; + min-width: 40px; + border: 1px solid rgb(100, 100, 100); + background: rgb(68, 69, 73); +} +QSpinBox:enabled { + color: rgb(220, 220, 220); +} +QSpinBox:enabled:hover, QLineEdit:enabled:focus { + color: rgb(230, 230, 230); +} +QSpinBox:!enabled { + color: rgb(65, 65, 65); + background: transparent; +} +QSpinBox::up-button { + width: 18px; + height: 12px; + border-top-right-radius: 4px; + border-left: 1px solid rgb(100, 100, 100); + image: url(:/Black/upButton); + background: rgb(50, 50, 50); +} +QSpinBox::up-button:!enabled { + border-left: 1px solid gray; + background: transparent; +} +QSpinBox::up-button:enabled:hover { + background: rgb(255, 255, 255, 30); +} +QSpinBox::down-button { + width: 18px; + height: 12px; + border-bottom-right-radius: 4px; + border-left: 1px solid rgb(100, 100, 100); + image: url(:/Black/downButton); + background: rgb(50, 50, 50); +} +QSpinBox::down-button:!enabled { + border-left: 1px solid gray; + background: transparent; +} +QSpinBox::down-button:enabled:hover { + background: rgb(255, 255, 255, 30); +} + +/**********标签**********/ +QLabel#grayLabel { + color: rgb(175, 175, 175); +} + +QLabel#highlightLabel { + color: rgb(175, 175, 175); +} + +QLabel#redLabel { + color: red; +} + +QLabel#grayYaHeiLabel { + color: rgb(175, 175, 175); + font-size: 16px; +} + +QLabel#blueLabel { + color: rgb(0, 160, 230); +} + +QLabel#listLabel { + color: rgb(0, 160, 230); +} + +QLabel#lineBlueLabel { + background: rgb(0, 160, 230); +} + +QLabel#graySeperateLabel { + background: rgb(45, 45, 45); +} + +QLabel#seperateLabel { + background: rgb(80, 80, 80); +} + +QLabel#radiusBlueLabel { + border-radius: 15px; + color: white; + font-size: 16px; + background: rgb(0, 160, 230); +} + +QLabel#skinLabel[colorProperty="normal"] { + color: rgb(175, 175, 175); +} +QLabel#skinLabel[colorProperty="highlight"] { + color: rgb(0, 160, 230); +} + +QLabel#informationLabel { + qproperty-pixmap: url(:/Black/information); +} + +QLabel#errorLabel { + qproperty-pixmap: url(:/Black/error); +} + +QLabel#successLabel { + qproperty-pixmap: url(:/Black/success); +} + +QLabel#questionLabel { + qproperty-pixmap: url(:/Black/question); +} + +QLabel#warningLabel { + qproperty-pixmap: url(:/Black/warning); +} + +QLabel#groupLabel { + color: rgb(0, 160, 230); + border: 1px solid rgb(0, 160, 230); + font-size: 15px; + border-top-color: transparent; + border-right-color: transparent; + border-left-color: transparent; +} + +/**********按钮**********/ +QToolButton#nsccButton{ + border: none; + color: rgb(175, 175, 175); + background: transparent; + padding: 10px; + qproperty-icon: url(:/Black/nscc); + qproperty-iconSize: 32px 32px; + qproperty-toolButtonStyle: ToolButtonTextUnderIcon; +} +QToolButton#nsccButton:hover{ + color: rgb(217, 218, 218); + background: rgb(255, 255, 255, 20); +} + +QToolButton#transferButton{ + border: none; + color: rgb(175, 175, 175); + background: transparent; + padding: 10px; + qproperty-icon: url(:/Black/transfer); + qproperty-iconSize: 32px 32px; + qproperty-toolButtonStyle: ToolButtonTextUnderIcon; +} +QToolButton#transferButton:hover{ + color: rgb(217, 218, 218); + background: rgb(255, 255, 255, 20); +} + +/**********按钮**********/ +QPushButton{ + border-radius: 4px; + border: none; + width: 75px; + height: 25px; +} +QPushButton:enabled { + background: rgb(68, 69, 73); + color: white; +} +QPushButton:!enabled { + background: rgb(100, 100, 100); + color: rgb(200, 200, 200); +} +QPushButton:enabled:hover{ + background: rgb(85, 85, 85); +} +QPushButton:enabled:pressed{ + background: rgb(80, 80, 80); +} + +QPushButton#blueButton { + color: white; +} +QPushButton#blueButton:enabled { + background: rgb(0, 165, 235); + color: white; +} +QPushButton#blueButton:!enabled { + background: gray; + color: rgb(200, 200, 200); +} +QPushButton#blueButton:enabled:hover { + background: rgb(0, 180, 255); +} +QPushButton#blueButton:enabled:pressed { + background: rgb(0, 140, 215); +} + +QPushButton#selectButton { + border: none; + border-radius: none; + border-left: 1px solid rgb(100, 100, 100); + image: url(:/Black/scan); + background: transparent; + color: white; +} +QPushButton#selectButton:enabled:hover{ + background: rgb(85, 85, 85); +} +QPushButton#selectButton:enabled:pressed{ + background: rgb(80, 80, 80); +} + +QPushButton#linkButton { + background: transparent; + color: rgb(0, 160, 230); + text-align:left; +} +QPushButton#linkButton:hover { + color: rgb(20, 185, 255); + text-decoration: underline; +} +QPushButton#linkButton:pressed { + color: rgb(0, 160, 230); +} + +QPushButton#transparentButton { + background: transparent; +} + +/*****************标题栏按钮*******************/ +QPushButton#minimizeButton { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(50, 50, 50); + image: url(:/Black/minimize); +} +QPushButton#minimizeButton:hover { + background: rgb(60, 60, 60); + image: url(:/Black/minimizeHover); +} +QPushButton#minimizeButton:pressed { + background: rgb(55, 55, 55); + image: url(:/Black/minimizePressed); +} + +QPushButton#maximizeButton[maximizeProperty="maximize"] { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(50, 50, 50); + image: url(:/Black/maximize); +} +QPushButton#maximizeButton[maximizeProperty="maximize"]:hover { + background: rgb(60, 60, 60); + image: url(:/Black/maximizeHover); +} +QPushButton#maximizeButton[maximizeProperty="maximize"]:pressed { + background: rgb(55, 55, 55); + image: url(:/Black/maximizePressed); +} + +QPushButton#maximizeButton[maximizeProperty="restore"] { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(50, 50, 50); + image: url(:/Black/restore); +} +QPushButton#maximizeButton[maximizeProperty="restore"]:hover { + background: rgb(60, 60, 60); + image: url(:/Black/restoreHover); +} +QPushButton#maximizeButton[maximizeProperty="restore"]:pressed { + background: rgb(55, 55, 55); + image: url(:/Black/restorePressed); +} + +QPushButton#closeButton { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(50, 50, 50); + image: url(:/Black/close); +} +QPushButton#closeButton:hover { + background: rgb(60, 60, 60); + image: url(:/Black/closeHover); +} +QPushButton#closeButton:pressed { + background: rgb(55, 55, 55); + image: url(:/Black/closePressed); +} + +QPushButton#skinButton { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(50, 50, 50); + image: url(:/Black/skin); +} +QPushButton#skinButton:hover { + background: rgb(60, 60, 60); + image: url(:/Black/skinHover); +} +QPushButton#skinButton:pressed { + background: rgb(55, 55, 55); + image: url(:/Black/skinPressed); +} + +QPushButton#feedbackButton { + border-radius: none; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + background: rgb(50, 50, 50); + image: url(:/Black/feedback); +} +QPushButton#feedbackButton:hover { + background: rgb(60, 60, 60); + image: url(:/Black/feedbackHover); +} +QPushButton#feedbackButton:pressed { + background: rgb(55, 55, 55); + image: url(:/Black/feedbackPressed); +} + +QPushButton#closeTipButton { + border-radius: none; + border-image: url(:/Black/close); + background: transparent; +} +QPushButton#closeTipButton:hover { + border-image: url(:/Black/closeHover); +} +QPushButton#closeTipButton:pressed { + border-image: url(:/Black/closePressed); +} + +QPushButton#changeSkinButton{ + border-radius: 4px; + border: 2px solid rgb(41, 41, 41); + background: rgb(51, 51, 51); +} +QPushButton#changeSkinButton:hover{ + border-color: rgb(45, 45, 45); +} +QPushButton#changeSkinButton:pressed, QPushButton#changeSkinButton:checked{ + border-color: rgb(0, 160, 230); +} + +QPushButton#transferButton { + padding-left: 5px; + padding-right: 5px; + color: white; + background: rgb(0, 165, 235); +} +QPushButton#transferButton:hover { + background: rgb(0, 180, 255); +} +QPushButton#transferButton:pressed { + background: rgb(0, 140, 215); +} +QPushButton#transferButton[iconProperty="left"] { + qproperty-icon: url(:/Black/left); +} +QPushButton#transferButton[iconProperty="right"] { + qproperty-icon: url(:/Black/right); +} + +QPushButton#openButton { + border-radius: none; + image: url(:/Black/open); + background: transparent; +} +QPushButton#openButton:hover { + image: url(:/Black/openHover); +} +QPushButton#openButton:pressed { + image: url(:/Black/openPressed); +} + +QPushButton#deleteButton { + border-radius: none; + image: url(:/Black/delete); + background: transparent; +} +QPushButton#deleteButton:hover { + image: url(:/Black/deleteHover); +} +QPushButton#deleteButton:pressed { + image: url(:/Black/deletePressed); +} + +QPushButton#menuButton { + text-align: left center; + padding-left: 3px; + color: rgb(175, 175, 175); + border: 1px solid rgb(100, 100, 100); + background: rgb(72, 72, 73); +} +QPushButton#menuButton::menu-indicator{ + subcontrol-position: right center; + subcontrol-origin: padding; + image: url(:/Black/arrowBottom); + padding-right: 3px; +} diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/6.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/6.qss new file mode 100644 index 0000000..af6c204 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/6.qss @@ -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; +} diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/7.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/7.qss new file mode 100644 index 0000000..5c365b6 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/7.qss @@ -0,0 +1,93 @@ +/* ɫ +.QWidget { + background-color: rgb(50,50,50); +}*/ +QMainWindow::separator { + background: rgb(112,112,112); + width: 5px; /* when vertical */ + height: 5px; /* when horizontal */ +} + +QMenuBar { + color: rgb(192,192,192); + background-color: rgb(50,50,50); +} +QMenuBar::item { + spacing: 3px; /* spacing between menu bar items */ + padding: 1px 4px; + background: transparent; + border-radius: 4px; +} +QMenuBar::item:selected { /* when selected using mouse or keyboard */ + background: #a8a8a8; +} +QMenuBar::item:pressed { + background: #888888; +} + +/* ʾʽ */ +QToolTip { + border: 2px solid darkkhaki; + padding: 1px; + border-radius: 3px; +} + +.QToolBar { + background: qlineargradient(spread:reflect, x1:0.5, y1:0.5, x2:0.5, y2:0, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(170, 170, 170, 255));\nbackground-color: qlineargradient(spread:reflect, x1:0.5, y1:0.5, x2:0.5, y2:0, stop:0.20339 rgba(51, 51, 51, 255), stop:1 rgba(206, 206, 206, 255)); + spacing: 3px; /* spacing between items in the tool bar */ + } + +/* Bold text on status bar looks awful. */ +QStatusBar{ + background-color: rgb(112,112,112); +} +QStatusBar::item { + border: 1px solid red; + border-radius: 3px; +} + +QDockWidget { + border: 5px solid black; +} +QDockWidget::title { + text-align: left; /* align the text to the left */ + background: darkgray; + padding-left: 10px; +} +QDockWidget::close-button, QDockWidget::float-button { + border: 1px solid transparent; + background: darkgray; + padding: 0px; +} + +QDockWidget::close-button:hover, QDockWidget::float-button:hover { + background: gray; +} + +QDockWidget::close-button:pressed, QDockWidget::float-button:pressed { + padding: 1px -1px -1px 1px; +} + +QTreeView { + background: rgb(50,50,50); + show-decoration-selected: 1; + } +QTreeView::item { + color: rgb(232,232,232); + border: 1px solid #d9d9d9; + border-top-color: transparent; + border-bottom-color: transparent; +} +QTreeView::item:hover { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); + border: 1px solid #bfcde4; +} +QTreeView::item:selected { + border: 1px solid #567dbc; +} +QTreeView::item:selected:active{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc); +} +QTreeView::item:selected:!active { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf); +} \ No newline at end of file diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/8.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/8.qss new file mode 100644 index 0000000..49d2b0b --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/8.qss @@ -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); +} diff --git a/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/9.qss b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/9.qss new file mode 100644 index 0000000..92301a5 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/QSS模板合集/QSS模板合集/9.qss @@ -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; +} diff --git a/qss样式表/a6223-main/a6223-main/README.md b/qss样式表/a6223-main/a6223-main/README.md new file mode 100644 index 0000000..a836fa7 --- /dev/null +++ b/qss样式表/a6223-main/a6223-main/README.md @@ -0,0 +1,41 @@ +# QSS样式表模板集合 + +## 项目简介 + +欢迎来到QSS(Qt Style Sheets)样式表模板库!本仓库精心整理并提供了17种独特的QSS样式设计,专为那些寻求提升其Qt应用界面美观度的开发者们准备。无论是希望快速为您的应用程序披上现代外观,还是寻找灵感来定制独特的用户交互体验,这个资源都是您宝贵的工具箱。 + +## 特色样式表 + +本集合覆盖了广泛的UI风格,从简洁的扁平化设计到模拟材料设计的深度感,以及过渡动画等高级效果,旨在满足不同项目的视觉需求: + +1. **扁平化主题** - 清爽的色彩与极简线条。 +2. **深色模式** - 适合夜间使用的优雅风格。 +3. **高亮按钮** - 触发时视觉反馈强烈的效果。 +4. **渐变背景** - 动态颜色变化,增加界面活力。 +5. **圆形元素** - 适用于图标、按钮等,增添柔和触感。 +6. **材质风格** - 谷歌 Material Design 的QSS实现。 +7. **透明效果** - 让组件与背景融合,创造轻盈感觉。 +8. **复古设计** - 带用户回到经典时代的界面风格。 +9. **滑动条定制** - 美观且直观的自定义滑块。 +10. 至17. 更多种类,包含对话框、菜单、表格视图等特定组件的美化示例。 + +## 使用指南 + +- **导入**: 将下载的QSS文件放入您的项目资源中。 +- **应用**: 在Qt应用程序中,通过`QWidget::setStyleSheet()`方法应用样式表。 +- **定制**: 根据需要调整颜色、大小等属性,以完全符合您的品牌和设计规范。 +- **兼容性**: 确保所用的Qt版本与样式表兼容,以便最佳显示效果。 + +## 注意事项 + +- 请在实际应用前测试每个样式表,确保它们与您的应用逻辑和谐共存。 +- 鼓励贡献与反馈:如果您有新的模板或对现有模板的改进意见,欢迎提交PR或创建Issue讨论。 +- 版权信息:请注意版权及使用许可,尊重原创作者的工作。 + +## 开始使用 + +立即下载这些QSS模板,开始打造您独一无二的Qt应用程序界面,让用户体验更上一层楼! + +--- + +此仓库是为追求完美UI体验的开发者量身定做的宝库,让我们一起探索界面美学的无限可能! \ No newline at end of file diff --git a/qss样式表/bdc27-main.zip b/qss样式表/bdc27-main.zip new file mode 100644 index 0000000..e5d21cb Binary files /dev/null and b/qss样式表/bdc27-main.zip differ diff --git a/qss样式表/bdc27-main/bdc27-main/LICENSE b/qss样式表/bdc27-main/bdc27-main/LICENSE new file mode 100644 index 0000000..63b4b68 --- /dev/null +++ b/qss样式表/bdc27-main/bdc27-main/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [year] [fullname] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/qss样式表/bdc27-main/bdc27-main/My_Qss.zip b/qss样式表/bdc27-main/bdc27-main/My_Qss.zip new file mode 100644 index 0000000..9f3f6bd Binary files /dev/null and b/qss样式表/bdc27-main/bdc27-main/My_Qss.zip differ diff --git a/qss样式表/bdc27-main/bdc27-main/README.md b/qss样式表/bdc27-main/bdc27-main/README.md new file mode 100644 index 0000000..f4a8109 --- /dev/null +++ b/qss样式表/bdc27-main/bdc27-main/README.md @@ -0,0 +1,27 @@ +# 【精选QSS资源】一站式获取高质量QT界面美化素材 + +## 概览 +欢迎来到“精选QSS资源”仓库,这里汇集了互联网上超过30份精心挑选的QSS(Qt Style Sheets)资源。QSS类似于网页设计中的CSS,它使得开发者能够以灵活的方式定制和美化Qt应用程序的用户界面。无论你是Qt初学者还是经验丰富的开发者,这个资源库都能帮助你轻松提升应用的视觉效果。 + +## 特色内容 +- **丰富资源**:集合了超30款风格各异的QSS样式表,覆盖简洁现代到专业商务等多种设计风。 +- **即拿即用**:每个QSS文件都经过基础测试,可以直接应用于你的Qt项目,加速界面开发进程。 +- **包含教程**:不仅有样式文件,还有入门指导和使用技巧,即使是新手也能快速上手QSS。 +- **持续更新**:我们会根据反馈和资源的新颖度定期更新资源库,确保您获得的始终是最有价值的资料。 + +## 使用指南 +1. **下载资源**:首先,将本仓库的QSS文件下载到本地。 +2. **了解基本**:建议先阅读随资源提供的ReadMe文档,了解如何在Qt项目中正确引用和应用QSS。 +3. **集成应用**:在Qt Designer或代码中引入选定的QSS文件,按照教程步骤操作即可美化界面。 +4. **自定义调整**:根据需要,你可以对QSS进行修改,定制出符合项目特性的独特风格。 + +## 注意事项 +- 请在使用任何资源前确认其适用性和兼容性,特别是针对不同的Qt版本。 +- 鼓励社区交流和反馈,如果遇到问题或者有好的资源推荐,欢迎贡献! + +## 结语 +通过此资源库,我们希望每位Qt开发者都能够更加便捷地打造出既美观又功能强大的应用程序界面。现在就开始探索,让你的应用焕然一新吧!如果你觉得这些资源对你有所帮助,记得分享给更多的开发者朋友,一起提升我们的项目品质。 + +--- + +本仓库是视觉设计与技术实现的桥梁,让您的Qt项目在美学和技术上达到新的高度。开始你的界面美化之旅,从这里启航! \ No newline at end of file