mirror of
https://github.com/yusufipk/dikte.git
synced 2026-09-11 10:56:10 +00:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6a15fda93 | ||
|
|
294d974513 | ||
|
|
c967a07512 | ||
|
|
95cd56bf65 | ||
|
|
f96020bfe9 | ||
|
|
75c8c350f9 |
@@ -1,8 +1,13 @@
|
|||||||
name: UI screenshots
|
name: UI screenshots
|
||||||
|
run-name: "UI screenshots (${{ inputs.pr && format('PR #{0}', inputs.pr) || github.ref_name }})"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
pr:
|
||||||
|
description: "PR number to capture (leave empty for the selected branch)"
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -26,6 +31,9 @@ jobs:
|
|||||||
QT_SCALE_FACTOR: "2"
|
QT_SCALE_FACTOR: "2"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ inputs.pr && format('refs/pull/{0}/head', inputs.pr) || github.ref }}
|
||||||
|
persist-credentials: false
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.13"
|
python-version: "3.13"
|
||||||
@@ -55,4 +63,4 @@ jobs:
|
|||||||
name: ui-screenshots-${{ runner.os }}
|
name: ui-screenshots-${{ runner.os }}
|
||||||
path: ui-screenshots/
|
path: ui-screenshots/
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 14
|
retention-days: 90
|
||||||
|
|||||||
+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