Commit b1850f04 authored by Christoffer Ackelman's avatar Christoffer Ackelman

Fixed statusmon_nodelist

parent 26251f44
...@@ -225,6 +225,41 @@ void NodelistQtWidget::focusInEvent(QFocusEvent *event) ...@@ -225,6 +225,41 @@ void NodelistQtWidget::focusInEvent(QFocusEvent *event)
QWidget::focusInEvent(event); QWidget::focusInEvent(event);
} }
void NodelistQtWidget::activate_add_node()
{
nodelist->activate_add_node();
}
void NodelistQtWidget::activate_modify_node()
{
nodelist->activate_modify_node();
}
void NodelistQtWidget::activate_remove_node()
{
nodelist->activate_remove_node();
}
void NodelistQtWidget::activate_open_xtt()
{
nodelist->activate_open_xtt();
}
void NodelistQtWidget::activate_open_opplace()
{
nodelist->activate_open_opplace();
}
void NodelistQtWidget::activate_open_rtmon()
{
nodelist->activate_open_rtmon();
}
void NodelistQtWidget::activate_save()
{
nodelist->activate_save();
}
void NodelistQtWidget::activate_show_events() void NodelistQtWidget::activate_show_events()
{ {
nodelist->msg_window->map(); nodelist->msg_window->map();
...@@ -295,6 +330,11 @@ void NodelistQtWidget::activate_zoom_reset() ...@@ -295,6 +330,11 @@ void NodelistQtWidget::activate_zoom_reset()
nodelist->nodelistnav->unzoom(); nodelist->nodelistnav->unzoom();
} }
void NodelistQtWidget::activate_help()
{
nodelist->activate_help();
}
void NodelistQt::open_add_input_dialog(const char *text, const char *text2, void NodelistQt::open_add_input_dialog(const char *text, const char *text2,
const char *text3, const char *title, const char *text3, const char *title,
const char *init_text, const char *init_text,
...@@ -368,11 +408,11 @@ NodelistInputDialogQt::NodelistInputDialogQt(NodelistQt *parent_ctx, ...@@ -368,11 +408,11 @@ NodelistInputDialogQt::NodelistInputDialogQt(NodelistQt *parent_ctx,
QPushButton *ok = new QPushButton(fl("Ok")); QPushButton *ok = new QPushButton(fl("Ok"));
ok->setFixedSize(70, 25); ok->setFixedSize(70, 25);
connect(ok, SIGNAL(clicked()), this, SLOT(activate_ok)); connect(ok, SIGNAL(clicked()), this, SLOT(activate_ok()));
QPushButton *cancel = new QPushButton(fl("Cancel")); QPushButton *cancel = new QPushButton(fl("Cancel"));
cancel->setFixedSize(70, 25); cancel->setFixedSize(70, 25);
connect(cancel, SIGNAL(clicked()), this, SLOT(activate_cancel)); connect(cancel, SIGNAL(clicked()), this, SLOT(activate_cancel()));
QVBoxLayout *vboxtext = new QVBoxLayout(); QVBoxLayout *vboxtext = new QVBoxLayout();
vboxtext->addWidget(text); vboxtext->addWidget(text);
......
...@@ -118,6 +118,13 @@ protected: ...@@ -118,6 +118,13 @@ protected:
void closeEvent(QCloseEvent *event); void closeEvent(QCloseEvent *event);
public slots: public slots:
void activate_add_node();
void activate_modify_node();
void activate_remove_node();
void activate_open_xtt();
void activate_open_opplace();
void activate_open_rtmon();
void activate_save();
void activate_show_events(); void activate_show_events();
void activate_pop_events(); void activate_pop_events();
void activate_gui_motif(); void activate_gui_motif();
...@@ -132,6 +139,7 @@ public slots: ...@@ -132,6 +139,7 @@ public slots:
void activate_zoom_in(); void activate_zoom_in();
void activate_zoom_out(); void activate_zoom_out();
void activate_zoom_reset(); void activate_zoom_reset();
void activate_help();
private: private:
NodelistQt *nodelist; NodelistQt *nodelist;
......
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