mirror of
https://github.com/yusufipk/dikte.git
synced 2026-09-11 19:06:11 +00:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6a15fda93 | ||
|
|
294d974513 | ||
|
|
c967a07512 | ||
|
|
95cd56bf65 |
+1
-1
@@ -10,4 +10,4 @@ business loading Qt to answer one question.
|
|||||||
# both the .dmg's Info.plist and the AppImage's file name are built from it. A
|
# both the .dmg's Info.plist and the AppImage's file name are built from it. A
|
||||||
# build off master rather than off a tag appends the commit to it, so that a
|
# build off master rather than off a tag appends the commit to it, so that a
|
||||||
# bug report from someone running "latest" names a commit.
|
# bug report from someone running "latest" names a commit.
|
||||||
__version__ = "1.3.0"
|
__version__ = "2.0.0"
|
||||||
|
|||||||
+2
-1
@@ -311,7 +311,8 @@ class HomeWindow(QWidget):
|
|||||||
layout.addWidget(_button(t("Back to dictation"), lambda: self.show_mode("dictation")))
|
layout.addWidget(_button(t("Back to dictation"), lambda: self.show_mode("dictation")))
|
||||||
layout.addWidget(self.settings.task_pages["history"], 1)
|
layout.addWidget(self.settings.task_pages["history"], 1)
|
||||||
self.settings.task_pages["history"].show()
|
self.settings.task_pages["history"].show()
|
||||||
layout.addWidget(_button(t("Open selected text"), self._open_selected))
|
actions = self.settings.history_actions
|
||||||
|
actions.insertWidget(actions.count() - 1, _button(t("Open selected text"), self._open_selected))
|
||||||
self.settings.history.itemDoubleClicked.connect(self._open_selected)
|
self.settings.history.itemDoubleClicked.connect(self._open_selected)
|
||||||
return page
|
return page
|
||||||
|
|
||||||
|
|||||||
@@ -1985,6 +1985,7 @@ class SettingsWindow(QDialog):
|
|||||||
reload_ = QPushButton(t("Reload"))
|
reload_ = QPushButton(t("Reload"))
|
||||||
reload_.clicked.connect(self._load_minutes)
|
reload_.clicked.connect(self._load_minutes)
|
||||||
row = QHBoxLayout()
|
row = QHBoxLayout()
|
||||||
|
row.addStretch()
|
||||||
row.addWidget(copy)
|
row.addWidget(copy)
|
||||||
row.addWidget(self.minutes_retry)
|
row.addWidget(self.minutes_retry)
|
||||||
row.addWidget(folder)
|
row.addWidget(folder)
|
||||||
@@ -2188,16 +2189,13 @@ class SettingsWindow(QDialog):
|
|||||||
clear.clicked.connect(self._clear_history)
|
clear.clicked.connect(self._clear_history)
|
||||||
reload_ = QPushButton(t("Reload"))
|
reload_ = QPushButton(t("Reload"))
|
||||||
reload_.clicked.connect(self._load_history)
|
reload_.clicked.connect(self._load_history)
|
||||||
row = QHBoxLayout()
|
self.history_actions = row = QHBoxLayout()
|
||||||
row.addWidget(copy)
|
row.addWidget(copy)
|
||||||
row.addWidget(delete)
|
row.addWidget(delete)
|
||||||
|
row.addWidget(clear)
|
||||||
|
row.addWidget(reload_)
|
||||||
row.addStretch()
|
row.addStretch()
|
||||||
layout.addLayout(row)
|
layout.addLayout(row)
|
||||||
more = QHBoxLayout()
|
|
||||||
more.addWidget(clear)
|
|
||||||
more.addWidget(reload_)
|
|
||||||
more.addStretch()
|
|
||||||
layout.addLayout(more)
|
|
||||||
return page
|
return page
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user