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
3dcf9aca
Commit
3dcf9aca
authored
Apr 22, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt, controller: cosmetics
parent
0f3df12e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
modules/gui/qt4/components/controller.cpp
modules/gui/qt4/components/controller.cpp
+3
-3
modules/gui/qt4/dialogs/toolbar.hpp
modules/gui/qt4/dialogs/toolbar.hpp
+8
-9
No files found.
modules/gui/qt4/components/controller.cpp
View file @
3dcf9aca
...
...
@@ -26,9 +26,9 @@
# include "config.h"
#endif
#include <vlc_vout.h>
#include <vlc_keys.h>
#include <vlc_vout.h>
/* vout_thread_t for FSC */
/* Widgets */
#include "components/controller.hpp"
#include "components/controller_widget.hpp"
#include "components/interface_widgets.hpp"
...
...
@@ -736,8 +736,8 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i, QWi
/* hiding timer */
p_hideTimer
=
new
QTimer
(
this
);
CONNECT
(
p_hideTimer
,
timeout
(),
this
,
hideFSC
()
);
p_hideTimer
->
setSingleShot
(
true
);
CONNECT
(
p_hideTimer
,
timeout
(),
this
,
hideFSC
()
);
/* slow hiding timer */
#if HAVE_TRANSPARENCY
...
...
modules/gui/qt4/dialogs/toolbar.hpp
View file @
3dcf9aca
/*****************************************************************************
* ToolbarEdit.hpp : ToolbarEdit dialogs
****************************************************************************
* Copyright (C) 2008-20
09
the VideoLAN team
* Copyright (C) 2008-20
11
the VideoLAN team
* $Id$
*
* Authors: Jean-Baptiste Kempf <jb (at) videolan.org>
...
...
@@ -24,8 +24,8 @@
#ifndef QVLC_TOOLBAREDIT_DIALOG_H_
#define QVLC_TOOLBAREDIT_DIALOG_H_ 1
#include "util/qvlcframe.hpp"
#include "components/controller.hpp"
#include "util/qvlcframe.hpp"
/* QVLCDialog */
#include "components/controller.hpp"
/* AbstractController */
#include <QListWidget>
#include <QCheckBox>
...
...
@@ -43,7 +43,6 @@
class
ToolbarEditDialog
;
class
DroppingController
;
class
QCheckBox
;
class
QComboBox
;
class
QRubberBand
;
...
...
@@ -67,8 +66,8 @@ public:
bigBox
->
isChecked
()
*
WIDGET_BIG
+
!
shinyBox
->
isChecked
()
*
WIDGET_SHINY
;
}
virtual
~
ToolbarEditDialog
();
private:
private:
QCheckBox
*
flatBox
,
*
bigBox
,
*
shinyBox
;
QComboBox
*
positionCombo
,
*
profileCombo
;
...
...
@@ -103,7 +102,8 @@ protected:
virtual
void
doAction
(
int
);
bool
eventFilter
(
QObject
*
,
QEvent
*
);
virtual
bool
eventFilter
(
QObject
*
,
QEvent
*
);
private:
struct
doubleInt
{
...
...
@@ -112,12 +112,11 @@ private:
};
QRubberBand
*
rubberband
;
QList
<
doubleInt
*>
widgetList
;
int
i_dragIndex
;
int
getParentPosInLayout
(
QPoint
point
);
int
i_dragIndex
;
bool
b_draging
;
int
getParentPosInLayout
(
QPoint
point
);
};
#endif
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