This commit is contained in:
rankun 2018-10-29 16:47:00 +08:00
commit 3081d9196b
3 changed files with 10 additions and 9 deletions

View file

@ -47,7 +47,7 @@ Dialog::Dialog(QWidget *parent) :
w2 = new YUVGLWidget(this); w2 = new YUVGLWidget(this);
w2->resize(ui->imgLabel->size()); w2->resize(ui->imgLabel->size());
w2->move(230, 20); w2->move(ui->imgLabel->pos());
Decoder::init(); Decoder::init();

View file

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1309</width> <width>1100</width>
<height>707</height> <height>712</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -29,8 +29,8 @@
<widget class="QPushButton" name="startServerBtn"> <widget class="QPushButton" name="startServerBtn">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>30</x> <x>160</x>
<y>60</y> <y>20</y>
<width>111</width> <width>111</width>
<height>28</height> <height>28</height>
</rect> </rect>
@ -42,8 +42,8 @@
<widget class="QPushButton" name="stopServerBtn"> <widget class="QPushButton" name="stopServerBtn">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>30</x> <x>290</x>
<y>100</y> <y>20</y>
<width>111</width> <width>111</width>
<height>28</height> <height>28</height>
</rect> </rect>
@ -55,8 +55,8 @@
<widget class="QLabel" name="imgLabel"> <widget class="QLabel" name="imgLabel">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>230</x> <x>20</x>
<y>20</y> <y>60</y>
<width>1051</width> <width>1051</width>
<height>621</height> <height>621</height>
</rect> </rect>

View file

@ -17,6 +17,7 @@ int main(int argc, char *argv[])
qputenv("QTSCRCPY_SERVER_PATH", "G:\\mygitcode\\QtScrcpy\\src\\scrcpy-server.jar"); qputenv("QTSCRCPY_SERVER_PATH", "G:\\mygitcode\\QtScrcpy\\src\\scrcpy-server.jar");
Dialog w; Dialog w;
w.move(50, 930);
w.show(); w.show();
return a.exec(); return a.exec();