Commit a087c55c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - VLM improvements in the layout and in the function used.

parent 948158b1
This diff is collapsed.
...@@ -42,6 +42,9 @@ class QToolButton; ...@@ -42,6 +42,9 @@ class QToolButton;
class QGroupBox; class QGroupBox;
class QPushButton; class QPushButton;
class QHBoxLayout; class QHBoxLayout;
class QDateEdit;
class QTimeEdit;
class QSpinBox;
class VLMDialog : public QVLCFrame class VLMDialog : public QVLCFrame
{ {
...@@ -66,10 +69,10 @@ private: ...@@ -66,10 +69,10 @@ private:
QComboBox *mediatype; QComboBox *mediatype;
QVBoxLayout *layout; QVBoxLayout *layout;
QHBoxLayout *bcastgbox; QHBoxLayout *bcastgbox, ;
QStackedWidget *slayout; QStackedWidget *slayout;
QWidget *pBcast, *pVod, *pSchedule; QWidget *pBcast, *pVod, *pSchedule;
QGridLayout *bcastlayout, *vodlayout, *schelayout; QGridLayout *bcastlayout, *vodlayout, *schelayout, *schetimelayout;
QLabel *bcastname, *vodname, *schename,*bcastinput, *vodinput, *scheinput; QLabel *bcastname, *vodname, *schename,*bcastinput, *vodinput, *scheinput;
QLabel *bcastoutput, *vodoutput, *scheoutput; QLabel *bcastoutput, *vodoutput, *scheoutput;
QCheckBox *bcastenable, *vodenable, *scheenable; QCheckBox *bcastenable, *vodenable, *scheenable;
...@@ -80,6 +83,10 @@ private: ...@@ -80,6 +83,10 @@ private:
QGroupBox *bcastcontrol, *schecontrol; QGroupBox *bcastcontrol, *schecontrol;
QPushButton *bcastplay, *bcastpause, *bcaststop; QPushButton *bcastplay, *bcastpause, *bcaststop;
QPushButton *bcastadd, *vodadd, *scheadd, *bcastremove, *vodremove, *scheremove; QPushButton *bcastadd, *vodadd, *scheadd, *bcastremove, *vodremove, *scheremove;
QTimeEdit *time;
QDateEdit *date;
QLabel *schetimelabel, *schedatelabel, *schetimerepeat;
QSpinBox *scherepeatnumber;
private slots: private slots:
void close(); void close();
......
...@@ -8,111 +8,116 @@ ...@@ -8,111 +8,116 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>632</width> <width>640</width>
<height>602</height> <height>640</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy> <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
<string>Form</string> <string>_("VLM configurator")</string>
</property> </property>
<widget class="QGroupBox" name="groupBox" > <layout class="QGridLayout" >
<property name="geometry" > <item row="0" column="0" >
<rect> <widget class="QGroupBox" name="groupBox" >
<x>10</x> <property name="minimumSize" >
<y>10</y> <size>
<width>611</width> <width>0</width>
<height>351</height> <height>300</height>
</rect> </size>
</property> </property>
<property name="title" > <property name="title" >
<string>Media configuration</string> <string>Media configuration</string>
</property> </property>
</widget> </widget>
<widget class="QTableWidget" name="mediasDB" > </item>
<property name="windowModality" > <item row="1" column="0" >
<enum>Qt::NonModal</enum> <widget class="QTableWidget" name="mediasDB" >
</property> <property name="windowModality" >
<property name="enabled" > <enum>Qt::NonModal</enum>
<bool>true</bool> </property>
</property> <property name="enabled" >
<property name="geometry" > <bool>true</bool>
<rect> </property>
<x>10</x> <property name="sizePolicy" >
<y>370</y> <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<width>611</width> <horstretch>0</horstretch>
<height>221</height> <verstretch>0</verstretch>
</rect> </sizepolicy>
</property> </property>
<property name="sizePolicy" > <property name="minimumSize" >
<sizepolicy> <size>
<hsizetype>0</hsizetype> <width>0</width>
<vsizetype>7</vsizetype> <height>220</height>
<horstretch>0</horstretch> </size>
<verstretch>0</verstretch> </property>
</sizepolicy> <property name="sizeIncrement" >
</property> <size>
<property name="sizeIncrement" > <width>0</width>
<size> <height>0</height>
<width>0</width> </size>
<height>0</height> </property>
</size> <property name="baseSize" >
</property> <size>
<property name="baseSize" > <width>0</width>
<size> <height>0</height>
<width>0</width> </size>
<height>0</height> </property>
</size> <property name="autoFillBackground" >
</property> <bool>false</bool>
<property name="autoFillBackground" > </property>
<bool>false</bool> <property name="horizontalScrollBarPolicy" >
</property> <enum>Qt::ScrollBarAlwaysOff</enum>
<property name="horizontalScrollBarPolicy" > </property>
<enum>Qt::ScrollBarAlwaysOff</enum> <property name="selectionMode" >
</property> <enum>QAbstractItemView::MultiSelection</enum>
<property name="selectionMode" > </property>
<enum>QAbstractItemView::MultiSelection</enum> <property name="showGrid" >
</property> <bool>true</bool>
<property name="showGrid" > </property>
<bool>true</bool> <property name="sortingEnabled" >
</property> <bool>true</bool>
<property name="sortingEnabled" > </property>
<bool>true</bool> <row/>
</property> <column>
<row/> <property name="text" >
<column> <string>Type</string>
<property name="text" > </property>
<string>Type</string> </column>
</property> <column>
</column> <property name="text" >
<column> <string>Media Name</string>
<property name="text" > </property>
<string>Media Name</string> </column>
</property> <column>
</column> <property name="text" >
<column> <string>Input</string>
<property name="text" > </property>
<string>Input</string> </column>
</property> <column>
</column> <property name="text" >
<column> <string>Output</string>
<property name="text" > </property>
<string>Output</string> </column>
</property> <column>
</column> <property name="text" >
<column> <string>State</string>
<property name="text" > </property>
<string>State</string> </column>
</property> </widget>
</column> </item>
</widget> <item row="2" column="0" >
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="standardButtons" >
<set>QDialogButtonBox::NoButton</set>
</property>
</widget>
</item>
</layout>
</widget> </widget>
<resources/> <resources/>
<connections/> <connections/>
......
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