Commit 5168254b authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: toolbar editor: make it easier for small narrow screens

parent 05729a00
This diff is collapsed.
......@@ -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 *positionCombo, *profileCombo;
QCheckBox *flatBox, *bigBox, *shinyBox, *positionCheckbox;
QComboBox *profileCombo;
WidgetListing *widgetListing;
DroppingController *controller1, *controller2, *controllerA;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment