update:固定尺寸

This commit is contained in:
Barry 2019-06-15 07:34:36 +08:00
parent 8d83585130
commit d7532cef33
3 changed files with 7 additions and 6 deletions

View file

@ -77,7 +77,6 @@ void Dialog::initUI()
ui->formatBox->addItem("mp4");
ui->formatBox->addItem("mkv");
ui->videoSizeBox->setCurrentIndex(0);
}
void Dialog::on_updateDevice_clicked()

View file

@ -6,19 +6,19 @@
<rect>
<x>0</x>
<y>0</y>
<width>639</width>
<width>685</width>
<height>600</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>520</width>
<width>685</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>639</width>
<width>685</width>
<height>16777215</height>
</size>
</property>
@ -168,7 +168,7 @@
<item row="0" column="4">
<widget class="QLabel" name="label_6">
<property name="text">
<string>format</string>
<string>record format</string>
</property>
</widget>
</item>

View file

@ -27,9 +27,11 @@ VideoForm::VideoForm(const QString& serial, quint16 maxSize, quint32 bitRate, co
m_maxSize(maxSize),
m_bitRate(bitRate)
{
ui->setupUi(this);
ui->setupUi(this);
initUI();
setWindowFlag(Qt::WindowStaysOnTopHint);
m_server = new Server();
m_frames.init();
m_decoder.setFrames(&m_frames);