_action_about = new QAction(this);
_action_about->setObjectName(QString::fromUtf8("actionAbout"));
_action_open = new QAction(this);
+ _action_open->setIcon(QIcon::fromTheme("document-open"));
_action_open->setObjectName(QString::fromUtf8("actionOpen"));
// Setup the menu bar
QMetaObject::connectSlotsByName(this);
// Setup the toolbars
+ _toolbar = new QToolBar(this);
+ _toolbar->addAction(_action_open);
+ addToolBar(_toolbar);
+
_sampling_bar = new SamplingBar(this);
connect(_sampling_bar, SIGNAL(run_stop()), this,
SLOT(run_stop()));
class QMenu;
class QVBoxLayout;
class QStatusBar;
+class QToolBar;
class QWidget;
class MainWindow : public QMainWindow
QWidget *_central_widget;
QVBoxLayout *_vertical_layout;
+ QToolBar *_toolbar;
SamplingBar *_sampling_bar;
QStatusBar *_status_bar;