kopia lustrzana https://gitlab.com/Teuniz/DSRemote
Work in progress.
rodzic
fda09bb183
commit
924b114ef2
|
@ -2063,6 +2063,16 @@ void UI_Mainwindow::shift_page_right()
|
|||
}
|
||||
|
||||
|
||||
void UI_Mainwindow::zoom_in()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void UI_Mainwindow::zoom_out()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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 *);
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue