at previous and next buttons in the title bar

This commit is contained in:
Rafael 2016-11-01 14:19:22 +01:00
parent eafa1af45c
commit c6d84a7541
5 changed files with 141 additions and 70 deletions

View file

@ -110,6 +110,9 @@ void SnapmaticWidget::on_cmdView_clicked()
QObject::connect(picDialog, SIGNAL(nextPictureRequested()), this, SLOT(dialogNextPictureRequested()));
QObject::connect(picDialog, SIGNAL(previousPictureRequested()), this, SLOT(dialogPreviousPictureRequested()));
// add previous next buttons
picDialog->addPreviousNextButtons();
// show picture dialog
picDialog->show();
picDialog->setMinimumSize(picDialog->size());