From 5b5dba3774eaa4cc7e2bd39e7f9a6c62c8b0beca Mon Sep 17 00:00:00 2001 From: LorenEteval Date: Fri, 19 Jun 2026 22:56:37 +0800 Subject: [PATCH] Update application icons Signed-off-by: LorenEteval --- Furious/Widget/UserServersQTableView.py | 2 +- Furious/Window/AppMainWindow.py | 8 +++++++- Furious/Window/UserRoutingWindow.py | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Furious/Widget/UserServersQTableView.py b/Furious/Widget/UserServersQTableView.py index 8de6b7a..bce7c11 100644 --- a/Furious/Widget/UserServersQTableView.py +++ b/Furious/Widget/UserServersQTableView.py @@ -1420,7 +1420,7 @@ class UserServersQTableView( self.customizeJSONConfigActionRef = AppQAction( _('Customize JSON Configuration...'), - icon=bootstrapIcon('pencil-square.svg'), + icon=bootstrapIcon('braces.svg'), callback=lambda: self.editSelectedItemConfiguration(), shortcut=QtCore.QKeyCombination( QtCore.Qt.KeyboardModifier.ControlModifier, diff --git a/Furious/Window/AppMainWindow.py b/Furious/Window/AppMainWindow.py index 6a2ebf0..600d7fd 100644 --- a/Furious/Window/AppMainWindow.py +++ b/Furious/Window/AppMainWindow.py @@ -558,16 +558,22 @@ class AppMainWindow(AppQMainWindow): self._widget = QWidget() self._layout = QVBoxLayout(self._widget) + self.searchLayout = QHBoxLayout() + self.searchLineEdit = AppQLineEdit() self.searchLineEdit.setPlaceholderText( _( 'Search servers with text or regex, e.g. trojan, hk|jp, ^vmess, (us|sg).*tls' ) ) - self.searchButton = AppQPushButton(_('Search')) + self.searchButton = AppQPushButton( + _('Search'), icon=bootstrapIcon('search.svg') + ) + self.searchLayout.addWidget(self.searchLineEdit) self.searchLayout.addWidget(self.searchButton) + self._layout.addLayout(self.searchLayout) self._layout.addWidget(self.mainTab) diff --git a/Furious/Window/UserRoutingWindow.py b/Furious/Window/UserRoutingWindow.py index ff6e5f0..5b3a678 100644 --- a/Furious/Window/UserRoutingWindow.py +++ b/Furious/Window/UserRoutingWindow.py @@ -819,6 +819,7 @@ class UserRoutingTableView(Mixins.QTranslatable, AppQTableView): self.contextPreviewAction = AppQAction( _('Preview'), + icon=bootstrapIcon('file-earmark-text.svg'), callback=lambda: self.previewSelectedItem(), ) self.contextRenameAction = AppQAction(