diff --git a/bouquin/main_window.py b/bouquin/main_window.py index 4001fdb..c2f3d40 100644 --- a/bouquin/main_window.py +++ b/bouquin/main_window.py @@ -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() diff --git a/bouquin/markdown_highlighter.py b/bouquin/markdown_highlighter.py index 35b0045..9fcbcc3 100644 --- a/bouquin/markdown_highlighter.py +++ b/bouquin/markdown_highlighter.py @@ -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() diff --git a/bouquin/toolbar.py b/bouquin/toolbar.py index 9764246..8179925 100644 --- a/bouquin/toolbar.py +++ b/bouquin/toolbar.py @@ -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)