xiaokunyu_branch
pvqf6mep3 2 years ago
commit 470e05f375

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 KiB

After

Width:  |  Height:  |  Size: 266 KiB

@ -3,6 +3,7 @@
#include <QMovie> #include <QMovie>
#include <QWidget> #include <QWidget>
#include <QMouseEvent> #include <QMouseEvent>
#include <QApplication>
LoginUi::LoginUi(QWidget *parent) : LoginUi::LoginUi(QWidget *parent) :
QMainWindow(parent), QMainWindow(parent),
@ -82,8 +83,11 @@ bool LoginUi::verifyAccount(string usr, string pwd){
void LoginUi::changetoMainwindow(){ void LoginUi::changetoMainwindow(){
this->close(); this->close();
MainWindow CEC(0,0,0);
CEC.show(); //MainWindow CEC(0,0,0);
//CEC.show();
} }

@ -16,7 +16,7 @@ int main(int argc, char** argv)
CEC.show(); CEC.show();
//LoginUi a(0); //LoginUi a(0);
//a.show(); //a.show();
return app.exec(); app.exec();
return(0); return(0);
} }

@ -287,8 +287,7 @@ void MainWindow::setBtnStyles(){
* set PushButton state * set PushButton state
*/ */
ui->btn_main->setIcon(QIcon("://images/up.png"));
ui->btn_main->setText("mainWidget");
ui->btn_main->setStyleSheet( ui->btn_main->setStyleSheet(
"QPushButton:hover{" "QPushButton:hover{"
"background-color:rgb(186, 189, 182);" "background-color:rgb(186, 189, 182);"

@ -841,8 +841,8 @@ background-color:none</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>205</width> <width>579</width>
<height>104</height> <height>196</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@ -902,8 +902,8 @@ background-color:none</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>88</width> <width>579</width>
<height>88</height> <height>196</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@ -926,7 +926,7 @@ background-color:none</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>267</width> <width>565</width>
<height>312</height> <height>312</height>
</rect> </rect>
</property> </property>
@ -1251,8 +1251,8 @@ background-color:none</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>313</width> <width>579</width>
<height>133</height> <height>196</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">

@ -47,7 +47,7 @@
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string/> <string>Main</string>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
@ -69,7 +69,7 @@
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string/> <string>Tello</string>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
@ -94,7 +94,7 @@
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string/> <string>Robo</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="://images/toolbar_dash.png"> <iconset theme="://images/toolbar_dash.png">
@ -673,7 +673,7 @@ QProgressBar::chunk
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>PushButton</string> <string>获取目标</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -699,7 +699,7 @@ QProgressBar::chunk
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>shortcut</string> <string/>
</property> </property>
</widget> </widget>
</item> </item>
@ -1286,7 +1286,7 @@ background-color: rgb(255,255,255);
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>system</string> <string>Auto</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -1299,7 +1299,7 @@ background-color: rgb(255,255,255);
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>keyboard</string> <string>Keyboard</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -1358,7 +1358,7 @@ background-color: rgb(255,255,255);
</size> </size>
</property> </property>
<property name="title"> <property name="title">
<string>Logging</string> <string>Camera</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>

Loading…
Cancel
Save