Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
47315c39
Commit
47315c39
authored
Jun 28, 2006
by
zorglub
Browse files
Icons
parent
f28b106b
Changes
10
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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