Доделал стилизацию интерфейса

This commit is contained in:
krivoshein
2024-12-02 12:12:21 +03:00
parent d4ec9a3ce8
commit 7e810e584c
58 changed files with 511 additions and 323 deletions

Binary file not shown.

View File

@@ -1,71 +1,29 @@
# ninja log v5
551 596 7544209929621808 TestServerLMS_autogen/EWIEGA46WW/qrc_testServerLMS.cpp 7826208a1b187af8
604 642 7544209930105010 CMakeFiles/TestServerLMS.dir/TestServerLMS_autogen/EWIEGA46WW/qrc_testServerLMS.cpp.obj 1d7027b225e05bfc
13 43 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
47 2260 7544804014595305 CMakeFiles/TestServerLMS.dir/TestServerLMS_autogen/mocs_compilation.cpp.obj 4bc2eca6dcd8a69e
13 43 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 43 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
20 50 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
51 2280 7548292475273953 CMakeFiles/TestServerLMS.dir/TestServerLMS_autogen/mocs_compilation.cpp.obj 4bc2eca6dcd8a69e
20 50 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
20 50 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
34 41 0 clean 9c4b4372737ab8da
9 34 0 CMakeFiles/clean.additional 7155004b3956b606
2271 2461 7544890012845873 TestServerLMS.exe 66dadfaf4d2d246e
13 43 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
2472 2644 7548292478904229 TestServerLMS.exe 66dadfaf4d2d246e
20 50 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
551 596 7544209929621808 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/EWIEGA46WW/qrc_testServerLMS.cpp 7826208a1b187af8
50 2251 7544804014503408 CMakeFiles/TestServerLMS.dir/main.cpp.obj 1bd2a04151a0ba14
65 2271 7544890010958098 CMakeFiles/TestServerLMS.dir/mainwindow.cpp.obj 365b2bb39da65578
13 43 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 43 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
53 2306 7548292475533545 CMakeFiles/TestServerLMS.dir/main.cpp.obj 1bd2a04151a0ba14
12 229 7544209455417163 build.ninja ac221dfe1922250d
15 45 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
15 45 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
15 45 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
15 45 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
15 45 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
15 45 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 45 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 45 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 45 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 45 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 45 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 45 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 43 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 43 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 43 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 43 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 43 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 43 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 44 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 44 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 44 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 44 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 44 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 44 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
14 45 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
14 45 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
14 45 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
14 45 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
14 45 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
14 45 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 45 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 45 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 45 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 45 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 45 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 45 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
8 38 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
8 38 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
8 38 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
8 38 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
8 38 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
8 38 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 43 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 43 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 43 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 43 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 43 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 43 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 43 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 43 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 43 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
13 43 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
13 43 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
13 43 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
20 50 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
20 50 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
55 2472 7548292477189648 CMakeFiles/TestServerLMS.dir/mainwindow.cpp.obj 365b2bb39da65578
19 50 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
19 50 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
19 50 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
19 50 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
19 50 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
19 50 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
14 44 0 CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
14 44 0 TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
14 44 0 TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0
14 44 0 D:/LMS/TestServerLMS/Debug64/CMakeFiles/TestServerLMS_autogen 5989ad27e0bf1fd0
14 44 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/mocs_compilation.cpp 5989ad27e0bf1fd0
14 44 0 D:/LMS/TestServerLMS/Debug64/TestServerLMS_autogen/include/ui_mainwindow.h 5989ad27e0bf1fd0

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

View File

@@ -0,0 +1,74 @@
/*Содержимое*/
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:has-children:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #88cc88, stop: 1 #88cc88);
}
/*Выделение Обучаемых/Инструкторов при наведении курсора*/
QTreeWidget::item:!has-children:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1);
}
/*Выделение Групп*/
QTreeWidget::item:has-children,
QTreeWidget::branch:has-children {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #88aa88, stop: 1 #88bb88);
}
QTreeWidget::item:has-children:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #55aa55, stop: 1 #55bb55);
}
/*Выделение Обучаемых/Инструкторов*/
QTreeWidget::branch:!has-children {
background: transparent;
}
QTreeWidget::branch:!has-children:selected{
background: transparent;
}
QTreeWidget::item:!has-children:selected{
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
color: #ffffff;
}
/*Разделение ячеек Обучаемых
QTreeWidget::item:!has-children:has-siblings {
border-bottom: 1px solid #bfcde4;
}*/

View File

@@ -0,0 +1,35 @@
QTreeWidget {
font-size: 14pt;
font-family: TimesNewRoman;
}
QTreeWidget {
alternate-background-color: yellow;
}
QTreeWidget {
show-decoration-selected: 1;
}
QTreeWidget::item {
border: 1px solid #d9d9d9;
border-top-color: transparent;
border-bottom-color: transparent;
}
QTreeWidget::item:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1);
border: 1px solid #bfcde4;
}
QTreeWidget::item:selected {
border: 1px solid #567dbc;
}
QTreeWidget::item:selected:active{
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
}
QTreeWidget::item:selected:!active {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf);
}