解决移动热点英文模式无提示图标问题
This commit is contained in:
parent
3f7228e879
commit
f0c8f93d85
|
@ -602,7 +602,7 @@ void MobileHotspotWidget::setInterFaceFrame()
|
|||
m_warnWidget->setFixedHeight(20);
|
||||
m_warnWidget->setContentsMargins(8,0,0,0);
|
||||
|
||||
QFormLayout *warnTextHLayout = new QFormLayout(m_warnWidget);
|
||||
QHBoxLayout *warnTextHLayout = new QHBoxLayout(m_warnWidget);
|
||||
QLabel* warnIcon = new QLabel(this);
|
||||
warnIcon->setContentsMargins(0,0,0,0);
|
||||
warnIcon->setPixmap(QIcon::fromTheme("dialog-warning").pixmap(16,16));
|
||||
|
@ -616,16 +616,11 @@ void MobileHotspotWidget::setInterFaceFrame()
|
|||
|
||||
warnTextHLayout->setSpacing(8);
|
||||
warnTextHLayout->setContentsMargins(0,0,0,0);
|
||||
warnTextHLayout->addRow(warnIcon, m_interfaceWarnLabel);
|
||||
warnTextHLayout->addWidget(warnIcon);
|
||||
warnTextHLayout->addWidget(m_interfaceWarnLabel);
|
||||
warnIcon->setFixedWidth(16);
|
||||
m_warnWidget->setLayout(warnTextHLayout);
|
||||
|
||||
QWidget *pwdInputWidget = new QWidget(m_interfaceFrame);
|
||||
QVBoxLayout *pwdInputVLayout = new QVBoxLayout(pwdInputWidget);
|
||||
pwdInputVLayout->setContentsMargins(CONTENTS_MARGINS);
|
||||
pwdInputVLayout->setSpacing(0);
|
||||
pwdInputVLayout->addWidget(m_interfaceComboBox);
|
||||
pwdInputVLayout->addWidget(m_warnWidget);
|
||||
|
||||
QGridLayout *interfaceFLayout = new QGridLayout(m_interfaceFrame);
|
||||
interfaceFLayout->setContentsMargins(PASSWORD_ITEM_MARGINS);
|
||||
interfaceFLayout->setSpacing(0);
|
||||
|
|
Loading…
Reference in New Issue