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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bouquin
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher.
5
5
  Home-page: https://git.mig5.net/mig5/bouquin
6
6
  License: GPL-3.0-or-later
@@ -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+N")
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))
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "bouquin"
3
- version = "0.1.6"
3
+ version = "0.1.7"
4
4
  description = "Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher."
5
5
  authors = ["Miguel Jacq <mig@mig5.net>"]
6
6
  readme = "README.md"
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