mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
refact
This commit is contained in:
@@ -9,14 +9,10 @@ QWidget {
|
|||||||
font-family: Tahoma;
|
font-family: Tahoma;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
icon-size: 24px;
|
icon-size: 24px;
|
||||||
/*background-color: green;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget#widgetControl {
|
QWidget#widgetControl {
|
||||||
/*border: 1px solid gray;*/
|
|
||||||
background: #E0E0E0;
|
background: #E0E0E0;
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget#viewerTrainees
|
QWidget#viewerTrainees
|
||||||
{
|
{
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
@@ -27,6 +23,7 @@ QDialog {
|
|||||||
stop: 0 #e6e7ea, stop: 1 #eaebee);
|
stop: 0 #e6e7ea, stop: 1 #eaebee);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QLineEdit, QTextEdit, QComboBox {
|
QLineEdit, QTextEdit, QComboBox {
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
@@ -46,41 +43,42 @@ QGroupBox {
|
|||||||
background: #E0E0E0;
|
background: #E0E0E0;
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
/*margin-top: 6ex; leave space at the top for the title */
|
margin-top: 26px;
|
||||||
margin-top: 21px;
|
font-size: 13pt;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
QGroupBox#groupBox_Report {
|
QGroupBox#groupBox_Report {
|
||||||
/*background: #F9F9F9;*/
|
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
}
|
}
|
||||||
QGroupBox::title {
|
QGroupBox::title {
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
/*border-radius: 4px;*/
|
|
||||||
border-top-left-radius: 4px;
|
border-top-left-radius: 4px;
|
||||||
border-top-right-radius: 4px;
|
border-top-right-radius: 4px;
|
||||||
subcontrol-origin: margin;
|
subcontrol-origin: margin;
|
||||||
subcontrol-position: top left;
|
subcontrol-position: top left;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||||
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
stop: 0 #fafafa, stop: 0.1 #E0E0E0,
|
||||||
|
stop: 0.6 #E0E0E0, stop: 1.0 #fafafa);
|
||||||
|
color: black;
|
||||||
|
min-height: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QPushButton, QToolButton {
|
QPushButton, QToolButton {
|
||||||
border: 2px solid #8f8f91;
|
border: 3px solid #8f8f91;
|
||||||
border-style: outset;
|
border-style: outset;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
background-color: #5d85B5;
|
||||||
stop: 0 #f6f7fa, stop: 1 #dadbde);
|
|
||||||
min-width: 75px;
|
min-width: 75px;
|
||||||
height: 55px;
|
height: 55px;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
|
|
||||||
qproperty-iconSize: 32px;
|
qproperty-iconSize: 32px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
QToolButton::icon {
|
||||||
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton {
|
QPushButton {
|
||||||
@@ -93,14 +91,14 @@ QToolButton {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QToolButton#btnSend, QToolButton#btnDelete, QToolButton#btnCheck, QToolButton#btnOnlyActive, QToolButton#btnStatus,
|
QToolButton#btnSend, QToolButton#btnDelete, QToolButton#btnCheck, QToolButton#btnOnlyActive, QToolButton#btnStatus,
|
||||||
QToolButton#btnSave, QToolButton#btnUpdateStyle, QToolButton#btnSetVersion,
|
QToolButton#btnSave, QToolButton#btnUpdateStyle, QToolButton#btnSetVersion, QToolButton#btnDocsUpdating,
|
||||||
QToolButton#btnAssignTask, QToolButton#btnCheckDB, QToolButton#btnRepare, QToolButton#btnDocsUpdating,
|
QToolButton#btnAssignTask,
|
||||||
QToolButton#btnAssign {
|
QToolButton#btnAssign {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 55px;
|
height: 55px;
|
||||||
}
|
}
|
||||||
QToolButton#btnCheckDB, QToolButton#btnUpdateDocs {
|
QToolButton#btnCheckDB, QToolButton#btnUpdateDocs, QToolButton#btnRepare {
|
||||||
width: 100px;
|
width: 150px;
|
||||||
height: 55px;
|
height: 55px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -113,33 +111,28 @@ QToolButton#btnViewPassword, QToolButton#btnChangePassword {
|
|||||||
QPushButton:flat, QToolButton:flat {
|
QPushButton:flat, QToolButton:flat {
|
||||||
border: none; /* no border for a flat push button */
|
border: none; /* no border for a flat push button */
|
||||||
}
|
}
|
||||||
|
QPushButton:disabled, QToolButton:disabled {
|
||||||
|
background-color: #777777;
|
||||||
|
}
|
||||||
QPushButton:default, QToolButton:default {
|
QPushButton:default, QToolButton:default {
|
||||||
border-color: /*darkblue*/#2d5585; /*make the default button prominent */
|
border-color: white; /*make the default button prominent */
|
||||||
|
border-width: 4px;
|
||||||
|
border: 3px outset #2d5585;
|
||||||
}
|
}
|
||||||
QPushButton:hover , QToolButton:hover {
|
QPushButton:hover , QToolButton:hover {
|
||||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
background-color: #9dc5f5;
|
||||||
stop: 0 #fafafa, stop: 0.4 #f4f4f4,
|
|
||||||
stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
|
|
||||||
}
|
}
|
||||||
QPushButton:pressed, QToolButton:pressed {
|
QPushButton:pressed, QToolButton:pressed {
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
background-color: #8db5e5;
|
||||||
stop: 0 #dadbde, stop: 1 #f6f7fa);
|
|
||||||
border-style: inset;
|
border-style: inset;
|
||||||
}
|
}
|
||||||
QPushButton:checked, QToolButton:checked {
|
QPushButton:checked, QToolButton:checked {
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||||
stop: 0 #dadbde, stop: 1 #f6f7fa);
|
stop: 0 #dadbde, stop: 1 #f6f7fa);
|
||||||
|
background-color: #9dc5f5;
|
||||||
|
background-color: #8db5e5;
|
||||||
border-style: inset;
|
border-style: inset;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
QDialogButtonBox {
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
QCheckBox {
|
QCheckBox {
|
||||||
@@ -148,7 +141,6 @@ QCheckBox {
|
|||||||
QCheckBox#checkAutoStart, QCheckBox#checkLocalhost {
|
QCheckBox#checkAutoStart, QCheckBox#checkLocalhost {
|
||||||
spacing: 0px;
|
spacing: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked {
|
QCheckBox::indicator:checked {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
@@ -160,22 +152,18 @@ QCheckBox::indicator:!checked {
|
|||||||
image: url(:/resources/icons/chekNo.png);
|
image: url(:/resources/icons/chekNo.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QTreeWidget {
|
QTreeWidget {
|
||||||
font-size: 13pt;
|
font-size: 13pt;
|
||||||
font-family: Tahoma;
|
font-family: Tahoma;
|
||||||
icon-size: 32px;
|
icon-size: 32px;
|
||||||
|
|
||||||
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 2px solid white;
|
border: 2px solid white;
|
||||||
|
|
||||||
/*background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
||||||
stop: 0 #e6e7ea, stop: 1 #eaebee);*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
QTreeWidget::item {
|
QTreeWidget::item {
|
||||||
height: 34px;
|
height: 34px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Бранчи*/
|
/*Бранчи*/
|
||||||
QTreeWidget::branch:has-siblings:!adjoins-item {
|
QTreeWidget::branch:has-siblings:!adjoins-item {
|
||||||
/*border-image: url(:/resources/icons/vline.png) 0; */
|
/*border-image: url(:/resources/icons/vline.png) 0; */
|
||||||
@@ -200,18 +188,14 @@ QTreeWidget::branch:open:has-children:has-siblings {
|
|||||||
|
|
||||||
QTreeWidget::item:hover,
|
QTreeWidget::item:hover,
|
||||||
QTreeWidget::branch:hover {
|
QTreeWidget::branch:hover {
|
||||||
background: #aee1ff;
|
background: #EEEEEE;
|
||||||
background: #C0EEEE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeWidget::item:selected {
|
QTreeWidget::item:selected {
|
||||||
/*background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);*/
|
background: #9dc5f5;
|
||||||
background: #6ea1f1;
|
|
||||||
background: #A0CECE;
|
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QTreeWidget::indicator:checked {
|
QTreeWidget::indicator:checked {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
@@ -225,34 +209,23 @@ QTreeWidget::indicator:!checked {
|
|||||||
|
|
||||||
|
|
||||||
QHeaderView::section {
|
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);*/
|
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||||
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
stop: 0 #2d5585, stop: 1 #9dc5f5);
|
||||||
color: black;
|
color: white;
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
border: 1px solid #6c6c6c;
|
border: 1px solid #6c6c6c;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
|
|
||||||
font-size: 13pt;
|
font-size: 13pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QTabWidget::pane { /* The tab widget frame */
|
QTabWidget::pane { /* The tab widget frame */
|
||||||
border-top: 1px solid #C2C7CB;
|
border-top: 1px solid #C2C7CB;
|
||||||
/*background-image: url(:/resources/icons/messengerPrint.png);*/
|
border: 1px solid #C2C7CB;
|
||||||
}
|
}
|
||||||
QTabWidget::pane#tabWidgetTasks { /* The tab widget frame */
|
QTabWidget::pane#tabWidgetTasks { /* The tab widget frame */
|
||||||
border-top: 1px solid #C2C7CB;
|
border-top: 1px solid #C2C7CB;
|
||||||
/*background-image: url(:/resources/icons/messengerPrint.png);*/
|
border: 1px solid #C2C7CB;
|
||||||
/*
|
|
||||||
padding-left: -18px;
|
|
||||||
padding-right: -18px;
|
|
||||||
padding-top: -8px;
|
|
||||||
padding-bottom: -8px;
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
QTabWidget::tab-bar {
|
QTabWidget::tab-bar {
|
||||||
left: 0px; /* move to the right by 0px */
|
left: 0px; /* move to the right by 0px */
|
||||||
@@ -262,41 +235,37 @@ QTabBar::tab {
|
|||||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||||
stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
|
stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
|
||||||
stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
|
stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
|
||||||
|
|
||||||
border: 2px solid #C4C4C3;
|
border: 2px solid #C4C4C3;
|
||||||
border-bottom-color: #C2C7CB; /* same as the pane color */
|
border-bottom-color: #C2C7CB; /* same as the pane color */
|
||||||
border-top-left-radius: 4px;
|
border-top-left-radius: 4px;
|
||||||
border-top-right-radius: 4px;
|
border-top-right-radius: 4px;
|
||||||
min-width: 40ex;
|
min-width: 40ex;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
|
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||||
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
||||||
|
|
||||||
|
background-color: #5d85B5;
|
||||||
|
color: black;
|
||||||
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:selected {
|
||||||
|
border-style: outset;
|
||||||
|
background: #8db5e5;
|
||||||
|
|
||||||
/*
|
|
||||||
QTabBar::tab:selected {
|
|
||||||
border-color: #9B9B9B;
|
|
||||||
border-bottom-color: #C2C7CB;
|
|
||||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
QTabBar::tab:selected {
|
|
||||||
/*background: #ffffff;*/
|
|
||||||
}
|
}
|
||||||
QTabBar::tab:!selected {
|
QTabBar::tab:!selected {
|
||||||
margin-top: 10px; /* make non-selected tabs look smaller */
|
border-style: inset;
|
||||||
/*background: #ffffff;*/
|
background: #aaaaaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QTabBar::tab:hover {
|
QTabBar::tab:hover {
|
||||||
background: #aee1ff;
|
background: #aee1ff;
|
||||||
background: #C0EEEE;
|
background: #EEEEEE;
|
||||||
|
background-color: #9dc5f5;
|
||||||
|
background: #8db5e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::scroller { /* the width of the scroll buttons */
|
QTabBar::scroller { /* the width of the scroll buttons */
|
||||||
@@ -310,73 +279,79 @@ QTabBar QToolButton { /* the scroll buttons are tool buttons */
|
|||||||
}
|
}
|
||||||
|
|
||||||
QListWidget::item {
|
QListWidget::item {
|
||||||
/*padding: -5px;*/
|
|
||||||
}
|
}
|
||||||
QListWidget#oneDialogMessenger {
|
QListWidget#oneDialogMessenger {
|
||||||
/*background: #ddeeff;*/
|
background-color: white;
|
||||||
|
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
||||||
stop: 0 #B0DEDE, stop: 1 #FFFFFF);
|
|
||||||
|
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QListWidget::item:selected {
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
QListWidget#oneDialogMessenger::item:selected {
|
||||||
|
color: #000000;
|
||||||
|
background: #ffffff;
|
||||||
|
}
|
||||||
|
QListWidget::item:hover {
|
||||||
|
background: #EEEEEE;
|
||||||
|
}
|
||||||
|
QListWidget#oneDialogMessenger::item:hover {
|
||||||
|
background: #ffffff;
|
||||||
|
}
|
||||||
QListWidget#subProcItemListWidget::item:hover {
|
QListWidget#subProcItemListWidget::item:hover {
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QListWidget {
|
||||||
|
selection-background-color: #9dc5f5;; /* Цвет выделенного элемента */
|
||||||
|
selection-color: black; /* Цвет текста выделенного элемента */
|
||||||
|
show-decoration-selected: false; /* Показывать выделение на выбранном элементе */
|
||||||
|
outline: none; /* Без выделения фокуса */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
QTextEdit {
|
QTextEdit {
|
||||||
padding: -20px;
|
padding: -20px;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
|
|
||||||
}
|
}
|
||||||
QTextEdit#editMsg {
|
QTextEdit#editMsg {
|
||||||
height: 65px; /**/
|
height: 65px;
|
||||||
background: #ddeeff;
|
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
QTextEdit#MsgWidgetEditTextLocal {
|
QTextEdit#MsgWidgetEditTextLocal {
|
||||||
/*background: tlightgreen;*/
|
background: #EEEEEE;
|
||||||
background: #ddffdd;
|
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
QTextEdit#MsgWidgetEditTextRemote {
|
QTextEdit#MsgWidgetEditTextRemote {
|
||||||
/*background: lightblue;*/
|
background: #9dc5f5;
|
||||||
/*background: #ddeeff;*/
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
QLabel#MsgWidgetLblTimeLocal {
|
QLabel#MsgWidgetLblTimeLocal {
|
||||||
font-size: 9pt;
|
font-size: 9pt;
|
||||||
/*background: yellow;*/
|
|
||||||
}
|
}
|
||||||
QLabel#MsgWidgetLblTimeRemote {
|
QLabel#MsgWidgetLblTimeRemote {
|
||||||
font-size: 9pt;
|
font-size: 9pt;
|
||||||
/*background: yellow;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QLabel#MsgWidgetLblNameLocal {
|
QLabel#MsgWidgetLblNameLocal {
|
||||||
font-size: 9pt;
|
font-size: 9pt;
|
||||||
/*background: yellow;*/
|
|
||||||
}
|
}
|
||||||
QLabel#MsgWidgetLblNameRemote {
|
QLabel#MsgWidgetLblNameRemote {
|
||||||
font-size: 9pt;
|
font-size: 9pt;
|
||||||
/*background: yellow;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QLabel#MsgWidgetLblAvatar {
|
QLabel#MsgWidgetLblAvatar {
|
||||||
/*background: pink;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
QLabel#MessangerWidgetLblUser {
|
QLabel#MessangerWidgetLblUser {
|
||||||
background: #ddeeff;
|
background: #ddeeff;
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
background: #9dc5f5;
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
||||||
stop: 0 #A0CECE, stop: 1 #FFFFFF);
|
|
||||||
}
|
}
|
||||||
QLabel#MessangerWidgetLblAvatar {
|
QLabel#MessangerWidgetLblAvatar {
|
||||||
|
|
||||||
@@ -385,9 +360,9 @@ QLabel#MessangerWidgetLblLoggedIn {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QLabel#PersonalCard_lblName {
|
QLabel#PersonalCard_lblName {
|
||||||
font-size: 16pt;
|
font-size: 16pt;
|
||||||
|
color: #2d5585;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLabel#ReportFimWidget_label_MMEL, QLabel#ActionWidget_lbl_Type {
|
QLabel#ReportFimWidget_label_MMEL, QLabel#ActionWidget_lbl_Type {
|
||||||
@@ -433,22 +408,29 @@ QPlainTextEdit#ActionWidget_plainTextEdit_Comment{
|
|||||||
background: #FEFEFE;
|
background: #FEFEFE;
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget {
|
|
||||||
/*border-radius: 5px;
|
|
||||||
border: 1px solid gray;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
QWidget#widgetControl {
|
|
||||||
background: #E0E0E0;
|
|
||||||
}
|
|
||||||
|
|
||||||
QPlainTextEdit#plainText{ /*Репорт*/
|
QPlainTextEdit#plainText{ /*Репорт*/
|
||||||
margin-left: 50pt;
|
margin-left: 50pt;
|
||||||
margin-right: 100pt;
|
margin-right: 100pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**/
|
|
||||||
QComboBox {
|
QComboBox::drop-down {
|
||||||
/*background: #ffffff;
|
subcontrol-position: right center; /*Выравнивание стрелки по центру */
|
||||||
border-radius: 5px;*/
|
width: 20px; /* Ширина области со стрелкой */
|
||||||
|
border: none;
|
||||||
|
border-left: 1px solid gray;
|
||||||
|
background: #E0E0E0;
|
||||||
|
}
|
||||||
|
QComboBox::down-arrow {
|
||||||
|
image: url(:/resources/icons/branch-open.png); /* Подставляем свою картинку стрелки */
|
||||||
|
width: 16px; /* Размер иконки */
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QComboBox QAbstractItemView {
|
||||||
|
selection-background-color: #9dc5f5;; /* Цвет выделенного элемента */
|
||||||
|
selection-color: black; /* Цвет текста выделенного элемента */
|
||||||
|
alternate-background-color: lightgrey; /* Чередующиеся строки */
|
||||||
|
show-decoration-selected: true; /* Показывать выделение на выбранном элементе */
|
||||||
|
outline: none; /* Без выделения фокуса */
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,13 +7,13 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>650</width>
|
<width>650</width>
|
||||||
<height>400</height>
|
<height>450</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>650</width>
|
<width>650</width>
|
||||||
<height>400</height>
|
<height>450</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
|||||||
Reference in New Issue
Block a user