Work in progress.

merge-requests/1/head
Teuniz 2015-06-12 14:20:11 +02:00
rodzic fda09bb183
commit 924b114ef2
3 zmienionych plików z 25 dodań i 1 usunięć

Wyświetl plik

@ -2063,6 +2063,16 @@ void UI_Mainwindow::shift_page_right()
}
void UI_Mainwindow::zoom_in()
{
}
void UI_Mainwindow::zoom_out()
{
}

Wyświetl plik

@ -191,7 +191,9 @@ private:
QAction *former_page_act,
*shift_page_left_act,
*shift_page_right_act,
*next_page_act;
*next_page_act,
*zoom_in_act,
*zoom_out_act;
struct tmcdev *device;
@ -355,6 +357,8 @@ private slots:
void shift_page_left();
void shift_page_right();
void next_page();
void zoom_in();
void zoom_out();
protected:
void closeEvent(QCloseEvent *);

Wyświetl plik

@ -349,6 +349,16 @@ UI_Mainwindow::UI_Mainwindow()
connect(next_page_act, SIGNAL(triggered()), this, SLOT(next_page()));
addAction(next_page_act);
zoom_in_act = new QAction(this);
zoom_in_act->setShortcut(QKeySequence::ZoomIn);
connect(zoom_in_act, SIGNAL(triggered()), this, SLOT(zoom_in()));
addAction(zoom_in_act);
zoom_out_act = new QAction(this);
zoom_out_act->setShortcut(QKeySequence::ZoomOut);
connect(zoom_out_act, SIGNAL(triggered()), this, SLOT(zoom_out()));
addAction(zoom_out_act);
DPRwidget->setEnabled(false);
recent_dir[0] = 0;