X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fdialogs%2Ftoolbar.hpp;h=52f4241eff32bd2bf61935fd647299d3f4b9908d;hb=5b86425b762dab1f6b5bc3e0d6776188c8d927af;hp=4dce6034bc389bdac8a28d7a3e27e222efd913ae;hpb=875d88732ee5177013321954122a9a6242d123ed;p=vlc diff --git a/modules/gui/qt4/dialogs/toolbar.hpp b/modules/gui/qt4/dialogs/toolbar.hpp index 4dce6034bc..52f4241eff 100644 --- a/modules/gui/qt4/dialogs/toolbar.hpp +++ b/modules/gui/qt4/dialogs/toolbar.hpp @@ -1,7 +1,7 @@ /***************************************************************************** * ToolbarEdit.hpp : ToolbarEdit dialogs **************************************************************************** - * Copyright (C) 2007 the VideoLAN team + * Copyright (C) 2008-2009 the VideoLAN team * $Id$ * * Authors: Jean-Baptiste Kempf @@ -32,9 +32,9 @@ #include #define PROFILE_NAME_1 "Modern Style" -#define VALUE_1 "0|64;39;64;38;65;|0-2;64;3;1;4;64;7;10;9;64-4;37;65;35-4;|12;11;13;14;|5-1;33;6-1;|0-2;64;3;1;4;64;37;64;38;64;8;65;35-4;34;" +#define VALUE_1 "0|64;39;64;38;65;|0-2;64;3;1;4;64;7;10;9;64-4;20;19;64-4;37;65;35-4;|12;11;13;14;|5-1;33;6-1;|0-2;64;3;1;4;64;37;64;38;64;8;65;35-4;34;" #define PROFILE_NAME_2 "Classic Style" -#define VALUE_2 "1|64;39-1;64;38;13-1;|2-1;32-4;0-5;1-5;32-5;3-5;5-5;6-5;4-5;32-5;10-1;64-1;35-1;65;|12-1;11-1;13-1;14-1;|33;37-4;|0-5;1-5;32-1;1-5;5-1;6-1;4-5;32-1;12-5;11-1;65;34-4;35-1;" +#define VALUE_2 "1|64;39-1;64;38;|2-1;32-4;0-5;1-5;32-5;3-5;5-5;6-5;4-5;32-5;10-1;64-1;35-1;65;|12-1;11-1;13-1;14-1;|33;37-4;|0-5;1-5;32-1;1-5;5-1;6-1;4-5;32-1;12-5;11-1;65;34-4;35-1;" #define PROFILE_NAME_3 "Minimalist Style" #define VALUE_3 "0|64;65;|0-7;64;3-1;1-5;4-1;64;12-5;64-5;37-5;38-5;64-4;10-1;65;36-4;|11-5;13-5;14-5;|5-1;33;6-1;|0-5;64;3-5;1-5;4-5;64;12-5;65;34-4;35-1;" #define PROFILE_NAME_4 "One-Liner Style" @@ -49,7 +49,7 @@ class QComboBox; class WidgetListing : public QListWidget { - Q_OBJECT; + Q_OBJECT public: WidgetListing( intf_thread_t *, QWidget *_parent = 0 ); protected: @@ -60,7 +60,7 @@ private: class ToolbarEditDialog : public QVLCDialog { - Q_OBJECT; + Q_OBJECT public: ToolbarEditDialog( QWidget *, intf_thread_t * ); int getOptions() { return flatBox->isChecked() * WIDGET_FLAT + @@ -86,7 +86,7 @@ private slots: class DroppingController: public AbstractController { - Q_OBJECT; + Q_OBJECT public: DroppingController( intf_thread_t *, const QString& line, QWidget *parent = 0 ); QString getValue(); @@ -112,6 +112,7 @@ private: }; QRubberBand *rubberband; QList widgetList; + int i_dragIndex; int getParentPosInLayout( QPoint point);