mirror of
https://github.com/yusufipk/dikte.git
synced 2026-09-11 19:06:11 +00:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c967a07512 | ||
|
|
95cd56bf65 | ||
|
|
f96020bfe9 | ||
|
|
75c8c350f9 |
@@ -1,8 +1,13 @@
|
||||
name: UI screenshots
|
||||
run-name: "UI screenshots (${{ inputs.pr && format('PR #{0}', inputs.pr) || github.ref_name }})"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
pr:
|
||||
description: "PR number to capture (leave empty for the selected branch)"
|
||||
required: false
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -26,6 +31,9 @@ jobs:
|
||||
QT_SCALE_FACTOR: "2"
|
||||
steps:
|
||||
- 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
|
||||
with:
|
||||
python-version: "3.13"
|
||||
@@ -55,4 +63,4 @@ jobs:
|
||||
name: ui-screenshots-${{ runner.os }}
|
||||
path: ui-screenshots/
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
retention-days: 90
|
||||
|
||||
+2
-1
@@ -311,7 +311,8 @@ class HomeWindow(QWidget):
|
||||
layout.addWidget(_button(t("Back to dictation"), lambda: self.show_mode("dictation")))
|
||||
layout.addWidget(self.settings.task_pages["history"], 1)
|
||||
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)
|
||||
return page
|
||||
|
||||
|
||||
@@ -1985,6 +1985,7 @@ class SettingsWindow(QDialog):
|
||||
reload_ = QPushButton(t("Reload"))
|
||||
reload_.clicked.connect(self._load_minutes)
|
||||
row = QHBoxLayout()
|
||||
row.addStretch()
|
||||
row.addWidget(copy)
|
||||
row.addWidget(self.minutes_retry)
|
||||
row.addWidget(folder)
|
||||
@@ -2188,16 +2189,13 @@ class SettingsWindow(QDialog):
|
||||
clear.clicked.connect(self._clear_history)
|
||||
reload_ = QPushButton(t("Reload"))
|
||||
reload_.clicked.connect(self._load_history)
|
||||
row = QHBoxLayout()
|
||||
self.history_actions = row = QHBoxLayout()
|
||||
row.addWidget(copy)
|
||||
row.addWidget(delete)
|
||||
row.addWidget(clear)
|
||||
row.addWidget(reload_)
|
||||
row.addStretch()
|
||||
layout.addLayout(row)
|
||||
more = QHBoxLayout()
|
||||
more.addWidget(clear)
|
||||
more.addWidget(reload_)
|
||||
more.addStretch()
|
||||
layout.addLayout(more)
|
||||
return page
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user