select_for_plan_pop_up_widget.cpp
Go to the documentation of this file.
1 //
2 // Created by yijiangh on 11/12/17.
3 //
4 
6 #include <ui_select_for_plan_pop_up.h>
7 
9 {
10  ui_ = new Ui::SelectForPlanPopUpWidget();
11  ui_->setupUi(this);
12 
13  connect(ui_->pushbutton_recompute, SIGNAL(clicked()), this, SIGNAL(buttonRecompute()));
14  connect(ui_->pushbutton_keep_record, SIGNAL(clicked()), this, SIGNAL(buttonKeepRecord()));
15 
16  connect(ui_->pushbutton_recompute, SIGNAL(clicked()), this, SLOT(closeWindow()));
17  connect(ui_->pushbutton_keep_record, SIGNAL(clicked()), this, SLOT(closeWindow()));
18 }
19 
21 {
22  ui_->textedit_msg->setPlainText(QString::fromStdString(text));
23 }
24 
25 void choreo_gui::SelectForPlanPopUpWidget::enableButtons(bool record_found, bool enable_recompute)
26 {
27  ui_->pushbutton_recompute->setEnabled(enable_recompute);
28  ui_->pushbutton_keep_record->setEnabled(record_found);
29 }
30 
32 {
33  this->close();
34 }
35 
37 {
39 }
void enableButtons(bool record_found, bool enable_recompute=true)


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