styleSheet

This commit is contained in:
krivoshein
2024-12-18 14:53:12 +03:00
parent a839f964fe
commit 3ed2b5f5d1
55 changed files with 1160 additions and 874 deletions

Binary file not shown.

View File

@@ -1,66 +1,86 @@
# ninja log v5
24 454 0 testDBpgSQL_autogen/mocs_compilation.cpp d08ec0c05fa072d8
24 454 0 testDBpgSQL_autogen/include/ui_mainwindow.h d08ec0c05fa072d8
17 48 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
456 505 7551837947273032 GUIdataBaseLMS_autogen/EWIEGA46WW/qrc_testDBpgSQL.cpp 2845afa7952c1899
32 39 0 clean 9c4b4372737ab8da
2188 2534 7549968971818713 testDBpgSQL.exe 2cffdb60e2e039f
17 48 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
456 505 7551837947273032 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/EWIEGA46WW/qrc_testDBpgSQL.cpp 2845afa7952c1899
17 48 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
42 1359 7560516203584944 CMakeFiles/GUIdataBaseLMS.dir/main.cpp.obj a2eccd89d22e2bf1
17 48 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
513 565 7551837947891396 CMakeFiles/GUIdataBaseLMS.dir/GUIdataBaseLMS_autogen/EWIEGA46WW/qrc_testDBpgSQL.cpp.obj f3adc5dfd1a45619
40 1340 7560516203393501 CMakeFiles/GUIdataBaseLMS.dir/GUIdataBaseLMS_autogen/mocs_compilation.cpp.obj a7350fa2ef349e5c
1462 1612 7560516206097136 GUIdataBaseLMS.exe dadb916a9424404
10 32 0 CMakeFiles/clean.additional 7155004b3956b606
441 482 7549320531460357 testDBpgSQL_autogen/EWIEGA46WW/qrc_testDBpgSQL.cpp e72511a2b01b9766
17 48 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
45 1462 7560516204608000 CMakeFiles/GUIdataBaseLMS.dir/mainwindow.cpp.obj de40007ae8044c51
17 48 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
17 57 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
17 57 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
17 57 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
17 57 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
17 57 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
17 57 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
58 1362 7561270615116359 CMakeFiles/GUIdataBaseLMS.dir/GUIdataBaseLMS_autogen/mocs_compilation.cpp.obj a7350fa2ef349e5c
60 1401 7561270615510715 CMakeFiles/GUIdataBaseLMS.dir/main.cpp.obj a2eccd89d22e2bf1
63 1480 7561270616293868 CMakeFiles/GUIdataBaseLMS.dir/mainwindow.cpp.obj de40007ae8044c51
1480 1631 7561270617794445 GUIdataBaseLMS.exe dadb916a9424404
17 50 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
17 50 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
17 50 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
17 50 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
17 50 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
17 50 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
14 46 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
14 46 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
14 46 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
14 46 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
14 46 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
14 46 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
46 1326 7561300495744043 CMakeFiles/GUIdataBaseLMS.dir/GUIdataBaseLMS_autogen/mocs_compilation.cpp.obj a7350fa2ef349e5c
49 1390 7561300496392782 CMakeFiles/GUIdataBaseLMS.dir/main.cpp.obj a2eccd89d22e2bf1
52 1442 7561300496911793 CMakeFiles/GUIdataBaseLMS.dir/mainwindow.cpp.obj de40007ae8044c51
1442 1589 7561300498365263 GUIdataBaseLMS.exe dadb916a9424404
16 47 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
16 47 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
16 47 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
16 47 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
16 47 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
16 47 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
48 1335 7561302103148836 CMakeFiles/GUIdataBaseLMS.dir/GUIdataBaseLMS_autogen/mocs_compilation.cpp.obj a7350fa2ef349e5c
50 1361 7561302103408833 CMakeFiles/GUIdataBaseLMS.dir/main.cpp.obj a2eccd89d22e2bf1
53 1471 7561302104507899 CMakeFiles/GUIdataBaseLMS.dir/mainwindow.cpp.obj de40007ae8044c51
1471 1618 7561302105971956 GUIdataBaseLMS.exe dadb916a9424404
17 48 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
17 48 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
17 48 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
17 48 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
17 48 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
17 48 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
48 1332 7561309766294076 CMakeFiles/GUIdataBaseLMS.dir/GUIdataBaseLMS_autogen/mocs_compilation.cpp.obj a7350fa2ef349e5c
50 1367 7561309766633299 CMakeFiles/GUIdataBaseLMS.dir/main.cpp.obj a2eccd89d22e2bf1
53 1469 7561309767660784 CMakeFiles/GUIdataBaseLMS.dir/mainwindow.cpp.obj de40007ae8044c51
1469 1616 7561309769110163 GUIdataBaseLMS.exe dadb916a9424404
10 32 0 CMakeFiles/clean.additional 7155004b3956b606
1518 1673 7562095797909082 GUIdataBaseLMS.exe dadb916a9424404
66 1366 7562095794857401 CMakeFiles/GUIdataBaseLMS.dir/GUIdataBaseLMS_autogen/mocs_compilation.cpp.obj a7350fa2ef349e5c
12 43 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
456 505 7551837947273032 GUIdataBaseLMS_autogen/EWIEGA46WW/qrc_testDBpgSQL.cpp 2845afa7952c1899
2188 2534 7549968971818713 testDBpgSQL.exe 2cffdb60e2e039f
32 39 0 clean 9c4b4372737ab8da
24 454 0 testDBpgSQL_autogen/mocs_compilation.cpp d08ec0c05fa072d8
12 43 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
24 454 0 testDBpgSQL_autogen/include/ui_mainwindow.h d08ec0c05fa072d8
12 43 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
71 1518 7562095796371584 CMakeFiles/GUIdataBaseLMS.dir/mainwindow.cpp.obj de40007ae8044c51
513 565 7551837947891396 CMakeFiles/GUIdataBaseLMS.dir/GUIdataBaseLMS_autogen/EWIEGA46WW/qrc_testDBpgSQL.cpp.obj f3adc5dfd1a45619
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
69 1393 7562095795122235 CMakeFiles/GUIdataBaseLMS.dir/main.cpp.obj a2eccd89d22e2bf1
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
456 505 7551837947273032 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/EWIEGA46WW/qrc_testDBpgSQL.cpp 2845afa7952c1899
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 42 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 42 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 42 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 42 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 42 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 42 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 43 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 43 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 43 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 43 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 43 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 43 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
13 43 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
13 43 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
13 43 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
13 43 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
13 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
13 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 43 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 43 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 43 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
13 43 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
13 43 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
13 43 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
13 43 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
13 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
13 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
13 43 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
13 43 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
13 43 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
13 43 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
13 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
13 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 43 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 43 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 43 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 43 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 43 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 43 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
12 43 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
13 42 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
13 42 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
13 42 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
13 42 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
13 42 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
13 42 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
17 55 0 CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
17 55 0 GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
17 55 0 GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f
17 55 0 D:/LMS/GUIdataBaseLMS/Debug64/CMakeFiles/GUIdataBaseLMS_autogen c6b82d135913dd0f
17 55 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/mocs_compilation.cpp c6b82d135913dd0f
17 55 0 D:/LMS/GUIdataBaseLMS/Debug64/GUIdataBaseLMS_autogen/include/ui_mainwindow.h c6b82d135913dd0f

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -0,0 +1,20 @@
/*Содержимое*/
QListView {
font-size: 14pt;
font-family: Tahoma;
}
QListView::item {
align-items: top;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #ABAFE5, stop: 1 #8588B2);
border: 1px solid #6a6ea9;
}
QListView::item::icon {
align: top;
size: 32p, 32p;
}

View File

@@ -0,0 +1,263 @@
*[mandatoryField="true"] { background-color: pink }
QWidget {
font-family: Tahoma;
font-size: 14pt;
icon-size: 24px;
}
QWidget::title {
text-align: left;
background: white;
padding-left: 10px;
}
QLineEdit, QTextEdit {
border: 1px solid gray;
border-radius: 5px;
padding: 0 8px;
background: white;
selection-background-color: darkgray;
}
QLineEdit[echoMode="2"] {
lineedit-password-character: 9679;
}
/*
QTextEdit {
border: 1px solid gray;
border-radius: 5px;
padding: 0 8px;
background: yellow;
selection-background-color: darkgray;
max-height: 55px;
}*/
QGroupBox {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #E0E0E0, stop: 1 #FFFFFF);
border: 1px solid gray;
border-radius: 5px;
margin-top: 5ex; /* leave space at the top for the title */
}
QGroupBox::title {
border: 1px solid gray;
border-bottom: none;
border-radius: 5px;
subcontrol-origin: margin;
subcontrol-position: top left; /* position at the top center */
padding-left: 10px;
padding-right: 10px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #FF0ECE, stop: 1 #FFFFFF);
}
/*
QToolButton, QPushButton {
background-color: lightblue;
border-style: outset;
border-width: 2px;
border-radius: 10px;
border-color: beige;
font: bold 14px;
padding: 1px;
height: 50px;
}
QPushButton {
min-width: 80px;
}
QToolButton#btnSend {
width: 50px;
}
QToolButton:pressed {
background-color: blue;
border-style: inset;
}
QToolButton:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #fafafa, stop: 0.4 #f4f4f4,
stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
}
*/
QPushButton, QToolButton {
border: 2px solid #8f8f91;
border-style: outset;
border-radius: 6px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #f6f7fa, stop: 1 #dadbde);
min-width: 80px;
height: 50px;
padding: 1px;
}
QPushButton {
height: 30px;
}
QPushButton:flat, QToolButton:flat {
border: none; /* no border for a flat push button */
}
QPushButton:default, QToolButton:default {
border-color: navy; /* make the default button prominent */
}
QPushButton:hover , QToolButton:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #fafafa, stop: 0.4 #f4f4f4,
stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
}
QPushButton:pressed, QToolButton:pressed {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #dadbde, stop: 1 #f6f7fa);
border-style: inset;
}
QMessageBox {
background-color: yellow;
title-font: bold 14px;
}
QHeaderView::section {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #616161, stop: 0.5 #505050,
stop: 0.6 #434343, stop:1 #656565);
color: white;
padding-left: 4px;
border: 1px solid #6c6c6c;
}
/*Содержимое*/
QTreeWidget {
font-size: 12pt;
font-family: Tahoma;
icon-size: 24px;
}
QTreeWidget::item {
height: 30px;
}
/*
QIcon {
size: 64px 64px;
}*/
/*Заголовок
QHeaderView {
font-size: 16pt;
font-family: Tahoma;
}*/
/*Бранчи*/
QTreeWidget::branch:has-siblings:!adjoins-item {
border-image: url(vline.png) 0;
}
QTreeWidget::branch:has-siblings:adjoins-item {
border-image: url(branch-more.png) 0;
}
QTreeWidget::branch:!has-children:!has-siblings:adjoins-item {
border-image: url(branch-end.png) 0;
}
QTreeWidget::branch:closed:has-children:!has-siblings,
QTreeWidget::branch:closed:has-children:has-siblings {
border-image: none;
image: url(branch-closed.png);
}
QTreeWidget::branch:open:has-children:!has-siblings,
QTreeWidget::branch:open:has-children:has-siblings {
border-image: none;
image: url(branch-open.png);
}
QTreeWidget::item:hover,
QTreeWidget::branch:hover {
background: #aee1ff;
}
QTreeWidget::item:selected,
QTreeWidget::branch:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
color: #ffffff;
}
QTabWidget::pane { /* The tab widget frame */
border-top: 2px solid #C2C7CB;
}
QTabWidget::tab-bar {
left: 5px; /* move to the right by 5px */
}
/* Style the tab using the tab sub-control. Note that
it reads QTabBar _not_ QTabWidget */
QTabBar::tab {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
border: 2px solid #C4C4C3;
border-bottom-color: #C2C7CB; /* same as the pane color */
border-top-left-radius: 4px;
border-top-right-radius: 4px;
min-width: 8ex;
padding: 2px;
}
QTabBar::tab:selected, QTabBar::tab:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #fafafa, stop: 0.4 #f4f4f4,
stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
}
QTabBar::tab:selected {
border-color: #9B9B9B;
border-bottom-color: #C2C7CB; /* same as pane color */
}
QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
}
/* make use of negative margins for overlapping tabs */
QTabBar::tab:selected {
/* expand/overlap to the left and right by 4px */
margin-left: -4px;
margin-right: -4px;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
color: #ffffff;
}
QTabBar::tab:first:selected {
margin-left: 0; /* the first selected tab has nothing to overlap with on the left */
}
QTabBar::tab:last:selected {
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
}
QTabBar::tab:only-one {
margin: 0; /* if there is only one tab, we don't want overlapping margins */
}

View File

@@ -1,50 +1,3 @@
/*Содержимое*/
QTreeWidget {
font-size: 10pt;
font-family: Tahoma;
}
/*Заголовок*/
QHeaderView {
font-size: 12pt;
font-family: Tahoma;
}
/*Бранчи*/
QTreeWidget::branch:has-siblings:!adjoins-item {
border-image: url(vline.png) 0;
}
QTreeWidget::branch:has-siblings:adjoins-item {
border-image: url(branch-more.png) 0;
}
QTreeWidget::branch:!has-children:!has-siblings:adjoins-item {
border-image: url(branch-end.png) 0;
}
QTreeWidget::branch:closed:has-children:!has-siblings,
QTreeWidget::branch:closed:has-children:has-siblings {
border-image: none;
image: url(branch-closed.png);
}
QTreeWidget::branch:open:has-children:!has-siblings,
QTreeWidget::branch:open:has-children:has-siblings {
border-image: none;
image: url(branch-open.png);
}
QTreeWidget::item:hover,
QTreeWidget::branch:hover {
background: #aee1ff;
}
QTreeWidget::item:selected,
QTreeWidget::branch:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
color: #ffffff;
}