mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-06 23:48:38 +00:00
fix: single mode resize bug
This commit is contained in:
parent
89fda3a56c
commit
a78d9d0304
2 changed files with 25 additions and 1 deletions
|
@ -671,7 +671,7 @@ void Dialog::on_useSingleModeCheck_clicked()
|
||||||
ui->rightWidget->show();
|
ui->rightWidget->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
resize(layout()->sizeHint().width(), height());
|
adjustSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Dialog::on_serialBox_currentIndexChanged(const QString &arg1)
|
void Dialog::on_serialBox_currentIndexChanged(const QString &arg1)
|
||||||
|
|
|
@ -119,6 +119,12 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="autoUpdatecheckBox">
|
<widget class="QCheckBox" name="autoUpdatecheckBox">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>auto update</string>
|
<string>auto update</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -975,6 +981,12 @@
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="installSndcpyBtn">
|
<widget class="QPushButton" name="installSndcpyBtn">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>install sndcpy</string>
|
<string>install sndcpy</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -982,6 +994,12 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="startAudioBtn">
|
<widget class="QPushButton" name="startAudioBtn">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>start audio</string>
|
<string>start audio</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -989,6 +1007,12 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="stopAudioBtn">
|
<widget class="QPushButton" name="stopAudioBtn">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>stop audio</string>
|
<string>stop audio</string>
|
||||||
</property>
|
</property>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue