更新导航按钮布局、更新参数设置样式、更新病例管理样式
This commit is contained in:
parent
f6528367d6
commit
1bd1ddba88
Binary file not shown.
@ -46,7 +46,8 @@ bool NavListWidget::initConnect()
|
||||
{
|
||||
|
||||
QVBoxLayout * vlay = new QVBoxLayout;
|
||||
QGridLayout * gridlay = new QGridLayout;
|
||||
// QGridLayout * gridlay = new QGridLayout;
|
||||
QVBoxLayout * gridlay = new QVBoxLayout;
|
||||
vlay->addLayout(gridlay);
|
||||
vlay->addStretch();
|
||||
setLayout(vlay);
|
||||
@ -69,12 +70,14 @@ bool NavListWidget::initConnect()
|
||||
pButtonGroup->addButton(btn);
|
||||
//btn->setFixedSize(m_size);
|
||||
// btn->setMinimumSize(QSize(200,80));
|
||||
//btn->setMaximumSize(QSize(200,180));
|
||||
//btn->setMaximumSize(QSize(80,20));
|
||||
btn->setMaximumHeight(50);
|
||||
btn->setCheckable(true);
|
||||
gridlay->addWidget( btn);
|
||||
gridlay->setSpacing(10);
|
||||
|
||||
}
|
||||
gridlay->addStretch();
|
||||
//#263749
|
||||
#if 0
|
||||
setObjectName("NavList");
|
||||
|
@ -35,8 +35,8 @@ ParameterSettingsWidget::ParameterSettingsWidget(QWidget *parent )
|
||||
m_PerAmplitude.m_labImage.setFixedSize(QSize(30,30));
|
||||
m_PerAmplitude.m_labTxt.setText("波幅");
|
||||
|
||||
m_PerWavevelocity.setTextList(QStringList()<<"0.05Hz"<<"0.1Hz"<<"1Hz"<<"2Hz"<<"5Hz",
|
||||
QStringList()<<"fill-in-the-Case" << "case-management" << "leading-scheme" << "Parameter setting" << "hospital-information");
|
||||
m_PerWavevelocity.setTextList(QStringList()<<"100"<<"500"<<"1000"<<"2500"<<"5000"<<"10000"<<"15000",
|
||||
QStringList()<<"fill-in-the-Case" << "case-management" << "leading-scheme" << "Parameter setting" << "hospital-information"<<"ss"<<"kk");
|
||||
m_PerWavevelocity.m_labImage.setStyleSheet("border-image:url(:/image/icon_Wavevelocity.png);}");
|
||||
m_PerWavevelocity.m_labImage.setFixedSize(QSize(30,30));
|
||||
m_PerWavevelocity.m_labTxt.setText("波速");
|
||||
@ -138,7 +138,7 @@ void PerWidget::initLay()
|
||||
font-weight: bold;\
|
||||
*/
|
||||
|
||||
m_NavListWidget.setCustomSize(QSize(40,30));
|
||||
m_NavListWidget.setCustomSize(QSize(30,20));
|
||||
|
||||
m_NavListWidget.setStyleSheet("QPushButton{\
|
||||
background: rgba(255, 255, 255);\
|
||||
|
@ -34,28 +34,29 @@ void SystemSettingWidget::init()
|
||||
m_NavListWidget.setList(QStringList()<<"填写病例"<<"病例管理"<<"导联方案"<<"参数设置"<<"医院信息",
|
||||
QStringList()<<"fill-in-the-Case" << "case-management" << "leading-scheme" << "Parameter-setting" << "hospital-information");
|
||||
|
||||
m_NavListWidget.setObjectName("NavList");
|
||||
m_NavListWidget.setStyleSheet("QPushButton{\
|
||||
background: rgba(51, 71, 75);\
|
||||
color: white;\
|
||||
border-radius: 30px;\
|
||||
font-size: 16px;\
|
||||
font-weight: bold;\
|
||||
}\
|
||||
QPushButton:hover{\
|
||||
background: rgb(85, 85, 85);\
|
||||
border-radius: 30px;\
|
||||
}\
|
||||
QPushButton:pressed{\
|
||||
background: rgb(80, 80, 80);\
|
||||
border-radius: 30px;\
|
||||
}\
|
||||
QPushButton:checked{\
|
||||
background: #0d9ddb;\
|
||||
border-radius: 30px;\
|
||||
}"\
|
||||
"QWidget#NavList{background-color:rgb(47, 61, 82);}"\
|
||||
);
|
||||
m_NavListWidget.setStyleSheet("QPushButton{\
|
||||
background: rgba(51, 71, 75);\
|
||||
color: white;\
|
||||
border-radius: 8px;\
|
||||
border:0px ; \
|
||||
}\
|
||||
QPushButton:hover{\
|
||||
color: black;\
|
||||
background: rgb(85, 85, 85);\
|
||||
border-radius: 8px;\
|
||||
}\
|
||||
QPushButton:pressed{\
|
||||
color: black;\
|
||||
background: rgb(80, 80, 80);\
|
||||
border-radius: 8px;\
|
||||
}\
|
||||
QPushButton:checked{\
|
||||
color: white;\
|
||||
background: #0d9ddb;\
|
||||
border-radius: 8px;\
|
||||
}"\
|
||||
"QWidget#NavList1{background-color:rgb(47, 61, 82);}"\
|
||||
);
|
||||
}
|
||||
void SystemSettingWidget::initLay()
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 4.9.1, 2024-11-08T18:00:40. -->
|
||||
<!-- Written by QtCreator 4.9.1, 2024-11-13T10:56:32. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
|
Loading…
x
Reference in New Issue
Block a user