56 GemcGUI(std::shared_ptr<GOptions> gopts,
57 std::shared_ptr<EventDispenser> ed,
59 QWidget* parent =
nullptr);
84 QStackedWidget* rightContent;
105 QLabel* eventNumberLabel;
131 std::unique_ptr<GUI_Session> guiSession;
139 void createLeftButtons();
150 void createRightContent(std::shared_ptr<GOptions> gopts,
159 void createTopButtons(QHBoxLayout* topLayout);
176 void neventsChanged();
197 void stopCycleBeamOn();
215 void change_page(QListWidgetItem* current, QListWidgetItem* previous);
GemcGUI(std::shared_ptr< GOptions > gopts, std::shared_ptr< EventDispenser > ed, GDetectorConstruction *dc, QWidget *parent=nullptr)
Construct the main GUI widget.