Show wifi property button
This commit is contained in:
parent
c1a13d269a
commit
1a2921fbd2
|
@ -131,7 +131,7 @@ OneConnForm::OneConnForm(QWidget *parent, MainWindow *mainWindow, ConfForm *conf
|
|||
btnProperty->setText(tr("Property"));//"属性"
|
||||
btnProperty->setStyleSheet(funcBtnQss);
|
||||
btnProperty->setFocusPolicy(Qt::NoFocus);
|
||||
btnProperty->hide();
|
||||
btnProperty->show();
|
||||
connect(btnProperty,SIGNAL(clicked()),this,SLOT(onBtnPropertyClicked()));
|
||||
|
||||
this->mw = mainWindow;
|
||||
|
@ -205,6 +205,7 @@ void OneConnForm::mousePressEvent(QMouseEvent *)
|
|||
|
||||
void OneConnForm::onBtnPropertyClicked()
|
||||
{
|
||||
qDebug() << "点击了弹出控制面板窗口按钮";
|
||||
QProcess::startDetached(QString("ukui-control-center --netconnect"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue