Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
47315c39
Commit
47315c39
authored
Jun 28, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Icons
parent
f28b106b
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
74 additions
and
9 deletions
+74
-9
modules/gui/qt4/Modules.am
modules/gui/qt4/Modules.am
+5
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+10
-0
modules/gui/qt4/pixmaps/next.png
modules/gui/qt4/pixmaps/next.png
+0
-0
modules/gui/qt4/pixmaps/play.png
modules/gui/qt4/pixmaps/play.png
+0
-0
modules/gui/qt4/pixmaps/previous.png
modules/gui/qt4/pixmaps/previous.png
+0
-0
modules/gui/qt4/pixmaps/stop.png
modules/gui/qt4/pixmaps/stop.png
+0
-0
modules/gui/qt4/pixmaps/volume-high.png
modules/gui/qt4/pixmaps/volume-high.png
+0
-0
modules/gui/qt4/pixmaps/volume-low.png
modules/gui/qt4/pixmaps/volume-low.png
+0
-0
modules/gui/qt4/res.qrc
modules/gui/qt4/res.qrc
+9
-0
modules/gui/qt4/ui/main_interface.ui
modules/gui/qt4/ui/main_interface.ui
+50
-8
No files found.
modules/gui/qt4/Modules.am
View file @
47315c39
...
...
@@ -42,12 +42,16 @@ nodist_SOURCES_qt4 = \
components/preferences.moc.cpp
\
components/open.moc.cpp
\
components/playlist/panels.moc.cpp
\
util/input_slider.moc.cpp
util/input_slider.moc.cpp
\
resources.cpp
if
ENABLE_QT4
BUILT_SOURCES
+=
$(UIH)
$(nodist_SOURCES_qt4)
endif
resources.cpp
:
rm
-f
resources.cpp
$(RCC)
res.qrc
>
resources.cpp
$(MOCCPP)
:
%.moc.cpp: %.hpp
@
echo
"
$(MOC)
$<
->
$@
"
...
...
modules/gui/qt4/main_interface.cpp
View file @
47315c39
...
...
@@ -37,12 +37,22 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QMainWindow(), p_intf(
setCentralWidget
(
main
);
setWindowTitle
(
_
(
"VLC media player"
)
);
ui
.
setupUi
(
centralWidget
()
);
slider
=
new
InputSlider
(
Qt
::
Horizontal
,
ui
.
sliderBox
);
QVBoxLayout
*
box_layout
=
new
QVBoxLayout
();
box_layout
->
addWidget
(
slider
);
ui
.
sliderBox
->
setLayout
(
box_layout
);
ui
.
prevButton
->
setIcon
(
QIcon
(
":/pixmaps/previous.png"
)
);
ui
.
nextButton
->
setIcon
(
QIcon
(
":/pixmaps/next.png"
)
);
ui
.
playButton
->
setIcon
(
QIcon
(
":/pixmaps/play.png"
)
);
ui
.
stopButton
->
setIcon
(
QIcon
(
":/pixmaps/stop.png"
)
);
ui
.
volLowLabel
->
setPixmap
(
QPixmap
(
":/pixmaps/volume-low.png"
)
);
ui
.
volHighLabel
->
setPixmap
(
QPixmap
(
":/pixmaps/volume-high.png"
)
);
resize
(
QSize
(
450
,
80
)
);
//QVLCMenu::createMenuBar();
/* Init input manager */
MainInputManager
::
getInstance
(
p_intf
);
...
...
modules/gui/qt4/pixmaps/next.png
0 → 100644
View file @
47315c39
923 Bytes
modules/gui/qt4/pixmaps/play.png
0 → 100644
View file @
47315c39
740 Bytes
modules/gui/qt4/pixmaps/previous.png
0 → 100644
View file @
47315c39
922 Bytes
modules/gui/qt4/pixmaps/stop.png
0 → 100644
View file @
47315c39
450 Bytes
modules/gui/qt4/pixmaps/volume-high.png
0 → 100644
View file @
47315c39
685 Bytes
modules/gui/qt4/pixmaps/volume-low.png
0 → 100644
View file @
47315c39
500 Bytes
modules/gui/qt4/res.qrc
0 → 100644
View file @
47315c39
<!DOCTYPE RCC>
<RCC
version=
"1.0"
>
<qresource>
<file>
pixmaps/play.png
</file>
<file>
pixmaps/stop.png
</file>
<file>
pixmaps/previous.png
</file>
<file>
pixmaps/next.png
</file>
</qresource>
</RCC>
modules/gui/qt4/ui/main_interface.ui
View file @
47315c39
...
...
@@ -8,8 +8,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>4
50
</width>
<height>
80
</height>
<width>4
28
</width>
<height>
79
</height>
</rect>
</property>
<property name="windowTitle" >
...
...
@@ -46,7 +46,7 @@
</widget>
</item>
<item>
<widget class="QFrame" name="
f
rame" >
<widget class="QFrame" name="
discF
rame" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
...
...
@@ -83,8 +83,11 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Prev</string>
<property name="iconSize" >
<size>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
</item>
...
...
@@ -99,7 +102,13 @@
</sizepolicy>
</property>
<property name="text" >
<string>Play</string>
<string/>
</property>
<property name="iconSize" >
<size>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
</item>
...
...
@@ -114,7 +123,13 @@
</sizepolicy>
</property>
<property name="text" >
<string>Stop</string>
<string/>
</property>
<property name="iconSize" >
<size>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
</item>
...
...
@@ -129,7 +144,13 @@
</sizepolicy>
</property>
<property name="text" >
<string>Next</string>
<string/>
</property>
<property name="iconSize" >
<size>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
</item>
...
...
@@ -146,6 +167,27 @@
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="volLowLabel" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="volumeSlider" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="volHighLabel" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="playlistButton" >
<property name="text" >
...
...
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