|
|
@ -97,7 +97,6 @@ class Browser: public QMainWindow, protected Ui::Browser { |
|
|
|
_find->add(actionClearFind); |
|
|
|
_find->add(actionClearFind); |
|
|
|
_find->hide(); |
|
|
|
_find->hide(); |
|
|
|
statusBar()->addPermanentWidget(_progress = new QProgressBar()); |
|
|
|
statusBar()->addPermanentWidget(_progress = new QProgressBar()); |
|
|
|
_progress -> setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); |
|
|
|
|
|
|
|
QPushButton* btn(0); |
|
|
|
QPushButton* btn(0); |
|
|
|
statusBar()->addPermanentWidget |
|
|
|
statusBar()->addPermanentWidget |
|
|
|
(btn=new QPushButton(QIcon(":/icons/16x16/butt16_09.png"), "")); |
|
|
|
(btn=new QPushButton(QIcon(":/icons/16x16/butt16_09.png"), "")); |
|
|
@ -112,7 +111,7 @@ class Browser: public QMainWindow, protected Ui::Browser { |
|
|
|
_zoom->setValue(100); |
|
|
|
_zoom->setValue(100); |
|
|
|
_zoom->setSingleStep(1); |
|
|
|
_zoom->setSingleStep(1); |
|
|
|
_zoom->setPageStep(10); |
|
|
|
_zoom->setPageStep(10); |
|
|
|
// _zoom->setTickPosition(QSlider::TicksAbove);
|
|
|
|
_zoom->setTickPosition(QSlider::TicksAbove); |
|
|
|
assert(connect(_zoom, SIGNAL(valueChanged(int)), SLOT(zoom(int)))); |
|
|
|
assert(connect(_zoom, SIGNAL(valueChanged(int)), SLOT(zoom(int)))); |
|
|
|
if (_kiosk||!_quirks) { |
|
|
|
if (_kiosk||!_quirks) { |
|
|
|
_toolbar->addAction(actionReload); |
|
|
|
_toolbar->addAction(actionReload); |
|
|
|