Commit 1afd87b0 authored by Claes Sjofors's avatar Claes Sjofors

Xtt eventlist export in Qt

parent 7f47462a
...@@ -88,6 +88,8 @@ HistQt::HistQt(void* hist_parent_ctx, char* hist_name, pwr_tAttrRef* arp, ...@@ -88,6 +88,8 @@ HistQt::HistQt(void* hist_parent_ctx, char* hist_name, pwr_tAttrRef* arp,
QMenu* file = menu_bar->addMenu(translate_utf8("&File")); QMenu* file = menu_bar->addMenu(translate_utf8("&File"));
addMenuItem( addMenuItem(
toplevel, file, "&Print", SLOT(activate_print()), "", "document-print"); toplevel, file, "&Print", SLOT(activate_print()), "", "document-print");
addMenuItem(
toplevel, file, "&Export", SLOT(activate_export()));
addMenuItem( addMenuItem(
toplevel, file, "&Close", SLOT(close()), "CTRL+W", "window-close"); toplevel, file, "&Close", SLOT(close()), "CTRL+W", "window-close");
...@@ -396,6 +398,11 @@ void HistQtWidget::activate_print() ...@@ -396,6 +398,11 @@ void HistQtWidget::activate_print()
hist->activate_print(); hist->activate_print();
} }
void HistQtWidget::activate_export()
{
hist->activate_export();
}
void HistQtWidget::activate_zoom_in() void HistQtWidget::activate_zoom_in()
{ {
hist->hist->zoom(1.2); hist->hist->zoom(1.2);
......
...@@ -106,6 +106,7 @@ protected: ...@@ -106,6 +106,7 @@ protected:
public slots: public slots:
void activate_print(); void activate_print();
void activate_export();
void activate_zoom_in(); void activate_zoom_in();
void activate_zoom_out(); void activate_zoom_out();
void activate_zoom_reset(); void activate_zoom_reset();
......
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