bouquin 0.1.5__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.5 → bouquin-0.1.7}/PKG-INFO +2 -1
- {bouquin-0.1.5 → bouquin-0.1.7}/README.md +1 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/history_dialog.py +2 -2
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/settings_dialog.py +12 -6
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/toolbar.py +1 -1
- {bouquin-0.1.5 → bouquin-0.1.7}/pyproject.toml +1 -1
- {bouquin-0.1.5 → bouquin-0.1.7}/LICENSE +0 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/__init__.py +0 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/__main__.py +0 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/db.py +0 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/editor.py +0 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/key_prompt.py +0 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/main.py +0 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/main_window.py +0 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/save_dialog.py +0 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/search.py +0 -0
- {bouquin-0.1.5 → bouquin-0.1.7}/bouquin/settings.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bouquin
|
|
3
|
-
Version: 0.1.
|
|
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
|
|
@@ -42,6 +42,7 @@ There is deliberately no network connectivity or syncing intended.
|
|
|
42
42
|
* Data is encrypted at rest
|
|
43
43
|
* Encryption key is prompted for and never stored, unless user chooses to via Settings
|
|
44
44
|
* Every 'page' is linked to the calendar day
|
|
45
|
+
* All changes are version controlled, with ability to view/diff versions and revert
|
|
45
46
|
* Text is HTML with basic styling
|
|
46
47
|
* Search
|
|
47
48
|
* Automatic periodic saving (or explicitly save)
|
|
@@ -22,6 +22,7 @@ There is deliberately no network connectivity or syncing intended.
|
|
|
22
22
|
* Data is encrypted at rest
|
|
23
23
|
* Encryption key is prompted for and never stored, unless user chooses to via Settings
|
|
24
24
|
* Every 'page' is linked to the calendar day
|
|
25
|
+
* All changes are version controlled, with ability to view/diff versions and revert
|
|
25
26
|
* Text is HTML with basic styling
|
|
26
27
|
* Search
|
|
27
28
|
* Automatic periodic saving (or explicitly save)
|
|
@@ -77,14 +77,14 @@ class HistoryDialog(QDialog):
|
|
|
77
77
|
self.list.currentItemChanged.connect(self._on_select)
|
|
78
78
|
top.addWidget(self.list, 1)
|
|
79
79
|
|
|
80
|
-
# Right: tabs (Preview / Diff
|
|
80
|
+
# Right: tabs (Preview / Diff)
|
|
81
81
|
self.tabs = QTabWidget()
|
|
82
82
|
self.preview = QTextBrowser()
|
|
83
83
|
self.preview.setOpenExternalLinks(True)
|
|
84
84
|
self.diff = QTextBrowser()
|
|
85
85
|
self.diff.setOpenExternalLinks(False)
|
|
86
86
|
self.tabs.addTab(self.preview, "Preview")
|
|
87
|
-
self.tabs.addTab(self.diff, "Diff
|
|
87
|
+
self.tabs.addTab(self.diff, "Diff")
|
|
88
88
|
self.tabs.setMinimumSize(500, 650)
|
|
89
89
|
top.addWidget(self.tabs, 2)
|
|
90
90
|
|
|
@@ -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
|