Commit 4c23751f authored by Claes Sjofors's avatar Claes Sjofors Committed by Claes Sjöfors

Xtt eventlist export in Qt

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