select_for_plan_pop_up_widget.h
Go to the documentation of this file.
1 //
2 // Created by yijiangh on 11/12/17.
3 //
4 
5 #ifndef CHOREO_GUI_SELECT_FOR_PLAN_POP_UP_WIDGET_H
6 #define CHOREO_GUI_SELECT_FOR_PLAN_POP_UP_WIDGET_H
7 
8 #include <QWidget>
9 
10 namespace Ui
11 {
12 class SelectForPlanPopUpWidget;
13 }
14 
15 namespace choreo_gui
16 {
17 
18 class SelectForPlanPopUpWidget : public QWidget
19 {
20  Q_OBJECT
21 
22  public:
23  SelectForPlanPopUpWidget(QWidget* parent = 0);
24 
25  void setFileName(std::string s) { file_name_ = s; }
26 
27  void setDisplayText(const std::string& text);
28 
29  void enableButtons(bool record_found, bool enable_recompute = true);
30 
31  Q_SIGNALS:
32  void buttonRecompute();
33  void buttonKeepRecord();
34  void exitSelectForPlanPopUpWidget();
35 
36  protected Q_SLOTS:
37  void closeWindow();
38 
39  protected:
40  virtual void closeEvent(QCloseEvent *ev);
41 
42  private:
43  // Display layout
44  Ui::SelectForPlanPopUpWidget* ui_;
45 
46  std::string file_name_;
47 };
48 } // end namespace choreo_gui
49 
50 #endif //CHOREO_GUI_SELECT_FOR_PLAN_POP_UP_WIDGET_H


choreo_gui
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:58:56