mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-22 20:44:59 +00:00
调整UI
This commit is contained in:
parent
6e95a8d7ac
commit
98e0d6c692
3 changed files with 10 additions and 9 deletions
|
@ -47,7 +47,7 @@ Dialog::Dialog(QWidget *parent) :
|
|||
|
||||
w2 = new YUVGLWidget(this);
|
||||
w2->resize(ui->imgLabel->size());
|
||||
w2->move(230, 20);
|
||||
w2->move(ui->imgLabel->pos());
|
||||
|
||||
Decoder::init();
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1309</width>
|
||||
<height>707</height>
|
||||
<width>1100</width>
|
||||
<height>712</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
|
@ -29,8 +29,8 @@
|
|||
<widget class="QPushButton" name="startServerBtn">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>60</y>
|
||||
<x>160</x>
|
||||
<y>20</y>
|
||||
<width>111</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
|
@ -42,8 +42,8 @@
|
|||
<widget class="QPushButton" name="stopServerBtn">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>100</y>
|
||||
<x>290</x>
|
||||
<y>20</y>
|
||||
<width>111</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
|
@ -55,8 +55,8 @@
|
|||
<widget class="QLabel" name="imgLabel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>230</x>
|
||||
<y>20</y>
|
||||
<x>20</x>
|
||||
<y>60</y>
|
||||
<width>1051</width>
|
||||
<height>621</height>
|
||||
</rect>
|
||||
|
|
|
@ -17,6 +17,7 @@ int main(int argc, char *argv[])
|
|||
qputenv("QTSCRCPY_SERVER_PATH", "G:\\mygitcode\\QtScrcpy\\src\\scrcpy-server.jar");
|
||||
|
||||
Dialog w;
|
||||
w.move(50, 930);
|
||||
w.show();
|
||||
|
||||
return a.exec();
|
||||
|
|
Loading…
Add table
Reference in a new issue