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
3300d070
Commit
3300d070
authored
Jan 18, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: toolbars, change regroupments of unsplittable buttons as QFrame
I will need that to clarify the Toolbar editor.
parent
e68df391
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
modules/gui/qt4/components/controller.cpp
modules/gui/qt4/components/controller.cpp
+3
-3
modules/gui/qt4/components/controller.hpp
modules/gui/qt4/components/controller.hpp
+2
-2
modules/gui/qt4/components/controller_widget.hpp
modules/gui/qt4/components/controller_widget.hpp
+2
-1
No files found.
modules/gui/qt4/components/controller.cpp
View file @
3300d070
...
...
@@ -417,10 +417,10 @@ QWidget *AbstractController::createWidget( buttonType_e button, int options )
return
widget
;
}
Q
Widget
*
AbstractController
::
discFrame
()
Q
Frame
*
AbstractController
::
discFrame
()
{
/** Disc and Menus handling */
Q
Widget
*
discFrame
=
new
QWidget
(
this
);
Q
Frame
*
discFrame
=
new
QFrame
(
this
);
QHBoxLayout
*
discLayout
=
new
QHBoxLayout
(
discFrame
);
discLayout
->
setSpacing
(
0
);
discLayout
->
setMargin
(
0
);
...
...
@@ -459,7 +459,7 @@ QWidget *AbstractController::discFrame()
return
discFrame
;
}
Q
Widget
*
AbstractController
::
telexFrame
()
Q
Frame
*
AbstractController
::
telexFrame
()
{
/**
* Telextext QFrame
...
...
modules/gui/qt4/components/controller.hpp
View file @
3300d070
...
...
@@ -161,8 +161,8 @@ protected:
QWidget
*
createWidget
(
buttonType_e
,
int
options
=
WIDGET_NORMAL
);
private:
static
void
setupButton
(
QAbstractButton
*
);
Q
Widget
*
discFrame
();
Q
Widget
*
telexFrame
();
Q
Frame
*
discFrame
();
Q
Frame
*
telexFrame
();
protected
slots
:
virtual
void
doAction
(
int
);
...
...
modules/gui/qt4/components/controller_widget.hpp
View file @
3300d070
...
...
@@ -31,6 +31,7 @@
#include "qt4.hpp"
#include <QWidget>
#include <QFrame>
#include <QToolButton>
#define I_PLAY_TOOLTIP N_("Play\nIf the playlist is empty, open a media")
...
...
@@ -61,7 +62,7 @@ private slots:
void
setIcons
(
bool
,
bool
);
};
class
TeletextController
:
public
Q
Widget
class
TeletextController
:
public
Q
Frame
{
Q_OBJECT
friend
class
AbstractController
;
...
...
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