~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/gui2/viewer/config_ui.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-05-14 18:17:50 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: package-import@ubuntu.com-20140514181750-efj1wymey2vb4cao
Tags: upstream-1.36.0+dfsg
ImportĀ upstreamĀ versionĀ 1.36.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/viewer/config.ui'
4
4
#
5
 
# Created: Fri Dec 20 09:02:35 2013
6
 
#      by: PyQt4 UI code generator 4.10.3
 
5
# Created: Wed May  7 21:56:11 2014
 
6
#      by: PyQt4 UI code generator 4.10.4
7
7
#
8
8
# WARNING! All changes made in this file will be lost!
9
9
 
182
182
        self.max_fs_width.setMaximum(10000)
183
183
        self.max_fs_width.setObjectName(_fromUtf8("max_fs_width"))
184
184
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.max_fs_width)
185
 
        self.opt_fullscreen_clock = QtGui.QCheckBox(self.page_2)
186
 
        self.opt_fullscreen_clock.setObjectName(_fromUtf8("opt_fullscreen_clock"))
187
 
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.opt_fullscreen_clock)
188
185
        self.opt_fullscreen_pos = QtGui.QCheckBox(self.page_2)
189
186
        self.opt_fullscreen_pos.setObjectName(_fromUtf8("opt_fullscreen_pos"))
190
 
        self.formLayout.setWidget(5, QtGui.QFormLayout.SpanningRole, self.opt_fullscreen_pos)
 
187
        self.formLayout.setWidget(6, QtGui.QFormLayout.SpanningRole, self.opt_fullscreen_pos)
191
188
        self.opt_fullscreen_scrollbar = QtGui.QCheckBox(self.page_2)
192
189
        self.opt_fullscreen_scrollbar.setObjectName(_fromUtf8("opt_fullscreen_scrollbar"))
193
 
        self.formLayout.setWidget(4, QtGui.QFormLayout.SpanningRole, self.opt_fullscreen_scrollbar)
 
190
        self.formLayout.setWidget(5, QtGui.QFormLayout.SpanningRole, self.opt_fullscreen_scrollbar)
194
191
        self.opt_start_in_fullscreen = QtGui.QCheckBox(self.page_2)
195
192
        self.opt_start_in_fullscreen.setObjectName(_fromUtf8("opt_start_in_fullscreen"))
196
 
        self.formLayout.setWidget(3, QtGui.QFormLayout.SpanningRole, self.opt_start_in_fullscreen)
 
193
        self.formLayout.setWidget(4, QtGui.QFormLayout.SpanningRole, self.opt_start_in_fullscreen)
197
194
        self.opt_show_fullscreen_help = QtGui.QCheckBox(self.page_2)
198
195
        self.opt_show_fullscreen_help.setObjectName(_fromUtf8("opt_show_fullscreen_help"))
199
 
        self.formLayout.setWidget(2, QtGui.QFormLayout.SpanningRole, self.opt_show_fullscreen_help)
 
196
        self.formLayout.setWidget(3, QtGui.QFormLayout.SpanningRole, self.opt_show_fullscreen_help)
 
197
        self.label_24 = QtGui.QLabel(self.page_2)
 
198
        self.label_24.setObjectName(_fromUtf8("label_24"))
 
199
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_24)
 
200
        self.opt_fullscreen_clock = QtGui.QCheckBox(self.page_2)
 
201
        self.opt_fullscreen_clock.setObjectName(_fromUtf8("opt_fullscreen_clock"))
 
202
        self.formLayout.setWidget(2, QtGui.QFormLayout.SpanningRole, self.opt_fullscreen_clock)
 
203
        self.max_fs_height = QtGui.QSpinBox(self.page_2)
 
204
        self.max_fs_height.setMinimum(100)
 
205
        self.max_fs_height.setMaximum(10000)
 
206
        self.max_fs_height.setSingleStep(25)
 
207
        self.max_fs_height.setObjectName(_fromUtf8("max_fs_height"))
 
208
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.max_fs_height)
200
209
        self.toolBox.addItem(self.page_2, _fromUtf8(""))
201
210
        self.page_6 = QtGui.QWidget()
202
211
        self.page_6.setGeometry(QtCore.QRect(0, 0, 811, 380))
381
390
 
382
391
        self.retranslateUi(Dialog)
383
392
        self.tabs.setCurrentIndex(0)
384
 
        self.toolBox.setCurrentIndex(0)
 
393
        self.toolBox.setCurrentIndex(2)
385
394
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
386
395
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject)
387
396
        QtCore.QObject.connect(self.hyphenate, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.hyphenate_default_lang.setEnabled)
425
434
        self.label_7.setText(_("Maximum text width in &fullscreen:"))
426
435
        self.max_fs_width.setToolTip(_("Set the maximum width that the book\'s text and pictures will take when in fullscreen mode. This allows you to read the book text without it becoming too wide."))
427
436
        self.max_fs_width.setSuffix(_(" px"))
428
 
        self.opt_fullscreen_clock.setText(_("Show &clock in full screen mode"))
429
437
        self.opt_fullscreen_pos.setText(_("Show reading &position in full screen mode"))
430
438
        self.opt_fullscreen_scrollbar.setText(_("Show &scrollbar in full screen mode"))
431
439
        self.opt_start_in_fullscreen.setText(_("&Start viewer in full screen mode"))
432
440
        self.opt_show_fullscreen_help.setText(_("Show &help message when starting full screen mode"))
 
441
        self.label_24.setText(_("Maximum text height in fullscreen (paged mode):"))
 
442
        self.opt_fullscreen_clock.setText(_("Show &clock in full screen mode"))
 
443
        self.max_fs_height.setSpecialValueText(_("Disabled"))
 
444
        self.max_fs_height.setSuffix(_(" px"))
433
445
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_2), _("F&ull screen options"))
434
446
        self.label_14.setText(_("Background color:"))
435
447
        self.background_color_sample.setText(_("Sample"))