shortcut for time log. adjust checkbox size again. Use icon for Images in toolbar
This commit is contained in:
parent
55b78833ac
commit
ef10e0aab7
3 changed files with 4 additions and 2 deletions
|
|
@ -228,6 +228,7 @@ class MainWindow(QMainWindow):
|
|||
act_stats.triggered.connect(self._open_statistics)
|
||||
file_menu.addAction(act_stats)
|
||||
act_time_report = QAction(strings._("time_log_report"), self)
|
||||
act_time_report.setShortcut("Ctrl+Shift+L")
|
||||
act_time_report.triggered.connect(self._open_time_report)
|
||||
file_menu.addAction(act_time_report)
|
||||
file_menu.addSeparator()
|
||||
|
|
|
|||
|
|
@ -106,7 +106,8 @@ class MarkdownHighlighter(QSyntaxHighlighter):
|
|||
base_size = 10.0 # fallback
|
||||
# Checkboxes: make them a bit bigger so they stand out
|
||||
self.checkbox_format = QTextCharFormat()
|
||||
self.checkbox_format.setFontPointSize(base_size * 1.4)
|
||||
self.checkbox_format.setFontPointSize(base_size * 1.3)
|
||||
self.checkbox_format.setVerticalAlignment(QTextCharFormat.AlignMiddle)
|
||||
|
||||
# Bullets
|
||||
self.bullet_format = QTextCharFormat()
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ class ToolBar(QToolBar):
|
|||
self.actAlarm.triggered.connect(self.alarmRequested)
|
||||
|
||||
# Images
|
||||
self.actInsertImg = QAction(strings._("images"), self)
|
||||
self.actInsertImg = QAction("📸", self)
|
||||
self.actInsertImg.setToolTip(strings._("insert_images"))
|
||||
self.actInsertImg.setShortcut("Ctrl+Shift+I")
|
||||
self.actInsertImg.triggered.connect(self.insertImageRequested)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue