Переделано под один мега-проект LMS с общим CMakeLists.txt
230
InstructorsAndTrainees/resources/css/styleSheetMain.css
Normal file
@@ -0,0 +1,230 @@
|
||||
/*Обязательные поля*/
|
||||
*[mandatoryField="true"] {
|
||||
background-color: #fff2fb
|
||||
}
|
||||
|
||||
|
||||
/*Общие настройки виджетов*/
|
||||
QWidget {
|
||||
font-family: Tahoma;
|
||||
font-size: 14pt;
|
||||
icon-size: 24px;
|
||||
}
|
||||
|
||||
|
||||
QLineEdit, QTextEdit {
|
||||
border: 1px solid gray;
|
||||
border-radius: 4px;
|
||||
padding: 0px 8px;
|
||||
background: white;
|
||||
selection-background-color: darkgray;
|
||||
}
|
||||
QLineEdit[echoMode="2"] {
|
||||
lineedit-password-character: 9679; /*Сокрытие пароля*/
|
||||
}
|
||||
QLineEdit:read-only {
|
||||
background: lightblue;
|
||||
}
|
||||
|
||||
|
||||
QGroupBox {
|
||||
background: #E0E0E0;
|
||||
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;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
||||
}
|
||||
|
||||
|
||||
QPushButton, QToolButton {
|
||||
border: 2px solid #8f8f91;
|
||||
border-style: outset;
|
||||
border-radius: 5px;
|
||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #f6f7fa, stop: 1 #dadbde);
|
||||
min-width: 80px;
|
||||
height: 60px;
|
||||
padding: 1px;
|
||||
}
|
||||
QPushButton {
|
||||
height: 25px;
|
||||
}
|
||||
QToolButton {
|
||||
width: 200px;
|
||||
}
|
||||
QToolButton#btnSend { /*Кнопка Send Мессенджера*/
|
||||
width: 60px;
|
||||
}
|
||||
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;
|
||||
}
|
||||
QPushButton:checked, QToolButton:checked {
|
||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #dadbde, stop: 1 #f6f7fa);
|
||||
border-style: inset;
|
||||
}
|
||||
|
||||
|
||||
QCheckBox {
|
||||
spacing: 20px;
|
||||
}
|
||||
QCheckBox::indicator:checked {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
image: url(:/resources/icons/chekYes.png);
|
||||
}
|
||||
QCheckBox::indicator:!checked {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
image: url(:/resources/icons/chekNo.png);
|
||||
}
|
||||
|
||||
|
||||
QTreeWidget {
|
||||
font-size: 12pt;
|
||||
font-family: Tahoma;
|
||||
icon-size: 24px;
|
||||
}
|
||||
QTreeWidget::item {
|
||||
height: 30px;
|
||||
}
|
||||
/*Бранчи*/
|
||||
QTreeWidget::branch:has-siblings:!adjoins-item {
|
||||
border-image: url(:/resources/icons/vline.png) 0;
|
||||
|
||||
}
|
||||
QTreeWidget::branch:has-siblings:adjoins-item {
|
||||
border-image: url(:/resources/icons/branch-more.png) 0;
|
||||
|
||||
}
|
||||
QTreeWidget::branch:!has-children:!has-siblings:adjoins-item {
|
||||
border-image: url(:/resources/icons/branch-end.png) 0;
|
||||
}
|
||||
QTreeWidget::branch:closed:has-children:!has-siblings,
|
||||
QTreeWidget::branch:closed:has-children:has-siblings {
|
||||
border-image: none;
|
||||
image: url(:/resources/icons/branch-closed.png);
|
||||
}
|
||||
QTreeWidget::branch:open:has-children:!has-siblings,
|
||||
QTreeWidget::branch:open:has-children:has-siblings {
|
||||
border-image: none;
|
||||
image: url(:/resources/icons/branch-open.png);
|
||||
}
|
||||
|
||||
QTreeWidget::item:hover,
|
||||
QTreeWidget::branch:hover {
|
||||
background: #aee1ff;
|
||||
}
|
||||
|
||||
QTreeWidget::item:selected {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
|
||||
color: #ffff00;
|
||||
}
|
||||
|
||||
|
||||
QHeaderView::section {
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
||||
stop:0 #c1c1c1, stop: 0.5 #505050,
|
||||
stop: 0.6 #434343, stop:1 #656565);
|
||||
color: white;
|
||||
padding-left: 4px;
|
||||
border: 1px solid #6c6c6c;
|
||||
}
|
||||
|
||||
|
||||
QTabWidget::pane { /* The tab widget frame */
|
||||
border-top: 1px solid #C2C7CB;
|
||||
background-image: url(:/resources/icons/messengerPrint.png);
|
||||
|
||||
}
|
||||
QTabWidget::tab-bar {
|
||||
left: 0px; /* move to the right by 0px */
|
||||
}
|
||||
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 {
|
||||
border-color: #9B9B9B;
|
||||
border-bottom-color: #C2C7CB; /* same as pane color */
|
||||
/* 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:!selected {
|
||||
margin-top: 5px; /* make non-selected tabs look smaller */
|
||||
background: #ffffff;
|
||||
}
|
||||
QTabBar::tab:hover {
|
||||
background: #aee1ff;
|
||||
}
|
||||
|
||||
QTabBar::scroller { /* the width of the scroll buttons */
|
||||
width: 80px;
|
||||
}
|
||||
QTabBar QToolButton { /* the scroll buttons are tool buttons */
|
||||
min-width: 30px;
|
||||
width: 30px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
QListWidget::item {
|
||||
padding: -5px;
|
||||
}
|
||||
QListWidget {
|
||||
/*background: pink;*/
|
||||
background: transparent;
|
||||
background: #f0ffff;
|
||||
}
|
||||
|
||||
QTextEdit {
|
||||
padding: -20px;
|
||||
font-size: 12pt;
|
||||
|
||||
}
|
||||
QTextEdit#MsgWidgetLocal {
|
||||
background: lightgreen;
|
||||
}
|
||||
QTextEdit#MsgWidgetRemote {
|
||||
background: lightblue;
|
||||
}
|
||||
|
||||
QWidget {
|
||||
|
||||
}
|
||||
BIN
InstructorsAndTrainees/resources/icons/DB-instructors.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
InstructorsAndTrainees/resources/icons/DB-trainees.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
InstructorsAndTrainees/resources/icons/addInstructor.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
InstructorsAndTrainees/resources/icons/addTrainee.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
InstructorsAndTrainees/resources/icons/admin.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
InstructorsAndTrainees/resources/icons/archive.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
InstructorsAndTrainees/resources/icons/branch-closed.png
Normal file
|
After Width: | Height: | Size: 334 B |
BIN
InstructorsAndTrainees/resources/icons/branch-end.png
Normal file
|
After Width: | Height: | Size: 182 B |
BIN
InstructorsAndTrainees/resources/icons/branch-more.png
Normal file
|
After Width: | Height: | Size: 136 B |
BIN
InstructorsAndTrainees/resources/icons/branch-open.png
Normal file
|
After Width: | Height: | Size: 346 B |
BIN
InstructorsAndTrainees/resources/icons/chekNo.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
InstructorsAndTrainees/resources/icons/chekYes.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
InstructorsAndTrainees/resources/icons/circleGray.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
InstructorsAndTrainees/resources/icons/circleGreen.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
InstructorsAndTrainees/resources/icons/connectDB.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
InstructorsAndTrainees/resources/icons/deleteGroup.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
InstructorsAndTrainees/resources/icons/deleteInstructor.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
InstructorsAndTrainees/resources/icons/deleteTrainee.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
InstructorsAndTrainees/resources/icons/docTasks.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
InstructorsAndTrainees/resources/icons/edit.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
InstructorsAndTrainees/resources/icons/group.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
InstructorsAndTrainees/resources/icons/instructor.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
InstructorsAndTrainees/resources/icons/instructorAdmin.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
InstructorsAndTrainees/resources/icons/instructorArchive.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
InstructorsAndTrainees/resources/icons/instructorFromArchive.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
InstructorsAndTrainees/resources/icons/login-user.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
InstructorsAndTrainees/resources/icons/malfunction.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
InstructorsAndTrainees/resources/icons/messengerPrint.png
Normal file
|
After Width: | Height: | Size: 5.2 MiB |
BIN
InstructorsAndTrainees/resources/icons/newGroup.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
InstructorsAndTrainees/resources/icons/procedure.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
InstructorsAndTrainees/resources/icons/rectGray.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
InstructorsAndTrainees/resources/icons/rectGreen.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
InstructorsAndTrainees/resources/icons/sendMsg.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
InstructorsAndTrainees/resources/icons/sign.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
InstructorsAndTrainees/resources/icons/sign.png.bak
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
InstructorsAndTrainees/resources/icons/task.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
InstructorsAndTrainees/resources/icons/trainee.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
InstructorsAndTrainees/resources/icons/traineeArchive.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
InstructorsAndTrainees/resources/icons/traineeFromArchive.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
InstructorsAndTrainees/resources/icons/vline.png
Normal file
|
After Width: | Height: | Size: 124 B |