Add end caps to the yellow book in the logo
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 54 KiB |
BIN
icons/viewer.ico
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 20 KiB |
@ -9,7 +9,7 @@ import copy, sys
|
||||
|
||||
from PyQt5.Qt import Qt, QTableWidgetItem, QIcon
|
||||
|
||||
from calibre.gui2 import gprefs
|
||||
from calibre.gui2 import gprefs, Application
|
||||
from calibre.gui2.preferences import ConfigWidgetBase, test_widget
|
||||
from calibre.gui2.preferences.columns_ui import Ui_Form
|
||||
from calibre.gui2.preferences.create_custom_column import CreateCustomColumn
|
||||
@ -91,6 +91,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
for row, col in enumerate(colmap):
|
||||
self.setup_row(self.field_metadata, row, col)
|
||||
|
||||
|
||||
self.restore_geometry()
|
||||
self.opt_columns.blockSignals(False)
|
||||
|
||||
@ -271,6 +272,5 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from PyQt5.Qt import QApplication
|
||||
app = QApplication([])
|
||||
app = Application([])
|
||||
test_widget('Interface', 'Custom Columns')
|
||||
|
@ -32,13 +32,14 @@ class SplashScreen(QSplashScreen):
|
||||
t.translate(330, 450)
|
||||
painter.setTransform(t)
|
||||
painter.rotate(-98)
|
||||
left_margin = 25
|
||||
if iswindows:
|
||||
# On windows Qt cannot anti-alias rotated text
|
||||
p = QPainterPath()
|
||||
p.addText(0, 0, f, self.message())
|
||||
p.addText(left_margin, 0, f, self.message())
|
||||
painter.fillPath(p, QBrush(Qt.black))
|
||||
else:
|
||||
painter.drawText(0, 0, self.message())
|
||||
painter.drawText(left_margin, 0, self.message())
|
||||
painter.restore()
|
||||
|
||||
def show_message(self, msg):
|
||||
|