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,34 +8,34 @@ ...@@ -8,34 +8,34 @@
<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>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QGroupBox" name="groupBox" > <widget class="QGroupBox" name="groupBox" >
<property name="geometry" > <property name="minimumSize" >
<rect> <size>
<x>10</x> <width>0</width>
<y>10</y> <height>300</height>
<width>611</width> </size>
<height>351</height>
</rect>
</property> </property>
<property name="title" > <property name="title" >
<string>Media configuration</string> <string>Media configuration</string>
</property> </property>
</widget> </widget>
</item>
<item row="1" column="0" >
<widget class="QTableWidget" name="mediasDB" > <widget class="QTableWidget" name="mediasDB" >
<property name="windowModality" > <property name="windowModality" >
<enum>Qt::NonModal</enum> <enum>Qt::NonModal</enum>
...@@ -43,22 +43,18 @@ ...@@ -43,22 +43,18 @@
<property name="enabled" > <property name="enabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="geometry" >
<rect>
<x>10</x>
<y>370</y>
<width>611</width>
<height>221</height>
</rect>
</property>
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy> <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<hsizetype>0</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize" >
<size>
<width>0</width>
<height>220</height>
</size>
</property>
<property name="sizeIncrement" > <property name="sizeIncrement" >
<size> <size>
<width>0</width> <width>0</width>
...@@ -113,6 +109,15 @@ ...@@ -113,6 +109,15 @@
</property> </property>
</column> </column>
</widget> </widget>
</item>
<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