Рефакт

This commit is contained in:
2025-09-12 17:11:53 +03:00
parent 7022db1e5c
commit 8533ff4c34
2 changed files with 58 additions and 14 deletions

View File

@@ -7,7 +7,7 @@
/*Общие настройки виджетов*/
QWidget {
font-family: Tahoma;
font-size: 11pt;
font-size: 12pt;
icon-size: 24px;
/*background-color: green;*/
}
@@ -44,6 +44,7 @@ QGroupBox {
border-radius: 3px;
margin-top: 5ex; /* leave space at the top for the title */
}
QGroupBox::title {
border: 1px solid gray;
@@ -55,6 +56,7 @@ QGroupBox::title {
padding-right: 10px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #A0CECE, stop: 1 #FFFFFF);
}
QPushButton, QToolButton {
@@ -73,14 +75,14 @@ QPushButton {
height: 25px;
}
QToolButton {
width: 165px;
width: 180px;
height: 55px;
}
QToolButton#btnSend, QToolButton#btnDelete, QToolButton#btnCheck, QToolButton#btnOnlyActive,
QToolButton#btnSave, QToolButton#btnUpdateStyle, QToolButton#btnSetVersion,
QToolButton#btnAssignTask {
width: 70px;
width: 80px;
height: 55px;
}
QPushButton:flat, QToolButton:flat {
@@ -126,7 +128,7 @@ QCheckBox::indicator:!checked {
QTreeWidget {
font-size: 12pt;
font-size: 13pt;
font-family: Tahoma;
icon-size: 32px;
}
@@ -162,18 +164,24 @@ QTreeWidget::branch:hover {
}
QTreeWidget::item:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
/*background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);*/
background: #6ea1f1;
color: #ffffff;
}
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;
stop: 0.6 #434343, stop:1 #656565);*/
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #A0CECE, stop: 1 #FFFFFF);
color: black;
padding-left: 4px;
border: 1px solid #6c6c6c;
font-size: 13pt;
}
@@ -194,6 +202,7 @@ QTabWidget::pane#tabWidgetTasks { /* The tab widget frame */
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,
@@ -202,12 +211,14 @@ QTabBar::tab {
border-bottom-color: #C2C7CB; /* same as the pane color */
border-top-left-radius: 4px;
border-top-right-radius: 4px;
min-width: 20ex;
min-width: 40ex;
padding: 2px;
font-size: 12pt;
}
/*
QTabBar::tab:selected {
border-color: #9B9B9B;
@@ -245,32 +256,63 @@ QListWidget::item {
QListWidget {
/*background: pink;*/
background: transparent;
background: #ffffff;
/*background: #ffffff;*/
background: #ddeeff;
}
QTextEdit {
padding: -20px;
font-size: 11pt;
font-size: 12pt;
}
QTextEdit#editMsg {
height: 65px; /**/
background: #ddeeff;
}
QTextEdit#MsgWidgetEditTextLocal {
/*background: tlightgreen;*/
background: #ddffdd;
border-radius: 10px;
border-radius: 8px;
}
QTextEdit#MsgWidgetEditTextRemote {
/*background: lightblue;*/
background: #ddeeff;
border-radius: 10px;
/*background: #ddeeff;*/
background: #ffffff;
border-radius: 8px;
}
QLabel#MsgWidgetLblTimeLocal {
font-size: 9pt;
/*background: yellow;*/
}
QLabel#MsgWidgetLblTimeRemote {
font-size: 9pt;
/*background: yellow;*/
}
QLabel#MsgWidgetLblNameLocal {
font-size: 9pt;
/*background: yellow;*/
}
QLabel#MsgWidgetLblNameRemote {
font-size: 9pt;
/*background: yellow;*/
}
QLabel#MsgWidgetLblAvatar {
/*background: pink;*/
}
QLabel#MessangerWidgetLblUser {
background: #ddeeff;
padding-left: 4px;
border-radius: 8px;
}
QLabel#MessangerWidgetLblAvatar {
}
QLabel#MessangerWidgetLblLoggedIn {
}
QWidget {