Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
ab7704a5
Commit
ab7704a5
authored
Dec 10, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - VLM dialog rework.
parent
34b5e985
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
241 additions
and
204 deletions
+241
-204
modules/gui/qt4/dialogs/vlm.cpp
modules/gui/qt4/dialogs/vlm.cpp
+151
-111
modules/gui/qt4/dialogs/vlm.hpp
modules/gui/qt4/dialogs/vlm.hpp
+19
-17
modules/gui/qt4/ui/vlm.ui
modules/gui/qt4/ui/vlm.ui
+71
-76
No files found.
modules/gui/qt4/dialogs/vlm.cpp
View file @
ab7704a5
This diff is collapsed.
Click to expand it.
modules/gui/qt4/dialogs/vlm.hpp
View file @
ab7704a5
...
...
@@ -30,11 +30,16 @@
#include "ui/vlm.h"
#include "util/qvlcframe.hpp"
enum
{
QVLM_Broadcast
,
QVLM_VOD
,
QVLM_Schedule
};
class
QComboBox
;
class
QVBoxLayout
;
class
QStackedWidget
;
class
QLabel
;
class
QWidget
;
class
QGridLayout
;
class
QLineEdit
;
class
QCheckBox
;
...
...
@@ -63,30 +68,27 @@ private:
static
VLMDialog
*
instance
;
Ui
::
Vlm
ui
;
void
makeBcastPage
();
void
makeVODPage
();
void
makeSchedulePage
();
QGridLayout
*
vlmItemLayout
;
QComboBox
*
mediatype
;
QVBoxLayout
*
layout
;
QHBoxLayout
*
bcastgbox
,
;
QStackedWidget
*
slayout
;
QWidget
*
pBcast
,
*
pVod
,
*
pSchedule
;
QGridLayout
*
bcastlayout
,
*
vodlayout
,
*
schelayout
,
*
schetimelayout
;
QLabel
*
bcastname
,
*
vodname
,
*
schename
,
*
bcastinput
,
*
vodinput
,
*
scheinput
;
QLabel
*
bcastoutput
,
*
vodoutput
,
*
scheoutput
;
QCheckBox
*
bcastenable
,
*
vodenable
,
*
scheenable
;
QLineEdit
*
bcastnameledit
,
*
vodnameledit
,
*
schenameledit
,
*
bcastinputledit
,
*
vodinputledit
,
*
scheinputledit
;
QLineEdit
*
bcastoutputledit
,
*
vodoutputledit
,
*
scheoutputledit
;
QTimeEdit
*
time
;
QDateEdit
*
date
;
QSpinBox
*
scherepeatnumber
;
QToolButton
*
bcastinputtbutton
,
*
vodinputtbutton
,
*
scheinputtbutton
;
QToolButton
*
bcastoutputtbutton
,
*
vodoutputtbutton
,
*
scheoutputtbutton
;
QGroupBox
*
bcastcontrol
,
*
schecontrol
;
QPushButton
*
bcastplay
,
*
bcastpause
,
*
bcaststop
;
QPushButton
*
bcastadd
,
*
vodadd
,
*
scheadd
,
*
bcastremove
,
*
vodremove
,
*
scheremove
;
QTimeEdit
*
time
;
QDateEdit
*
date
;
QLabel
*
schetimelabel
,
*
schedatelabel
,
*
schetimerepeat
;
QSpinBox
*
scherepeatnumber
;
private
slots
:
void
finish
();
void
cancel
();
void
addVLMItem
();
void
removeVLMItem
();
void
clearVLMItem
();
};
#endif
modules/gui/qt4/ui/vlm.ui
View file @
ab7704a5
...
...
@@ -8,8 +8,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>
640
</width>
<height>
640
</height>
<width>
588
</width>
<height>
393
</height>
</rect>
</property>
<property name="sizePolicy" >
...
...
@@ -22,95 +22,90 @@
<string>_("VLM configurator")</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QGroupBox" name="
group
Box" >
<property name="
minimumSize
" >
<size>
<
width>0</widt
h>
<
height>300</height
>
</size>
<item row
span="3" row
="0" column="0" >
<widget class="QGroupBox" name="
mediaConf
Box" >
<property name="
sizePolicy
" >
<size
policy vsizetype="Minimum" hsizetype="Preferred"
>
<
horstretch>0</horstretc
h>
<
verstretch>0</verstretch
>
</size
policy
>
</property>
<property name="title" >
<string>Media configuration</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QTableWidget" name="mediasDB" >
<property name="windowModality" >
<enum>Qt::NonModal</enum>
</property>
<property name="enabled" >
<bool>true</bool>
<string>_("Media Creation")</string>
</property>
<layout class="QVBoxLayout" >
<item>
<widget class="QComboBox" name="mediaType" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred
" >
<sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding
" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>0</width>
<height>220</height>
</size>
</property>
<property name="sizeIncrement" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="baseSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="autoFillBackground" >
<bool>false</bool>
</property>
<property name="horizontalScrollBarPolicy" >
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="selectionMode" >
<enum>QAbstractItemView::MultiSelection</enum>
</property>
<property name="showGrid" >
<bool>true</bool>
</property>
<property name="sortingEnabled" >
<bool>true</bool>
</widget>
</item>
<item>
<widget class="Line" name="line" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<row/>
<column>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="mediaStacked" >
<property name="currentIndex" >
<number>2</number>
</property>
<widget class="QWidget" name="pBcast" />
<widget class="QWidget" name="pVod" />
<widget class="QWidget" name="pSched" />
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="addButton" >
<property name="text" >
<string>Type
</string>
<string>_("Add")
</string>
</property>
</column>
<column>
</widget>
</item>
<item row="1" column="1" >
<widget class="QPushButton" name="clearButton" >
<property name="text" >
<string>Media Name
</string>
<string>_("Clear")
</string>
</property>
</column>
<column>
<property name="text" >
<string>Input</string>
</widget>
</item>
<item row="2" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
</column>
<column>
<property name="text" >
<string>Output</string>
<property name="sizeHint" >
<size>
<width>80</width>
<height>20</height>
</size>
</property>
</column>
<column>
<property name="text" >
<string>State</string>
</spacer>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QGroupBox" name="mediaBox" >
<property name="sizePolicy" >
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="title" >
<string>_("Media Configuration")</string>
</property>
<
/column
>
<
layout class="QHBoxLayout" /
>
</widget>
</item>
<item row="
2" column="0
" >
<item row="
4" column="0" colspan="2
" >
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="standardButtons" >
<set>QDialogButtonBox::NoButton</set>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment