mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 14:18:45 +00:00
update:固定尺寸
This commit is contained in:
parent
8d83585130
commit
d7532cef33
3 changed files with 7 additions and 6 deletions
|
@ -77,7 +77,6 @@ void Dialog::initUI()
|
||||||
|
|
||||||
ui->formatBox->addItem("mp4");
|
ui->formatBox->addItem("mp4");
|
||||||
ui->formatBox->addItem("mkv");
|
ui->formatBox->addItem("mkv");
|
||||||
ui->videoSizeBox->setCurrentIndex(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Dialog::on_updateDevice_clicked()
|
void Dialog::on_updateDevice_clicked()
|
||||||
|
|
|
@ -6,19 +6,19 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>639</width>
|
<width>685</width>
|
||||||
<height>600</height>
|
<height>600</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>520</width>
|
<width>685</width>
|
||||||
<height>0</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>639</width>
|
<width>685</width>
|
||||||
<height>16777215</height>
|
<height>16777215</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
<item row="0" column="4">
|
<item row="0" column="4">
|
||||||
<widget class="QLabel" name="label_6">
|
<widget class="QLabel" name="label_6">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>format:</string>
|
<string>record format:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -27,9 +27,11 @@ VideoForm::VideoForm(const QString& serial, quint16 maxSize, quint32 bitRate, co
|
||||||
m_maxSize(maxSize),
|
m_maxSize(maxSize),
|
||||||
m_bitRate(bitRate)
|
m_bitRate(bitRate)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
initUI();
|
initUI();
|
||||||
|
|
||||||
|
setWindowFlag(Qt::WindowStaysOnTopHint);
|
||||||
|
|
||||||
m_server = new Server();
|
m_server = new Server();
|
||||||
m_frames.init();
|
m_frames.init();
|
||||||
m_decoder.setFrames(&m_frames);
|
m_decoder.setFrames(&m_frames);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue