update icon
This commit is contained in:
parent
26bf3bf216
commit
7aa0c68525
|
@ -32,7 +32,7 @@ LanListItem::LanListItem(KyConnectItem *data, QString deviceName, QWidget *paren
|
|||
LanListItem::LanListItem(QWidget *parent) : ListItem(parent)
|
||||
{
|
||||
m_isActive = false;
|
||||
m_netButton->setButtonIcon(QIcon::fromTheme("network-wireless-signal-none-symbolic"));
|
||||
m_netButton->setButtonIcon(QIcon::fromTheme("network-offline-symbolic"));
|
||||
const QString str=tr("Not connected");
|
||||
m_nameLabel->setText(str);
|
||||
this->m_infoButton->hide();
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#include "detailitem.h"
|
||||
|
||||
DetailItem::DetailItem(QWidget *parent) : QWidget(parent)
|
||||
{
|
||||
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef DETAILITEM_H
|
||||
#define DETAILITEM_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class DetailItem : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DetailItem(QWidget *parent = nullptr);
|
||||
|
||||
signals:
|
||||
|
||||
};
|
||||
|
||||
#endif // DETAILITEM_H
|
|
@ -22,6 +22,7 @@ LanPage::LanPage(QWidget *parent) : TabPage(parent)
|
|||
m_activeResourse = new KyActiveConnectResourse(this);
|
||||
m_connectResourse = new KyConnectResourse(this);
|
||||
m_deviceResource = new KyNetworkDeviceResourse(this);
|
||||
m_wiredConnectOperation = new KyWiredConnectOperation(this);
|
||||
|
||||
initUI();
|
||||
initNetSwitch();
|
||||
|
@ -679,7 +680,6 @@ void LanPage::initUI()
|
|||
|
||||
inactiveLanListLayout->addWidget(m_inactivatedLanListWidget);
|
||||
m_settingsLabel->installEventFilter(this);
|
||||
// emit this->lanConnectChanged();
|
||||
}
|
||||
|
||||
QListWidgetItem *LanPage::addNewItem(KyConnectItem *itemData, QListWidget *listWidget)
|
||||
|
|
Loading…
Reference in New Issue