Commit 684012f9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Open Dialog: Capture tab. Last tab. Just the skeleton is present.

parent 2204879a
...@@ -17,6 +17,7 @@ TOUI = \ ...@@ -17,6 +17,7 @@ TOUI = \
ui/open_file \ ui/open_file \
ui/open_disk \ ui/open_disk \
ui/open_net \ ui/open_net \
ui/open_capture \
ui/open \ ui/open \
ui/main_interface \ ui/main_interface \
ui/sprefs_audio \ ui/sprefs_audio \
...@@ -174,6 +175,7 @@ EXTRA_DIST += \ ...@@ -174,6 +175,7 @@ EXTRA_DIST += \
ui/open_file.ui \ ui/open_file.ui \
ui/open_disk.ui \ ui/open_disk.ui \
ui/open_net.ui \ ui/open_net.ui \
ui/open_capture.ui \
ui/open.ui \ ui/open.ui \
ui/main_interface.ui \ ui/main_interface.ui \
ui/sprefs_audio.ui \ ui/sprefs_audio.ui \
......
...@@ -254,3 +254,16 @@ void NetOpenPanel::updateMRL() { ...@@ -254,3 +254,16 @@ void NetOpenPanel::updateMRL() {
} }
emit mrlUpdated(mrl); emit mrlUpdated(mrl);
} }
/**************************************************************************
* Capture open
**************************************************************************/
CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
OpenPanel( _parent, _p_intf )
{
ui.setupUi( this );
}
CaptureOpenPanel::~CaptureOpenPanel()
{}
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "ui/open_file.h" #include "ui/open_file.h"
#include "ui/open_disk.h" #include "ui/open_disk.h"
#include "ui/open_net.h" #include "ui/open_net.h"
#include "ui/open_capture.h"
class OpenPanel: public QWidget class OpenPanel: public QWidget
{ {
...@@ -97,4 +98,18 @@ public slots: ...@@ -97,4 +98,18 @@ public slots:
virtual void updateMRL() ; virtual void updateMRL() ;
}; };
class CaptureOpenPanel: public OpenPanel
{
Q_OBJECT;
public:
CaptureOpenPanel( QWidget *, intf_thread_t * );
virtual ~CaptureOpenPanel();
virtual void clear() ;
private:
Ui::OpenCapture ui;
public slots:
virtual void updateMRL();
};
#endif #endif
<ui version="4.0" >
<author>Jean-Baptiste Kempf</author>
<class>OpenCapture</class>
<widget class="QWidget" name="OpenCapture" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>487</width>
<height>165</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="3" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" >
<widget class="QComboBox" name="protocolCombo" />
</item>
<item row="0" column="1" >
<widget class="QLabel" name="label_2" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Card Selection</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Capture Mode</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3" >
<widget class="QGroupBox" name="groupBox_3" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title" >
<string>Options</string>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment