Commit 5668261e authored by WINTZ Julien's avatar WINTZ Julien

Use case for #13.

parent 3b642169
......@@ -42,6 +42,22 @@ int main(int argc, char **argv)
application->initialize();
application->setup(setup);
// ///////////////////////////////////////////////////////////////////
// Retrieve an arbitrary parameter
// ///////////////////////////////////////////////////////////////////
// if (dtkCoreParameter *parameter = application->window()->menuBar()->parameter(""))
// qDebug() << "Oh yeah";
// ///////////////////////////////////////////////////////////////////
// Retrieve an arbitrary parameter
// ///////////////////////////////////////////////////////////////////
// if (dtkWidgetsParameter *parameter = application->window()->menuBar()->parameterWidget(""))
// qDebug() << "Oh yeah";
// ///////////////////////////////////////////////////////////////////
return application->exec();
}
......
......@@ -30,7 +30,7 @@ class dtkWidgetsMenu;
class dtkWidgetsMenuBarButton : public QLabel
{
Q_OBJECT
public:
dtkWidgetsMenuBarButton(int id, const QString &title, QWidget *parent = nullptr);
......@@ -61,7 +61,7 @@ private:
class DTKWIDGETS_EXPORT dtkWidgetsMenuBar : public QFrame
{
Q_OBJECT
public:
dtkWidgetsMenuBar(QWidget * = nullptr);
~dtkWidgetsMenuBar(void);
......@@ -101,8 +101,6 @@ public slots:
void build(void);
protected:
// void paintEvent(QPaintEvent *) override;
// void mousePressEvent(QMouseEvent *) override;
void resizeEvent(QResizeEvent *) override;
protected:
......
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