修改按钮大小以及其他问题
This commit is contained in:
parent
27e9c16b03
commit
70a3285908
@ -67,10 +67,10 @@ void ButtonForm::addToolButtons(QVector<QString> &buttonVec)
|
||||
//QSize size(45,45);
|
||||
QSize size(10,30);
|
||||
toolBtn->setIconSize(size);
|
||||
toolBtn->setMaximumHeight(30);
|
||||
toolBtn->setMinimumHeight(30);
|
||||
toolBtn->setMaximumWidth(100);
|
||||
toolBtn->setMinimumWidth(40);
|
||||
toolBtn->setMaximumHeight(40);
|
||||
toolBtn->setMinimumHeight(40);
|
||||
//toolBtn->setMaximumWidth(100);
|
||||
toolBtn->setMinimumWidth(80);
|
||||
//toolBtn->setIcon(icon);
|
||||
toolBtn->setText(m_bIsZh?buttonInfo.m_zh:buttonInfo.m_en);
|
||||
#ifdef Q_PROCESSOR_ARM_64
|
||||
|
||||
@ -91,7 +91,6 @@ MainWindow::MainWindow(bool isZh, QWidget *parent) :
|
||||
|
||||
// 加载qss样式
|
||||
initSheet();
|
||||
|
||||
//校验ip
|
||||
verifyIp();
|
||||
|
||||
|
||||
@ -30,6 +30,7 @@ QToolButton::hover
|
||||
QTabBar::tab
|
||||
{
|
||||
height:40px;
|
||||
width:110px;
|
||||
}
|
||||
QTabBar::tab:selected, QTabBar::tab:hover {
|
||||
color:#0394d5;
|
||||
|
||||
@ -30,6 +30,7 @@ QToolButton::hover
|
||||
QTabBar::tab
|
||||
{
|
||||
height:40px;
|
||||
width:110px;
|
||||
}
|
||||
QTabBar::tab:selected, QTabBar::tab:hover {
|
||||
color:#0394d5;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user