mirror of
https://github.com/LapplandSP/QtAdb.git
synced 2025-05-25 03:46:07 +08:00
准备添加子页面动画,涉及危险操作,做一次备份;此版本为半成品,没有release
This commit is contained in:
parent
7dde84f2c0
commit
8c03903d8c
|
@ -64,8 +64,8 @@ about::about(QWidget *parent) :
|
||||||
ui->btn_money_3->hide();
|
ui->btn_money_3->hide();
|
||||||
ui->btn_money_4->hide();
|
ui->btn_money_4->hide();
|
||||||
|
|
||||||
this->setStyleSheet("QToolTip{border:1px solid #BDBDBD; background-color: #ffffff; color:rgba(117, 117, 117, 0.9);font-family: MiSans Medium; font-size:12px;border-radius:4px;}");
|
//this->setStyleSheet("QToolTip{border:1px solid #BDBDBD; background-color: #ffffff; color:rgba(117, 117, 117, 0.9);font-family: MiSans Medium; font-size:12px;border-radius:4px;}");
|
||||||
|
//this->setStyleSheet("QToolTip{border:1px solid #BDBDBD; background-color: #ffffff; color:rgba(117, 117, 117, 0.9);font-family: MiSans Medium; font-size:12px;border-radius:4px;}");
|
||||||
}
|
}
|
||||||
|
|
||||||
about::~about()
|
about::~about()
|
||||||
|
@ -105,3 +105,9 @@ void about::on_btn_links_clicked()
|
||||||
linksPage->show();
|
linksPage->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void about::on_btn_version_clicked()
|
||||||
|
{
|
||||||
|
QDesktopServices::openUrl(QUrl("https://lapplandsp.github.io/QtAdb-Pages/qa/", QUrl::TolerantMode));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,8 @@ private slots:
|
||||||
|
|
||||||
void on_btn_links_clicked();
|
void on_btn_links_clicked();
|
||||||
|
|
||||||
|
void on_btn_version_clicked();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::about *ui;
|
Ui::about *ui;
|
||||||
};
|
};
|
||||||
|
|
|
@ -14,6 +14,12 @@
|
||||||
<string>Form</string>
|
<string>Form</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QWidget" name="widget" native="true">
|
<widget class="QWidget" name="widget" native="true">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
|
@ -72,13 +78,17 @@ background-color: rgba(255, 255, 255, 0);</string>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font/>
|
<font/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>版本号</string>
|
<string>版本号</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}
|
||||||
|
QToolTip{border:1px solid #BDBDBD; background-color: #ffffff; color:rgba(117, 117, 117, 0.9);font-family: MiSans Medium; font-size:12px;border-radius:4px;}</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
|
@ -135,6 +145,9 @@ QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font/>
|
<font/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>网址</string>
|
<string>网址</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -198,6 +211,9 @@ QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font/>
|
<font/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>酷安</string>
|
<string>酷安</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -261,6 +277,9 @@ QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font/>
|
<font/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Github</string>
|
<string>Github</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -327,6 +346,9 @@ QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||||
<height>50</height>
|
<height>50</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||||
|
@ -412,6 +434,9 @@ QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font/>
|
<font/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>请我吃可乐(3元)</string>
|
<string>请我吃可乐(3元)</string>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -56,7 +56,26 @@ void animationWidget::playLoadAnimation(int h)
|
||||||
|
|
||||||
void animationWidget::playExitAnimation()
|
void animationWidget::playExitAnimation()
|
||||||
{
|
{
|
||||||
|
animation->setDuration(750);
|
||||||
|
//animation->setEndValue(QPoint(301,117));
|
||||||
|
qDebug() << "wgtHeight = " << wgtHeight;
|
||||||
|
if(parent->width() <= 600)
|
||||||
|
{
|
||||||
|
animation->setEndValue(QRect(301 - 30, 117 - 6 - 11 + 50, parent->width(),wgtHeight));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
animation->setEndValue(QRect(301 - 30, 117 - 6 - 11 + 50, parent->width(),wgtHeight));
|
||||||
|
}
|
||||||
|
//animation->setStartValue(QPoint(301 + 50,117));
|
||||||
|
//animation->setStartValue(QRect(301 + 50 - 30, 117 - 6 - 11, parent->width()-50,wgtHeight));
|
||||||
|
animation->setStartValue(QRect(301 - 30, 117 - 6 - 11, parent->width(),wgtHeight));
|
||||||
|
|
||||||
|
animation->setEasingCurve(QEasingCurve::OutQuart);
|
||||||
|
|
||||||
|
this->show();
|
||||||
|
animation->start();
|
||||||
|
emit animationEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
animationWidget::~animationWidget()
|
animationWidget::~animationWidget()
|
||||||
|
|
|
@ -117,23 +117,53 @@ void basePage::setFather(QWidget *parent)
|
||||||
|
|
||||||
void basePage::slot_createSonPage(int key)
|
void basePage::slot_createSonPage(int key)
|
||||||
{
|
{
|
||||||
this->setDisabled(true);
|
|
||||||
|
|
||||||
listTimer = new QTimer(this);
|
|
||||||
connect(listTimer, SIGNAL(timeout()), this, SLOT(unlock()));
|
|
||||||
listTimer->setSingleShot(true);
|
|
||||||
listTimer->start(500);
|
|
||||||
|
|
||||||
emit creatingSonPage();
|
|
||||||
if(isEnable(key) && key >= 0)
|
if(isEnable(key) && key >= 0)
|
||||||
{
|
{
|
||||||
|
this->setDisabled(true);
|
||||||
|
|
||||||
|
listTimer = new QTimer(this);
|
||||||
|
connect(listTimer, SIGNAL(timeout()), this, SLOT(slot_spgAnimationEnd()));
|
||||||
|
listTimer->setSingleShot(true);
|
||||||
|
listTimer->start(500);
|
||||||
|
emit creatingSonPage();
|
||||||
|
|
||||||
ui->listWidget->setCurrentRow(-1);
|
ui->listWidget->setCurrentRow(-1);
|
||||||
//qDebug() << "dev of basePage = " << dev.addr;
|
//qDebug() << "dev of basePage = " << dev.addr;
|
||||||
sonPage = SPManager->selector(this,whoAmI(),key,dev);
|
sonPage = SPManager->selector(this,whoAmI(),key,dev);
|
||||||
if(sonPage != NULL)
|
if(sonPage != NULL)
|
||||||
{
|
{
|
||||||
ui->listWidget->setVisible(false);
|
//ui->listWidget->setVisible(false);
|
||||||
ui->mainLayout->addWidget(sonPage);
|
|
||||||
|
/**/
|
||||||
|
//sonPage->setVisible(false);
|
||||||
|
QPropertyAnimation *animation = new QPropertyAnimation(ui->listWidget,"geometry");
|
||||||
|
|
||||||
|
animation->setDuration(750);
|
||||||
|
animation->setEndValue(QRect(ui->listWidget->geometry().x(),ui->listWidget->geometry().y() + 50, parent->width(),wgtHeight));
|
||||||
|
animation->setStartValue(ui->listWidget->geometry());
|
||||||
|
animation->setEasingCurve(QEasingCurve::OutQuart);
|
||||||
|
animation->start();
|
||||||
|
//animation->deleteLater();
|
||||||
|
|
||||||
|
/*
|
||||||
|
qDebug() << "wgtHeight = " << wgtHeight;
|
||||||
|
if(parent->width() <= 600)
|
||||||
|
{
|
||||||
|
animation->setEndValue(QRect(301 - 30, 117 - 6 - 11, 600,wgtHeight));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
animation->setEndValue(QRect(301 - 30, 117 - 6 - 11, parent->width(),wgtHeight));
|
||||||
|
}
|
||||||
|
//animation->setStartValue(QPoint(301 + 50,117));
|
||||||
|
animation->setStartValue(QRect(301 + 50 - 30, 117 - 6 - 11, parent->width()-50,wgtHeight));
|
||||||
|
|
||||||
|
animation->setEasingCurve(QEasingCurve::OutQuart);
|
||||||
|
|
||||||
|
this->show();
|
||||||
|
animation->start();
|
||||||
|
*/
|
||||||
|
/**/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ui->listWidget->setCurrentRow(-1);
|
ui->listWidget->setCurrentRow(-1);
|
||||||
|
@ -141,13 +171,13 @@ void basePage::slot_createSonPage(int key)
|
||||||
|
|
||||||
void basePage::slot_destroySonPage()
|
void basePage::slot_destroySonPage()
|
||||||
{
|
{
|
||||||
|
|
||||||
if(sonPage == NULL)
|
if(sonPage == NULL)
|
||||||
throw "trying to destroy sonPage, but sonPage == NULL;";
|
throw "trying to destroy sonPage, but sonPage == NULL;";
|
||||||
|
|
||||||
delete sonPage;
|
delete sonPage;
|
||||||
sonPage = NULL;
|
sonPage = NULL;
|
||||||
ui->listWidget->setVisible(true);
|
ui->listWidget->setVisible(true);
|
||||||
|
playLoadAnimation();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString basePage::whoAmI()
|
QString basePage::whoAmI()
|
||||||
|
@ -195,3 +225,11 @@ void basePage::unlock()
|
||||||
{
|
{
|
||||||
this->setDisabled(false);
|
this->setDisabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void basePage::slot_spgAnimationEnd()
|
||||||
|
{
|
||||||
|
ui->listWidget->setVisible(false);
|
||||||
|
unlock();
|
||||||
|
ui->mainLayout->addWidget(sonPage);
|
||||||
|
//sonPage->setVisible(true);
|
||||||
|
}
|
||||||
|
|
|
@ -67,6 +67,7 @@ private slots:
|
||||||
void slot_createSonPage(int key);
|
void slot_createSonPage(int key);
|
||||||
void slot_destroySonPage();
|
void slot_destroySonPage();
|
||||||
void unlock();
|
void unlock();
|
||||||
|
void slot_spgAnimationEnd();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // BASEPAGE_H
|
#endif // BASEPAGE_H
|
||||||
|
|
|
@ -22,6 +22,9 @@
|
||||||
<height>35</height>
|
<height>35</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Form</string>
|
<string>Form</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -50,14 +53,14 @@ border-color: rgb(152, 152, 152);</string>
|
||||||
<widget class="QLabel" name="stick">
|
<widget class="QLabel" name="stick">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>5</width>
|
<width>4</width>
|
||||||
<height>20</height>
|
<height>16</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>5</width>
|
<width>4</width>
|
||||||
<height>25</height>
|
<height>16</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="autoFillBackground">
|
<property name="autoFillBackground">
|
||||||
|
@ -118,13 +121,14 @@ border-radius:4px;*/</string>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>MiSans Normal</family>
|
<family>MiSans Normal</family>
|
||||||
|
<pointsize>10</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
|
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>TextLabel</string>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -26,7 +26,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
|
|
||||||
/*devList 中的当前设备索引*/
|
/*devList 中的当前设备索引*/
|
||||||
current_device = 0;
|
current_device = 0;
|
||||||
ui->comboBox->setPlaceholderText("请先选择设备");
|
ui->comboBox->setPlaceholderText("点击此处选择设备");
|
||||||
|
|
||||||
/*连接信号与槽*/
|
/*连接信号与槽*/
|
||||||
connect(this->ui->comboBox,SIGNAL(currentIndexChanged(int)),this,SLOT(setCurrentDevice(int))); //更改当前设备
|
connect(this->ui->comboBox,SIGNAL(currentIndexChanged(int)),this,SLOT(setCurrentDevice(int))); //更改当前设备
|
||||||
|
@ -352,6 +352,11 @@ void MainWindow::initBasePage(int key) //槽:生成basePages
|
||||||
currentPage = NULL;
|
currentPage = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*动画*/
|
||||||
|
//ui->indexList[key]
|
||||||
|
|
||||||
|
/**/
|
||||||
|
|
||||||
currentPage = new basePage(this);
|
currentPage = new basePage(this);
|
||||||
//qDebug() << "height in initBasePage()" << ui->widget_height->height();
|
//qDebug() << "height in initBasePage()" << ui->widget_height->height();
|
||||||
currentPage->wgtHeight = ui->widget_height->height();
|
currentPage->wgtHeight = ui->widget_height->height();
|
||||||
|
@ -372,6 +377,7 @@ void MainWindow::initBasePage(int key) //槽:生成basePages
|
||||||
ui->verticalLayout_2->addWidget(currentPage);
|
ui->verticalLayout_2->addWidget(currentPage);
|
||||||
|
|
||||||
currentPage->playLoadAnimation(ui->widget_height->height());
|
currentPage->playLoadAnimation(ui->widget_height->height());
|
||||||
|
//currentPage->playExitAnimation();
|
||||||
//currentPage->setVisible(true);
|
//currentPage->setVisible(true);
|
||||||
taiChiTimer = new QTimer(this);
|
taiChiTimer = new QTimer(this);
|
||||||
connect(taiChiTimer, SIGNAL(timeout()), this, SLOT(slot_taiChi()));
|
connect(taiChiTimer, SIGNAL(timeout()), this, SLOT(slot_taiChi()));
|
||||||
|
@ -470,7 +476,7 @@ void MainWindow::setStyles() //方法:设置样式
|
||||||
"QListView::item{height:35px;}"
|
"QListView::item{height:35px;}"
|
||||||
);
|
);
|
||||||
|
|
||||||
ui->comboBox->setStyleSheet("QComboBox{color:black;border-bottom:1px solid #BDBDBD;border-radius:0px;background-color:transparent;}"
|
ui->comboBox->setStyleSheet("QComboBox{color:black; border:0px; border-bottom:1px solid #BDBDBD; border-radius:0px; background-color:transparent;}"
|
||||||
"QComboBox::drop-down{border: 0px solid rgba(255,255,255,0);background-color:rgba(255,255,255,0);border-bottom-right-radius: 0px;}"
|
"QComboBox::drop-down{border: 0px solid rgba(255,255,255,0);background-color:rgba(255,255,255,0);border-bottom-right-radius: 0px;}"
|
||||||
"QComboBox QAbstractItemView{border:1px solid #BDBDBD;border-radius:0px 0px 0px 0px;outline: 0px;}"
|
"QComboBox QAbstractItemView{border:1px solid #BDBDBD;border-radius:0px 0px 0px 0px;outline: 0px;}"
|
||||||
"QComboBox QAbstractItemView::item{height:30px;border:0px solid #BDBDBD;border-radius:0px 0px 0px 0px;}"
|
"QComboBox QAbstractItemView::item{height:30px;border:0px solid #BDBDBD;border-radius:0px 0px 0px 0px;}"
|
||||||
|
@ -478,9 +484,10 @@ void MainWindow::setStyles() //方法:设置样式
|
||||||
"QComboBox QAbstractItemView::item:selected{height:30px;border:1px solid #BDBDBD;border-radius:0px 0px 0px 0px;color:black}"
|
"QComboBox QAbstractItemView::item:selected{height:30px;border:1px solid #BDBDBD;border-radius:0px 0px 0px 0px;color:black}"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
ui->refreshButton->setStyleSheet("QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;}"
|
ui->refreshButton->setStyleSheet("QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;}"
|
||||||
"QPushButton:hover{background-color:rgba(255,255,255,0.7);}"
|
"QPushButton:hover{background-color:rgba(255,255,255,0.7);}"
|
||||||
"QPushButton:pressed{background-color:rgba(255,255,255,0.6);}");
|
"QPushButton:pressed{background-color:rgba(255,255,255,0.6);}");*/
|
||||||
//ui->iconLabel->setStyleSheet("background-color:transparent;");
|
//ui->iconLabel->setStyleSheet("background-color:transparent;");
|
||||||
ui->fakeSpacer->setStyleSheet("background-color:transparent;");
|
ui->fakeSpacer->setStyleSheet("background-color:transparent;");
|
||||||
|
|
||||||
|
@ -509,17 +516,18 @@ void MainWindow::setStyles() //方法:设置样式
|
||||||
shadowEffect_cmdBtn->setColor(Qt::gray);
|
shadowEffect_cmdBtn->setColor(Qt::gray);
|
||||||
shadowEffect_cmdBtn->setBlurRadius(5);
|
shadowEffect_cmdBtn->setBlurRadius(5);
|
||||||
|
|
||||||
|
/*
|
||||||
QGraphicsDropShadowEffect *shadowEffect_monitor = new QGraphicsDropShadowEffect(this);
|
QGraphicsDropShadowEffect *shadowEffect_monitor = new QGraphicsDropShadowEffect(this);
|
||||||
shadowEffect_monitor->setOffset(0,0);
|
shadowEffect_monitor->setOffset(0,0);
|
||||||
shadowEffect_monitor->setColor(Qt::gray);
|
shadowEffect_monitor->setColor(Qt::gray);
|
||||||
shadowEffect_monitor->setBlurRadius(5);
|
shadowEffect_monitor->setBlurRadius(5);*/
|
||||||
|
|
||||||
ui->refreshButton->setGraphicsEffect(shadowEffect_refreshButton);
|
ui->refreshButton->setGraphicsEffect(shadowEffect_refreshButton);
|
||||||
ui->adbKillerBtn->setGraphicsEffect(shadowEffect_killAdbBtn);
|
ui->adbKillerBtn->setGraphicsEffect(shadowEffect_killAdbBtn);
|
||||||
ui->WIFIBtn->setGraphicsEffect(shadowEffect_testBtn);
|
ui->WIFIBtn->setGraphicsEffect(shadowEffect_testBtn);
|
||||||
ui->WSABtn->setGraphicsEffect(shadowEffect_WSABtn);
|
ui->WSABtn->setGraphicsEffect(shadowEffect_WSABtn);
|
||||||
ui->cmdBtn->setGraphicsEffect(shadowEffect_cmdBtn);
|
ui->cmdBtn->setGraphicsEffect(shadowEffect_cmdBtn);
|
||||||
ui->widget_monitor->setGraphicsEffect(shadowEffect_monitor);
|
//ui->widget_monitor->setGraphicsEffect(shadowEffect_monitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::initSonPage(int key) //槽:生成子页面
|
void MainWindow::initSonPage(int key) //槽:生成子页面
|
||||||
|
|
|
@ -51,17 +51,17 @@
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}\nQPushButton:hover{background-color:rgba(255,255,255,0.7);</string>
|
<string notr="true">background-color:rgba(255,255,255,0.9);border-radius:4px;border:1px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||||
<property name="leftMargin">
|
<property name="leftMargin">
|
||||||
<number>5</number>
|
<number>14</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="topMargin">
|
<property name="topMargin">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="rightMargin">
|
<property name="rightMargin">
|
||||||
<number>5</number>
|
<number>14</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="bottomMargin">
|
<property name="bottomMargin">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
|
@ -78,13 +78,13 @@
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>0</width>
|
||||||
<height>30</height>
|
<height>20</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>16777215</width>
|
||||||
<height>30</height>
|
<height>20</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
|
<string notr="true">background-color: rgba(255, 255, 255, 0);border:0px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>CPU</string>
|
<string>CPU</string>
|
||||||
|
@ -102,10 +102,16 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_RAM">
|
<widget class="QLabel" name="label_RAM">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>16777215</width>
|
||||||
<height>30</height>
|
<height>20</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
|
@ -114,7 +120,7 @@
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
|
<string notr="true">background-color: rgba(255, 255, 255, 0);border:0px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>RAM</string>
|
<string>RAM</string>
|
||||||
|
@ -153,15 +159,15 @@
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QProgressBar{
|
<string notr="true">QProgressBar{
|
||||||
font:9pt;
|
font:9pt;
|
||||||
border-radius:10px;
|
border-radius:4px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
/*border:1px solid #E8EDF2;*/
|
/*border:1px solid #E8EDF2;*/
|
||||||
border:0px solid #E8EDF2;
|
border:0px solid #E8EDF2;
|
||||||
background-color: rgba(255,255,255,0);
|
background-color: #E0E0E0;
|
||||||
}
|
}
|
||||||
QProgressBar:chunk{
|
QProgressBar:chunk{
|
||||||
border-radius:10px;
|
border-radius:4px;
|
||||||
background-color:qlineargradient(x1:0,y1:1,x1:1,y1:0,stop:0 #11998e, stop:1 #38ef7d);
|
background-color:qlineargradient(x1:0,y1:1,x1:1,y1:0,stop:0 #38ef7d, stop:1 #11998e);
|
||||||
}
|
}
|
||||||
</string>
|
</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -198,15 +204,15 @@ QProgressBar:chunk{
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QProgressBar{
|
<string notr="true">QProgressBar{
|
||||||
font:9pt;
|
font:9pt;
|
||||||
border-radius:10px;
|
border-radius:4px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
/*border:1px solid #E8EDF2;*/
|
/*border:1px solid #E8EDF2;*/
|
||||||
border:0px solid #E8EDF2;
|
border:0px solid #E8EDF2;
|
||||||
background-color: rgba(255,255,255,0);
|
background-color: #E0E0E0;
|
||||||
}
|
}
|
||||||
QProgressBar:chunk{
|
QProgressBar:chunk{
|
||||||
border-radius:10px;
|
border-radius:4px;
|
||||||
background-color:qlineargradient(x1:0,y1:1,x1:1,y1:0,stop:0 #11998e, stop:1 #38ef7d);
|
background-color:qlineargradient(x1:0,y1:1,x1:1,y1:0,stop:0 #38ef7d, stop:1 #11998e);
|
||||||
}
|
}
|
||||||
</string>
|
</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -228,7 +234,7 @@ QProgressBar:chunk{
|
||||||
<widget class="QComboBox" name="comboBox">
|
<widget class="QComboBox" name="comboBox">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>210</width>
|
<width>0</width>
|
||||||
<height>30</height>
|
<height>30</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
@ -238,6 +244,9 @@ QProgressBar:chunk{
|
||||||
<height>30</height>
|
<height>30</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -254,11 +263,16 @@ QProgressBar:chunk{
|
||||||
<height>30</height>
|
<height>30</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string><html><head/><body><p>刷新设备列表</p></body></html></string>
|
<string><html><head/><body><p>刷新设备列表</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true"/>
|
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||||
|
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||||
|
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
|
@ -353,6 +367,9 @@ QProgressBar:chunk{
|
||||||
<height>64</height>
|
<height>64</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>无线调试</string>
|
<string>无线调试</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -393,6 +410,9 @@ QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font/>
|
<font/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>杀死ADB进程</string>
|
<string>杀死ADB进程</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -437,7 +457,13 @@ QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font/>
|
<font>
|
||||||
|
<family>MiSans Medium</family>
|
||||||
|
<pointsize>10</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||||
|
@ -479,6 +505,9 @@ WSA</string>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font/>
|
<font/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||||
|
|
|
@ -9,7 +9,8 @@ pageListItem::pageListItem(QWidget *parent) :
|
||||||
ui->enableLight->setVisible(false);
|
ui->enableLight->setVisible(false);
|
||||||
|
|
||||||
ui->widget->setStyleSheet("QWidget{background-color:transparent; border-radius:4px; border-color:gray;border:0px;}");
|
ui->widget->setStyleSheet("QWidget{background-color:transparent; border-radius:4px; border-color:gray;border:0px;}");
|
||||||
ui->pic->setStyleSheet("QPushButton{background-color:rgba(255,255,255,0.6);border-radius:4px;border:0px;}");
|
ui->pic->setStyleSheet("QPushButton{background-color:rgba(255,255,255,255);border-radius:4px;border:1px solid #BDBDBD;}");
|
||||||
|
|
||||||
|
|
||||||
setStyles();
|
setStyles();
|
||||||
}
|
}
|
||||||
|
@ -56,9 +57,10 @@ void pageListItem::on_copyButton_clicked()
|
||||||
|
|
||||||
void pageListItem::setSelectable()
|
void pageListItem::setSelectable()
|
||||||
{
|
{
|
||||||
//ui->enableLight->setVisible(true);
|
ui->enableLight->setVisible(true);
|
||||||
|
isSelectable = true;
|
||||||
//shadowEffect_icon->setColor(Qt::green);
|
//shadowEffect_icon->setColor(Qt::green);
|
||||||
ui->pic->setStyleSheet("QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}");
|
//ui->pic->setStyleSheet("QPushButton{background-color:rgba(255,255,255,255);border-radius:4px;border:1px solid #BDBDBD;}");
|
||||||
}
|
}
|
||||||
|
|
||||||
void pageListItem::slot_setText(QString t, QString p)
|
void pageListItem::slot_setText(QString t, QString p)
|
||||||
|
@ -84,7 +86,7 @@ void pageListItem::setStyles()
|
||||||
shadowEffect->setColor(Qt::gray);
|
shadowEffect->setColor(Qt::gray);
|
||||||
shadowEffect->setBlurRadius(5);
|
shadowEffect->setBlurRadius(5);
|
||||||
ui->enableLight->setGraphicsEffect(shadowEffect);
|
ui->enableLight->setGraphicsEffect(shadowEffect);
|
||||||
|
/*
|
||||||
QGraphicsOpacityEffect *graphicsOpacityEffect = new QGraphicsOpacityEffect(this);
|
QGraphicsOpacityEffect *graphicsOpacityEffect = new QGraphicsOpacityEffect(this);
|
||||||
graphicsOpacityEffect->setOpacity(1.0);
|
graphicsOpacityEffect->setOpacity(1.0);
|
||||||
ui->pic->setGraphicsEffect(graphicsOpacityEffect);
|
ui->pic->setGraphicsEffect(graphicsOpacityEffect);
|
||||||
|
@ -93,7 +95,7 @@ void pageListItem::setStyles()
|
||||||
shadowEffect_icon->setOffset(0,0);
|
shadowEffect_icon->setOffset(0,0);
|
||||||
shadowEffect_icon->setColor(Qt::gray);
|
shadowEffect_icon->setColor(Qt::gray);
|
||||||
shadowEffect_icon->setBlurRadius(5);
|
shadowEffect_icon->setBlurRadius(5);
|
||||||
ui->pic->setGraphicsEffect(shadowEffect_icon);
|
ui->pic->setGraphicsEffect(shadowEffect_icon);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void pageListItem::slot_setStyles()
|
void pageListItem::slot_setStyles()
|
||||||
|
|
|
@ -30,6 +30,7 @@ public:
|
||||||
void setSelectable();
|
void setSelectable();
|
||||||
|
|
||||||
void setStyles();
|
void setStyles();
|
||||||
|
bool isSelectable = false;
|
||||||
|
|
||||||
//void emitSignal();
|
//void emitSignal();
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="rightMargin">
|
<property name="rightMargin">
|
||||||
<number>0</number>
|
<number>11</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="bottomMargin">
|
<property name="bottomMargin">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
|
@ -43,6 +43,9 @@
|
||||||
<height>70</height>
|
<height>70</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>ArrowCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">border-color: rgb(0, 255, 0);
|
<string notr="true">border-color: rgb(0, 255, 0);
|
||||||
border-width:1px;</string>
|
border-width:1px;</string>
|
||||||
|
@ -66,7 +69,7 @@ border-width:1px;</string>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pic">
|
<widget class="QPushButton" name="pic">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
<bool>false</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
|
@ -81,10 +84,12 @@ border-width:1px;</string>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="cursor">
|
<property name="cursor">
|
||||||
<cursorShape>OpenHandCursor</cursorShape>
|
<cursorShape>ForbiddenCursor</cursorShape>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}/*
|
<string notr="true">QPushButton{background-color:rgba(255,255,255,1);border-radius:4px;border:1px solid #BDBDBD;}
|
||||||
|
/*QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}*/
|
||||||
|
/*
|
||||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}*/</string>
|
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}*/</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -119,13 +124,16 @@ QPushButton:pressed{background-color:rgba(255,255,255,0.6);}*/</string>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font/>
|
<font>
|
||||||
|
<family>MiSans Normal</family>
|
||||||
|
<pointsize>11</pointsize>
|
||||||
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
|
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>TextLabel</string>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||||
|
@ -145,6 +153,9 @@ QPushButton:pressed{background-color:rgba(255,255,255,0.6);}*/</string>
|
||||||
<height>20</height>
|
<height>20</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="cursor">
|
||||||
|
<cursorShape>PointingHandCursor</cursorShape>
|
||||||
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string><html><head/><body><p>复制到剪贴板</p></body></html></string>
|
<string><html><head/><body><p>复制到剪贴板</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -35,6 +35,13 @@ sp_captive_portal::sp_captive_portal(QWidget *parent) :
|
||||||
serverLists.append("dl.google.com/generate_204");
|
serverLists.append("dl.google.com/generate_204");
|
||||||
serverLists.append("google.com");
|
serverLists.append("google.com");
|
||||||
ui->comboBox->addItems(serverLists);
|
ui->comboBox->addItems(serverLists);
|
||||||
|
ui->comboBox->setStyleSheet("QComboBox{color:black; border:0px; border-bottom:1px solid #BDBDBD; border-radius:0px; background-color:rgba(255,255,255,255);}"
|
||||||
|
"QComboBox::drop-down{border: 0px solid rgba(255,255,255,0);background-color:rgba(255,255,255,0);border-bottom-right-radius: 0px;}"
|
||||||
|
"QComboBox QAbstractItemView{border:1px solid #BDBDBD;border-radius:0px 0px 0px 0px;outline: 0px;}"
|
||||||
|
"QComboBox QAbstractItemView::item{height:30px;border:0px solid #BDBDBD;border-radius:0px 0px 0px 0px;}"
|
||||||
|
"QComboBox QAbstractItemView::item:hover{height:30px;border:0px solid #BDBDBD;border-radius:0px 0px 0px 0px;color:black}"
|
||||||
|
"QComboBox QAbstractItemView::item:selected{height:30px;border:1px solid #BDBDBD;border-radius:0px 0px 0px 0px;color:black}"
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -58,9 +58,36 @@ void sp_scales::setShadow(QWidget* wgt)
|
||||||
|
|
||||||
void sp_scales::refresh()
|
void sp_scales::refresh()
|
||||||
{
|
{
|
||||||
ui->current_animator->setText("当前:" + process->run("adb shell settings get global animator_duration_scale",dev).simplified());
|
/*
|
||||||
ui->current_transition->setText("当前:" + process->run("adb shell settings get global transition_animation_scale",dev).simplified());
|
pageListItemStruct *screen_resolution = initStruct(devInfo);
|
||||||
ui->current_window->setText("当前:" + process->run("adb shell settings get global window_animation_scale",dev).simplified());
|
screen_resolution->item->setText_title("屏幕分辨率");
|
||||||
|
screen_resolution->item->setPic(":/ico/image/ico/fullscreen-line.svg");
|
||||||
|
screen_resolution->thread->initThread("adb shell wm size", dev, ": ");
|
||||||
|
QEventLoop::connect(screen_resolution->thread,SIGNAL(signal_output(QString)),screen_resolution->item,SLOT(slot_setText_profile(QString)));
|
||||||
|
screen_resolution->thread->start();
|
||||||
|
screen_resolution->item->setSelectable();
|
||||||
|
devInfo->addItemsToList(screen_resolution->item);
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
adbThread *thread_animator = new adbThread(this);
|
||||||
|
thread_animator->initThread("adb shell settings get global animator_duration_scale", dev);
|
||||||
|
QEventLoop::connect(thread_animator,SIGNAL(signal_output(QString)),this,SLOT(setText_animator(QString)));
|
||||||
|
thread_animator->start();
|
||||||
|
|
||||||
|
adbThread *thread_transition = new adbThread(this);
|
||||||
|
thread_transition->initThread("adb shell settings get global transition_animation_scale", dev);
|
||||||
|
QEventLoop::connect(thread_transition,SIGNAL(signal_output(QString)),this,SLOT(setText_transition(QString)));
|
||||||
|
thread_transition->start();
|
||||||
|
|
||||||
|
adbThread *thread_window = new adbThread(this);
|
||||||
|
thread_window->initThread("adb shell settings get global window_animation_scale", dev);
|
||||||
|
QEventLoop::connect(thread_window,SIGNAL(signal_output(QString)),this,SLOT(setText_window(QString)));
|
||||||
|
thread_window->start();
|
||||||
|
|
||||||
|
//ui->current_animator->setText("当前:" + process->run("adb shell settings get global animator_duration_scale",dev).simplified());
|
||||||
|
//ui->current_transition->setText("当前:" + process->run("adb shell settings get global transition_animation_scale",dev).simplified());
|
||||||
|
//ui->current_window->setText("当前:" + process->run("adb shell settings get global window_animation_scale",dev).simplified());
|
||||||
ui->lineEdit_transition->clear();
|
ui->lineEdit_transition->clear();
|
||||||
ui->lineEdit_window->clear();
|
ui->lineEdit_window->clear();
|
||||||
ui->lineEdit_animator->clear();
|
ui->lineEdit_animator->clear();
|
||||||
|
@ -84,3 +111,18 @@ void sp_scales::on_pushButton_window_clicked()
|
||||||
process->run("adb shell settings put global window_animation_scale " + ui->lineEdit_window->text().simplified(), dev);
|
process->run("adb shell settings put global window_animation_scale " + ui->lineEdit_window->text().simplified(), dev);
|
||||||
refresh();
|
refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void sp_scales::setText_animator(QString s)
|
||||||
|
{
|
||||||
|
ui->current_animator->setText("当前:" + s.simplified());
|
||||||
|
}
|
||||||
|
|
||||||
|
void sp_scales::setText_transition(QString s)
|
||||||
|
{
|
||||||
|
ui->current_transition->setText("当前:" + s.simplified());
|
||||||
|
}
|
||||||
|
|
||||||
|
void sp_scales::setText_window(QString s)
|
||||||
|
{
|
||||||
|
ui->current_window->setText("当前:" + s.simplified());
|
||||||
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include <QRegularExpressionValidator>
|
#include <QRegularExpressionValidator>
|
||||||
//#include <QRegularExpressionValidator>
|
//#include <QRegularExpressionValidator>
|
||||||
#include "../../adbprocess.h"
|
#include "../../adbprocess.h"
|
||||||
|
#include "../../threads/adbthread.h"
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class sp_scales;
|
class sp_scales;
|
||||||
|
@ -37,6 +38,12 @@ private:
|
||||||
|
|
||||||
void setShadow(QWidget* wgt);
|
void setShadow(QWidget* wgt);
|
||||||
void refresh();
|
void refresh();
|
||||||
|
|
||||||
|
private slots:
|
||||||
|
void setText_animator(QString);
|
||||||
|
void setText_transition(QString);
|
||||||
|
void setText_window(QString);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SP_SCALES_H
|
#endif // SP_SCALES_H
|
||||||
|
|
|
@ -125,7 +125,7 @@ border:0px solid #BDBDBD;</string>
|
||||||
<widget class="QLabel" name="label_animator">
|
<widget class="QLabel" name="label_animator">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>100</width>
|
||||||
<height>40</height>
|
<height>40</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
@ -156,7 +156,7 @@ border:0px solid #BDBDBD;</string>
|
||||||
<widget class="QLabel" name="label_transition">
|
<widget class="QLabel" name="label_transition">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>100</width>
|
||||||
<height>40</height>
|
<height>40</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
@ -187,7 +187,7 @@ border:0px solid #BDBDBD;</string>
|
||||||
<widget class="QLabel" name="label_window">
|
<widget class="QLabel" name="label_window">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>100</width>
|
||||||
<height>40</height>
|
<height>40</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
@ -222,7 +222,7 @@ border:0px solid #BDBDBD;</string>
|
||||||
<widget class="QLabel" name="current_animator">
|
<widget class="QLabel" name="current_animator">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>100</width>
|
||||||
<height>40</height>
|
<height>40</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
@ -242,7 +242,7 @@ border:0px solid #BDBDBD;</string>
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.6);border-radius:4px;border:0px;</string>
|
<string notr="true">background-color:rgba(255,255,255,0.6);border-radius:4px;border:0px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>NULL</string>
|
<string>未知</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
@ -253,7 +253,7 @@ border:0px solid #BDBDBD;</string>
|
||||||
<widget class="QLabel" name="current_transition">
|
<widget class="QLabel" name="current_transition">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>100</width>
|
||||||
<height>40</height>
|
<height>40</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
@ -273,7 +273,7 @@ border:0px solid #BDBDBD;</string>
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.6);border-radius:4px;border:0px;</string>
|
<string notr="true">background-color:rgba(255,255,255,0.6);border-radius:4px;border:0px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>NULL</string>
|
<string>未知</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
@ -284,7 +284,7 @@ border:0px solid #BDBDBD;</string>
|
||||||
<widget class="QLabel" name="current_window">
|
<widget class="QLabel" name="current_window">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>100</width>
|
||||||
<height>40</height>
|
<height>40</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
@ -304,7 +304,7 @@ border:0px solid #BDBDBD;</string>
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.6);border-radius:4px;border:0px;</string>
|
<string notr="true">background-color:rgba(255,255,255,0.6);border-radius:4px;border:0px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>NULL</string>
|
<string>未知</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
@ -576,7 +576,7 @@ QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.6);border-radius:4px;border:0px;}
|
||||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -44,6 +44,11 @@ sp_permissions::sp_permissions(QWidget *parent) :
|
||||||
ui->back_to_basePage_2->setGraphicsEffect(shadowEffect_settingsBtn);
|
ui->back_to_basePage_2->setGraphicsEffect(shadowEffect_settingsBtn);
|
||||||
ui->open_another_window->setGraphicsEffect(shadowEffect_openBtn);
|
ui->open_another_window->setGraphicsEffect(shadowEffect_openBtn);
|
||||||
|
|
||||||
|
QFile file("://qss/scrollbar.qss");
|
||||||
|
file.open(QFile::ReadOnly);
|
||||||
|
ui->tableView->verticalScrollBar()->setStyleSheet(file.readAll());
|
||||||
|
ui->tableView->horizontalScrollBar()->setStyleSheet(file.readAll());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sp_permissions::~sp_permissions()
|
sp_permissions::~sp_permissions()
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "links.h"
|
#include "links.h"
|
||||||
|
#include "qgraphicseffect.h"
|
||||||
#include "qicon.h"
|
#include "qicon.h"
|
||||||
#include "qscrollbar.h"
|
#include "qscrollbar.h"
|
||||||
#include "ui_links.h"
|
#include "ui_links.h"
|
||||||
|
@ -17,9 +18,23 @@ links::links(QWidget *parent) :
|
||||||
file.open(QFile::ReadOnly);
|
file.open(QFile::ReadOnly);
|
||||||
ui->scrollArea->verticalScrollBar()->setStyleSheet(file.readAll());
|
ui->scrollArea->verticalScrollBar()->setStyleSheet(file.readAll());
|
||||||
ui->scrollArea->horizontalScrollBar()->setStyleSheet(file.readAll());
|
ui->scrollArea->horizontalScrollBar()->setStyleSheet(file.readAll());
|
||||||
|
|
||||||
|
setShadow(ui->widget_11);
|
||||||
|
setShadow(ui->widget_12);
|
||||||
|
setShadow(ui->widget_14);
|
||||||
|
setShadow(ui->widget_15);
|
||||||
}
|
}
|
||||||
|
|
||||||
links::~links()
|
links::~links()
|
||||||
{
|
{
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void links::setShadow(QWidget* wgt)
|
||||||
|
{
|
||||||
|
QGraphicsDropShadowEffect *shadowEffect_widget = new QGraphicsDropShadowEffect(this);
|
||||||
|
shadowEffect_widget->setOffset(0,0);
|
||||||
|
shadowEffect_widget->setColor(Qt::gray);
|
||||||
|
shadowEffect_widget->setBlurRadius(5);
|
||||||
|
wgt->setGraphicsEffect(shadowEffect_widget);
|
||||||
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
#include <QGraphicsDropShadowEffect>
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class links;
|
class links;
|
||||||
|
@ -18,6 +19,8 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::links *ui;
|
Ui::links *ui;
|
||||||
|
|
||||||
|
void setShadow(QWidget* wgt);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LINKS_H
|
#endif // LINKS_H
|
||||||
|
|
|
@ -18,6 +18,18 @@
|
||||||
/*background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(238, 154, 229, 255), stop:1 rgba(89, 97, 249, 255));*/</string>
|
/*background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(238, 154, 229, 255), stop:1 rgba(89, 97, 249, 255));*/</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>30</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>30</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QScrollArea" name="scrollArea">
|
<widget class="QScrollArea" name="scrollArea">
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
|
@ -30,12 +42,18 @@
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>-1495</y>
|
<y>0</y>
|
||||||
<width>797</width>
|
<width>759</width>
|
||||||
<height>1981</height>
|
<height>1969</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>5</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>5</number>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QWidget" name="widget_11" native="true">
|
<widget class="QWidget" name="widget_11" native="true">
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
|
@ -51,7 +69,7 @@
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:0px;border:0px;border-bottom:1px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:0px;border:0px;border-bottom:1px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>ADB</string>
|
<string>ADB</string>
|
||||||
|
@ -67,7 +85,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_15">
|
<layout class="QHBoxLayout" name="horizontalLayout_15">
|
||||||
<item>
|
<item>
|
||||||
|
@ -85,7 +103,8 @@
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">border:0px;image:url(:/linkIcons/image/webicons/android.png);</string>
|
<string notr="true">border:0px;image:url(:/linkIcons/image/webicons/android.png);border-radius:4px;
|
||||||
|
background-color: rgba(255, 255, 255, 0);</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
|
@ -138,7 +157,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
<item>
|
<item>
|
||||||
|
@ -209,7 +228,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||||
<item>
|
<item>
|
||||||
|
@ -283,7 +302,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||||||
<item>
|
<item>
|
||||||
|
@ -301,7 +320,8 @@
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">border:0px;image:url(:/linkIcons/image/webicons/jamcz.png);</string>
|
<string notr="true">border:0px;image:url(:/linkIcons/image/webicons/jamcz.png);border-radius:4px;
|
||||||
|
background-color: rgba(255, 255, 255, 0);</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
|
@ -366,7 +386,7 @@
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:0px;border:0px;border-bottom:1px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:0px;border:0px;border-bottom:1px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Recovery</string>
|
<string>Recovery</string>
|
||||||
|
@ -382,7 +402,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
||||||
<item>
|
<item>
|
||||||
|
@ -453,7 +473,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
||||||
<item>
|
<item>
|
||||||
|
@ -533,7 +553,7 @@
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:0px;border:0px;border-bottom:1px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:0px;border:0px;border-bottom:1px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>模块</string>
|
<string>模块</string>
|
||||||
|
@ -549,7 +569,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<item>
|
<item>
|
||||||
|
@ -620,7 +640,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||||
<item>
|
<item>
|
||||||
|
@ -701,7 +721,7 @@ border-radius:4px;</string>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:0px;border:0px;border-bottom:1px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:0px;border:0px;border-bottom:1px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>ROMs</string>
|
<string>ROMs</string>
|
||||||
|
@ -717,7 +737,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_16">
|
<layout class="QHBoxLayout" name="horizontalLayout_16">
|
||||||
<item>
|
<item>
|
||||||
|
@ -788,7 +808,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_23">
|
<layout class="QHBoxLayout" name="horizontalLayout_23">
|
||||||
<item>
|
<item>
|
||||||
|
@ -859,7 +879,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_19">
|
<layout class="QHBoxLayout" name="horizontalLayout_19">
|
||||||
<item>
|
<item>
|
||||||
|
@ -930,7 +950,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||||||
<item>
|
<item>
|
||||||
|
@ -1001,7 +1021,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||||||
<item>
|
<item>
|
||||||
|
@ -1072,7 +1092,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_20">
|
<layout class="QHBoxLayout" name="horizontalLayout_20">
|
||||||
<item>
|
<item>
|
||||||
|
@ -1143,7 +1163,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_21">
|
<layout class="QHBoxLayout" name="horizontalLayout_21">
|
||||||
<item>
|
<item>
|
||||||
|
@ -1214,7 +1234,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
||||||
<item>
|
<item>
|
||||||
|
@ -1285,7 +1305,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_12">
|
<layout class="QHBoxLayout" name="horizontalLayout_12">
|
||||||
<item>
|
<item>
|
||||||
|
@ -1356,7 +1376,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_13">
|
<layout class="QHBoxLayout" name="horizontalLayout_13">
|
||||||
<item>
|
<item>
|
||||||
|
@ -1427,7 +1447,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
||||||
<item>
|
<item>
|
||||||
|
@ -1498,7 +1518,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_22">
|
<layout class="QHBoxLayout" name="horizontalLayout_22">
|
||||||
<item>
|
<item>
|
||||||
|
@ -1569,7 +1589,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_18">
|
<layout class="QHBoxLayout" name="horizontalLayout_18">
|
||||||
<item>
|
<item>
|
||||||
|
@ -1640,7 +1660,7 @@ border-radius:4px;</string>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color:rgba(255,255,255,0.8);border-radius:4px;border:0px solid #BDBDBD;</string>
|
<string notr="true">background-color:rgba(255,255,255,0);border-radius:4px;border:0px solid #BDBDBD;</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -26,200 +26,8 @@
|
||||||
<property name="bottomMargin">
|
<property name="bottomMargin">
|
||||||
<number>30</number>
|
<number>30</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
|
||||||
<widget class="QWidget" name="widget" native="true">
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">border-radius: 4px;
|
|
||||||
border:1px solid #BDBDBD;</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
|
||||||
<property name="leftMargin">
|
|
||||||
<number>11</number>
|
|
||||||
</property>
|
|
||||||
<property name="topMargin">
|
|
||||||
<number>11</number>
|
|
||||||
</property>
|
|
||||||
<property name="rightMargin">
|
|
||||||
<number>11</number>
|
|
||||||
</property>
|
|
||||||
<property name="bottomMargin">
|
|
||||||
<number>11</number>
|
|
||||||
</property>
|
|
||||||
<item row="2" column="0">
|
|
||||||
<layout class="QVBoxLayout" name="mainLayout">
|
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="back_to_basePage">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>30</width>
|
|
||||||
<height>30</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>30</width>
|
|
||||||
<height>30</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
|
||||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
|
||||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
<property name="icon">
|
|
||||||
<iconset resource="../ico.qrc">
|
|
||||||
<normaloff>:/ico/image/ico/arrow-left-line.svg</normaloff>:/ico/image/ico/arrow-left-line.svg</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="iconSize">
|
|
||||||
<size>
|
|
||||||
<width>18</width>
|
|
||||||
<height>18</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<spacer name="horizontalSpacer">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>40</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="refreshBtn">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>30</width>
|
|
||||||
<height>30</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>30</width>
|
|
||||||
<height>30</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
|
||||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
|
||||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
<property name="icon">
|
|
||||||
<iconset resource="../ico.qrc">
|
|
||||||
<normaloff>:/ico/image/ico/refresh-line.svg</normaloff>:/ico/image/ico/refresh-line.svg</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="iconSize">
|
|
||||||
<size>
|
|
||||||
<width>18</width>
|
|
||||||
<height>18</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="showOutputBtn">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>30</width>
|
|
||||||
<height>30</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>30</width>
|
|
||||||
<height>30</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}QPushButton:hover{background-color:rgba(255,255,255,0.7);}QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
<property name="icon">
|
|
||||||
<iconset resource="../ico.qrc">
|
|
||||||
<normaloff>:/ico/image/ico/terminal-box-line.svg</normaloff>:/ico/image/ico/terminal-box-line.svg</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="iconSize">
|
|
||||||
<size>
|
|
||||||
<width>18</width>
|
|
||||||
<height>18</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="runBtn">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>50</width>
|
|
||||||
<height>50</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>50</width>
|
|
||||||
<height>50</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
|
||||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
|
||||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
<property name="icon">
|
|
||||||
<iconset resource="../ico.qrc">
|
|
||||||
<normaloff>:/ico/image/ico/play-line.svg</normaloff>:/ico/image/ico/play-line.svg</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="iconSize">
|
|
||||||
<size>
|
|
||||||
<width>30</width>
|
|
||||||
<height>30</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<spacer name="verticalSpacer">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>40</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources/>
|
||||||
<include location="../ico.qrc"/>
|
|
||||||
</resources>
|
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user