Fix:bug https://172.17.50.104/biz/bug-view-92675.html https://172.17.50.104/biz/bug-view-92309.html https://172.17.50.104/biz/bug-view-92235.html
This commit is contained in:
parent
86ef3190fd
commit
ad8131164f
|
@ -217,7 +217,7 @@ void WlanListItem::initWlanUI()
|
||||||
|
|
||||||
#define PWD_AREA_HEIGHT 36
|
#define PWD_AREA_HEIGHT 36
|
||||||
#define CONNECT_BUTTON_WIDTH 96
|
#define CONNECT_BUTTON_WIDTH 96
|
||||||
#define FRAME_CONTENT_MARGINS 56,4,16,4
|
#define FRAME_CONTENT_MARGINS 56,0,16,4
|
||||||
#define FRAME_SPACING 8
|
#define FRAME_SPACING 8
|
||||||
#define PWD_CONTENT_MARGINS 8,0,34,0
|
#define PWD_CONTENT_MARGINS 8,0,34,0
|
||||||
#define SHOW_PWD_BUTTON_SIZE 24,24
|
#define SHOW_PWD_BUTTON_SIZE 24,24
|
||||||
|
|
|
@ -34,6 +34,9 @@ LanPage::LanPage(QWidget *parent) : TabPage(parent)
|
||||||
initLanArea();
|
initLanArea();
|
||||||
|
|
||||||
connect(m_activeResourse, &KyActiveConnectResourse::stateChangeReason, this, &LanPage::onConnectionStateChange);
|
connect(m_activeResourse, &KyActiveConnectResourse::stateChangeReason, this, &LanPage::onConnectionStateChange);
|
||||||
|
connect(m_activeResourse, &KyActiveConnectResourse::activeConnectRemove, this, [=] (QString activeConnectUuid) {
|
||||||
|
sendLanStateChangeSignal(activeConnectUuid,Deactivated);
|
||||||
|
} );
|
||||||
|
|
||||||
connect(m_connectResourse, &KyConnectResourse::connectionAdd, this, &LanPage::onAddConnection);
|
connect(m_connectResourse, &KyConnectResourse::connectionAdd, this, &LanPage::onAddConnection);
|
||||||
connect(m_connectResourse, &KyConnectResourse::connectionRemove, this, &LanPage::onRemoveConnection);
|
connect(m_connectResourse, &KyConnectResourse::connectionRemove, this, &LanPage::onRemoveConnection);
|
||||||
|
|
|
@ -11,8 +11,10 @@ Divider::Divider(QWidget * parent) : QFrame(parent)
|
||||||
void Divider::paintEvent(QPaintEvent * e)
|
void Divider::paintEvent(QPaintEvent * e)
|
||||||
{
|
{
|
||||||
QPainter p(this);
|
QPainter p(this);
|
||||||
|
QColor color;
|
||||||
|
color.setRgb(77,77,77);
|
||||||
p.save();
|
p.save();
|
||||||
p.setBrush(this->palette().color(QPalette::Text));
|
p.setBrush(color);
|
||||||
p.setPen(Qt::transparent);
|
p.setPen(Qt::transparent);
|
||||||
p.setOpacity(0.3);
|
p.setOpacity(0.3);
|
||||||
p.drawRoundedRect(this->rect(), 6, 6);
|
p.drawRoundedRect(this->rect(), 6, 6);
|
||||||
|
|
Loading…
Reference in New Issue