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
5168254b
Commit
5168254b
authored
Apr 16, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: toolbar editor: make it easier for small narrow screens
parent
05729a00
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
175 additions
and
72 deletions
+175
-72
modules/gui/qt4/dialogs/toolbar.cpp
modules/gui/qt4/dialogs/toolbar.cpp
+154
-70
modules/gui/qt4/dialogs/toolbar.hpp
modules/gui/qt4/dialogs/toolbar.hpp
+21
-2
No files found.
modules/gui/qt4/dialogs/toolbar.cpp
View file @
5168254b
This diff is collapsed.
Click to expand it.
modules/gui/qt4/dialogs/toolbar.hpp
View file @
5168254b
...
...
@@ -48,6 +48,25 @@ class DroppingController;
class
QComboBox
;
class
QRubberBand
;
class
PreviewWidget
:
public
QWidget
{
Q_OBJECT
public:
PreviewWidget
(
QWidget
*
,
QWidget
*
,
QWidget
*
);
public
slots
:
void
setBarsTopPosition
(
int
b
);
protected:
virtual
void
paintEvent
(
QPaintEvent
*
);
virtual
bool
eventFilter
(
QObject
*
obj
,
QEvent
*
event
);
private:
QWidget
*
bars
[
3
];
bool
b_top
;
};
class
WidgetListing
:
public
QListWidget
{
Q_OBJECT
...
...
@@ -70,8 +89,8 @@ public:
virtual
~
ToolbarEditDialog
();
private:
QCheckBox
*
flatBox
,
*
bigBox
,
*
shinyBox
;
QComboBox
*
p
ositionCombo
,
*
p
rofileCombo
;
QCheckBox
*
flatBox
,
*
bigBox
,
*
shinyBox
,
*
positionCheckbox
;
QComboBox
*
profileCombo
;
WidgetListing
*
widgetListing
;
DroppingController
*
controller1
,
*
controller2
,
*
controllerA
;
...
...
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