mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
changed version number 6.5.0
fixed QLineEdit focus in goto_dialog
This commit is contained in:
parent
5f58a1cba2
commit
835c0fa0e7
@ -8,6 +8,7 @@ La edici
|
||||
Corregido el color de fondo en la lupa
|
||||
Nuevo botón para ajustar a lo alto
|
||||
Eliminada la opción always on top
|
||||
Mostrar en carpeta contenedora arreglado en Windows y MacOSX
|
||||
|
||||
6.4 (No pública)
|
||||
Normalizado el renderizado de páginas en modo doble página
|
||||
|
@ -54,6 +54,9 @@ void GoToDialog::setupUI()
|
||||
|
||||
setWindowTitle(tr("Go to..."));
|
||||
setModal (true);
|
||||
|
||||
pageNumber->setFocusPolicy(Qt::StrongFocus);
|
||||
pageNumber->setFocus();
|
||||
}
|
||||
|
||||
void GoToDialog::goTo()
|
||||
@ -73,3 +76,9 @@ void GoToDialog::setNumPages(unsigned int numPages)
|
||||
numPagesLabel->setText(tr("Total pages : ")+QString::number(numPages));
|
||||
v->setTop(numPages);
|
||||
}
|
||||
|
||||
void GoToDialog::show()
|
||||
{
|
||||
pageNumber->setFocus();
|
||||
QDialog::show();
|
||||
}
|
@ -23,6 +23,7 @@
|
||||
public slots:
|
||||
void goTo();
|
||||
void setNumPages(unsigned int numPages);
|
||||
void show();
|
||||
signals:
|
||||
void goToPage(unsigned int page);
|
||||
};
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef __YACREADER_GLOBAL_H
|
||||
#define __YACREADER_GLOBAL_H
|
||||
|
||||
#define VERSION "6.2.0"
|
||||
#define VERSION "6.5.0"
|
||||
|
||||
#define PATH "PATH"
|
||||
#define MAG_GLASS_SIZE "MAG_GLASS_SIZE"
|
||||
|
Loading…
Reference in New Issue
Block a user