bouquin 0.1.6__tar.gz → 0.1.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bouquin-0.1.6 → bouquin-0.1.7}/PKG-INFO +1 -1
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/main_window.py +2 -2
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/settings_dialog.py +12 -6
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/toolbar.py +1 -1
- {bouquin-0.1.6 → bouquin-0.1.7}/pyproject.toml +1 -1
- {bouquin-0.1.6 → bouquin-0.1.7}/LICENSE +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/README.md +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/__init__.py +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/__main__.py +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/db.py +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/editor.py +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/history_dialog.py +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/key_prompt.py +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/main.py +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/save_dialog.py +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/search.py +0 -0
- {bouquin-0.1.6 → bouquin-0.1.7}/bouquin/settings.py +0 -0
|
@@ -210,14 +210,14 @@ class MainWindow(QMainWindow):
|
|
|
210
210
|
# Navigate menu with next/previous/today
|
|
211
211
|
nav_menu = mb.addMenu("&Navigate")
|
|
212
212
|
act_prev = QAction("Previous Day", self)
|
|
213
|
-
act_prev.setShortcut("Ctrl
|
|
213
|
+
act_prev.setShortcut("Ctrl+P")
|
|
214
214
|
act_prev.setShortcutContext(Qt.ApplicationShortcut)
|
|
215
215
|
act_prev.triggered.connect(lambda: self._adjust_day(-1))
|
|
216
216
|
nav_menu.addAction(act_prev)
|
|
217
217
|
self.addAction(act_prev)
|
|
218
218
|
|
|
219
219
|
act_next = QAction("Next Day", self)
|
|
220
|
-
act_next.setShortcut("Ctrl
|
|
220
|
+
act_next.setShortcut("Ctrl+N")
|
|
221
221
|
act_next.setShortcutContext(Qt.ApplicationShortcut)
|
|
222
222
|
act_next.triggered.connect(lambda: self._adjust_day(1))
|
|
223
223
|
nav_menu.addAction(act_next)
|
|
@@ -93,12 +93,6 @@ class SettingsDialog(QDialog):
|
|
|
93
93
|
line.setFrameShadow(QFrame.Sunken)
|
|
94
94
|
enc.addWidget(line)
|
|
95
95
|
|
|
96
|
-
# Change key button
|
|
97
|
-
self.rekey_btn = QPushButton("Change key")
|
|
98
|
-
self.rekey_btn.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
|
|
99
|
-
self.rekey_btn.clicked.connect(self._change_key)
|
|
100
|
-
enc.addWidget(self.rekey_btn, 0, Qt.AlignLeft)
|
|
101
|
-
|
|
102
96
|
self.idle_spin = QSpinBox()
|
|
103
97
|
self.idle_spin.setRange(0, 240)
|
|
104
98
|
self.idle_spin.setSingleStep(1)
|
|
@@ -124,6 +118,18 @@ class SettingsDialog(QDialog):
|
|
|
124
118
|
spin_row.addWidget(self.idle_spin_label)
|
|
125
119
|
enc.addLayout(spin_row)
|
|
126
120
|
|
|
121
|
+
line2 = QFrame()
|
|
122
|
+
line2.setFrameShape(QFrame.HLine)
|
|
123
|
+
line2.setFrameShadow(QFrame.Sunken)
|
|
124
|
+
enc.addWidget(line2)
|
|
125
|
+
|
|
126
|
+
# Change key button
|
|
127
|
+
self.rekey_btn = QPushButton("Change encryption key")
|
|
128
|
+
self.rekey_btn.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
|
|
129
|
+
self.rekey_btn.clicked.connect(self._change_key)
|
|
130
|
+
|
|
131
|
+
enc.addWidget(self.rekey_btn, 0, Qt.AlignLeft)
|
|
132
|
+
|
|
127
133
|
# Put the group into the form so it spans the full width nicely
|
|
128
134
|
form.addRow(enc_group)
|
|
129
135
|
|
|
@@ -53,7 +53,7 @@ class ToolBar(QToolBar):
|
|
|
53
53
|
self.actH1.setShortcut("Ctrl+1")
|
|
54
54
|
self.actH2.setShortcut("Ctrl+2")
|
|
55
55
|
self.actH3.setShortcut("Ctrl+3")
|
|
56
|
-
self.actNormal.setShortcut("Ctrl+
|
|
56
|
+
self.actNormal.setShortcut("Ctrl+O")
|
|
57
57
|
self.actH1.triggered.connect(lambda: self.headingRequested.emit(24))
|
|
58
58
|
self.actH2.triggered.connect(lambda: self.headingRequested.emit(18))
|
|
59
59
|
self.actH3.triggered.connect(lambda: self.headingRequested.emit(14))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|