@ -77,7 +77,6 @@ void Dialog::initUI()
ui->formatBox->addItem("mp4");
ui->formatBox->addItem("mkv");
ui->videoSizeBox->setCurrentIndex(0);
}
void Dialog::on_updateDevice_clicked()
@ -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>
<height>0</height>
</size>
<property name="maximumSize">
<height>16777215</height>
@ -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>
</widget>
</item>
@ -27,9 +27,11 @@ VideoForm::VideoForm(const QString& serial, quint16 maxSize, quint32 bitRate, co
m_maxSize(maxSize),
m_bitRate(bitRate)
{
ui->setupUi(this);
initUI();
setWindowFlag(Qt::WindowStaysOnTopHint);
m_server = new Server();
m_frames.init();
m_decoder.setFrames(&m_frames);