From 5a4abe0bbbb7920442ca573d3675dd3287810088 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Wed, 11 Dec 2024 13:24:04 -0700 Subject: [PATCH] Adjust default dialog sizes. https://redmine.stoutner.com/issues/1244 --- COPYING | 19 +++++----- doc/CMakeLists.txt | 25 ++++++------- src/GlobalVariables.h | 24 ++++++------- src/com.stoutner.privacybrowser.appdata.xml | 20 +++++++---- src/licenses/GPLv3+.txt | 18 +++++----- src/privacybrowser.notifyrc | 25 ++++++------- src/resources.qrc | 23 ++++++------ src/uis/AddBookmarkDialog.ui | 25 ++++++------- src/uis/AddFolderDialog.ui | 25 ++++++------- src/uis/AddOrEditCookieDialog.ui | 25 ++++++------- src/uis/AddTabWidget.ui | 39 ++++++++++++--------- src/uis/BookmarksDialog.ui | 29 +++++++-------- src/uis/CookiesDialog.ui | 29 +++++++-------- src/uis/DomainSettingsDialog.ui | 27 +++++++------- src/uis/DurableCookiesDialog.ui | 25 ++++++------- src/uis/EditBookmarkDialog.ui | 25 ++++++------- src/uis/EditFolderDialog.ui | 25 ++++++------- src/uis/FilterEntryDialog.ui | 23 ++++++------ src/uis/FilterListsDialog.ui | 27 +++++++------- src/uis/HttpAuthenticationDialog.ui | 25 ++++++------- src/uis/RequestDetailDialog.ui | 27 +++++++------- src/uis/RequestsDialog.ui | 27 +++++++------- src/uis/SaveDialog.ui | 25 ++++++------- src/uis/SettingsGeneral.ui | 25 ++++++------- src/uis/SettingsPrivacy.ui | 23 ++++++------ src/uis/SettingsSpellCheck.ui | 25 ++++++------- src/uis/TabWidget.ui | 23 ++++++------ update_po_template | 25 ++++++------- 28 files changed, 369 insertions(+), 334 deletions(-) diff --git a/COPYING b/COPYING index 2740cac..bc16d08 100644 --- a/COPYING +++ b/COPYING @@ -1,16 +1,17 @@ -Privacy Browser PC copyright 2016-2017, 2021-2024 Soren Stoutner . +SPDX-License-Identifier: GPL-3.0-or-later +SPDX-FileCopyrightText: 2016-2017, 2021-2024 Soren Stoutner This file is part of Privacy Browser PC . -Privacy Browser PC is free software: you can redistribute it and/or -modify it under the terms of the GNU General Public License as published -by the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version. -Privacy Browser PC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License below for more details. +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. GNU GENERAL PUBLIC LICENSE diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 1f54e4a..e807217 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,19 +1,20 @@ -# Copyright 2023 Soren Stoutner . +# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-FileCopyrightText: 2023 Soren Stoutner # -# This file is part of Privacy Browser PC . +# This file is part of Privacy Browser PC . # -# Privacy Browser PC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation, either version 3 of the License, or (at your option) any later +# version. # -# Privacy Browser PC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. # -# You should have received a copy of the GNU General Public License -# along with Privacy Browser PC. If not, see . +# You should have received a copy of the GNU General Public License along with +# this program. If not, see . # Create the documentation. kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR privacybrowser) diff --git a/src/GlobalVariables.h b/src/GlobalVariables.h index fc5235e..82b5ba2 100644 --- a/src/GlobalVariables.h +++ b/src/GlobalVariables.h @@ -1,20 +1,20 @@ -/* - * Copyright 2024 Soren Stoutner . +/* SPDX-License-Identifier: GPL-3.0-or-later + * SPDX-FileCopyrightText: 2024 Soren Stoutner * * This file is part of Privacy Browser PC . * - * Privacy Browser PC is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free Software + * Foundation, either version 3 of the License, or (at your option) any later + * version. * - * Privacy Browser PC is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. * - * You should have received a copy of the GNU General Public License - * along with Privacy Browser PC. If not, see . + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . */ #ifndef GLOBALVARIABLES_H diff --git a/src/com.stoutner.privacybrowser.appdata.xml b/src/com.stoutner.privacybrowser.appdata.xml index b055e2f..0e787c0 100644 --- a/src/com.stoutner.privacybrowser.appdata.xml +++ b/src/com.stoutner.privacybrowser.appdata.xml @@ -1,17 +1,23 @@ + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> diff --git a/src/licenses/GPLv3+.txt b/src/licenses/GPLv3+.txt index 5bb31d5..e81d704 100644 --- a/src/licenses/GPLv3+.txt +++ b/src/licenses/GPLv3+.txt @@ -1,14 +1,14 @@ -This file is part of Privacy Browser PC . +This file is part of Privacy Browser PC . -Privacy Browser PC is free software: you can redistribute it and/or -modify it under the terms of the GNU General Public License as published -by the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version. -Privacy Browser PC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License below for more details. +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. GNU GENERAL PUBLIC LICENSE diff --git a/src/privacybrowser.notifyrc b/src/privacybrowser.notifyrc index 08915de..00db0dc 100644 --- a/src/privacybrowser.notifyrc +++ b/src/privacybrowser.notifyrc @@ -1,19 +1,20 @@ -# Copyright 2022-2023 Soren Stoutner . +# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-FileCopyrightText: 2022-2023 Soren Stoutner # -# This file is part of Privacy Browser PC . +# This file is part of Privacy Browser PC . # -# Privacy Browser PC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation, either version 3 of the License, or (at your option) any later +# version. # -# Privacy Browser PC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. # -# You should have received a copy of the GNU General Public License -# along with Privacy Browser PC. If not, see . +# You should have received a copy of the GNU General Public License along with +# this program. If not, see . [Global] IconName=sc-apps-privacybrowser diff --git a/src/resources.qrc b/src/resources.qrc index 0180b73..0ecae8c 100644 --- a/src/resources.qrc +++ b/src/resources.qrc @@ -1,20 +1,21 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> diff --git a/src/uis/AddBookmarkDialog.ui b/src/uis/AddBookmarkDialog.ui index d954863..bc6232b 100644 --- a/src/uis/AddBookmarkDialog.ui +++ b/src/uis/AddBookmarkDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> AddBookmarkDialog diff --git a/src/uis/AddFolderDialog.ui b/src/uis/AddFolderDialog.ui index 752059e..616177b 100644 --- a/src/uis/AddFolderDialog.ui +++ b/src/uis/AddFolderDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> AddFolderDialog diff --git a/src/uis/AddOrEditCookieDialog.ui b/src/uis/AddOrEditCookieDialog.ui index 779b8fb..b302eed 100644 --- a/src/uis/AddOrEditCookieDialog.ui +++ b/src/uis/AddOrEditCookieDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> AddOrEditCookieDialog diff --git a/src/uis/AddTabWidget.ui b/src/uis/AddTabWidget.ui index d4eda1e..bc1e488 100644 --- a/src/uis/AddTabWidget.ui +++ b/src/uis/AddTabWidget.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> AddTabWidget @@ -25,26 +26,25 @@ - - + - 5 + 1 - 5 + 2 - 5 + 1 - 5 + 2 @@ -53,6 +53,11 @@ + + + + padding-left: "5px"; padding-right: "4px"; padding-top: "6px"; padding-bottom: "6px" + diff --git a/src/uis/BookmarksDialog.ui b/src/uis/BookmarksDialog.ui index fb7c4bb..8667817 100644 --- a/src/uis/BookmarksDialog.ui +++ b/src/uis/BookmarksDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> BookmarksDialog @@ -34,8 +35,8 @@ 0 0 - 1000 - 1500 + 800 + 1200 diff --git a/src/uis/CookiesDialog.ui b/src/uis/CookiesDialog.ui index c5436b1..ac20224 100644 --- a/src/uis/CookiesDialog.ui +++ b/src/uis/CookiesDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> CookiesDialog @@ -26,8 +27,8 @@ 0 0 - 1000 - 1500 + 800 + 1200 diff --git a/src/uis/DomainSettingsDialog.ui b/src/uis/DomainSettingsDialog.ui index 2bbcc78..a858477 100644 --- a/src/uis/DomainSettingsDialog.ui +++ b/src/uis/DomainSettingsDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> DomainSettingsDialog @@ -26,8 +27,8 @@ 0 0 - 1350 - 1500 + 1000 + 1000 diff --git a/src/uis/DurableCookiesDialog.ui b/src/uis/DurableCookiesDialog.ui index 65fea74..cb5d44b 100644 --- a/src/uis/DurableCookiesDialog.ui +++ b/src/uis/DurableCookiesDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> DurableCookiesDialog diff --git a/src/uis/EditBookmarkDialog.ui b/src/uis/EditBookmarkDialog.ui index 1ecfd7a..0c9779e 100644 --- a/src/uis/EditBookmarkDialog.ui +++ b/src/uis/EditBookmarkDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> EditBookmarkDialog diff --git a/src/uis/EditFolderDialog.ui b/src/uis/EditFolderDialog.ui index efebd2a..b5ef72d 100644 --- a/src/uis/EditFolderDialog.ui +++ b/src/uis/EditFolderDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> EditFolderDialog diff --git a/src/uis/FilterEntryDialog.ui b/src/uis/FilterEntryDialog.ui index 4838cac..c87da3c 100644 --- a/src/uis/FilterEntryDialog.ui +++ b/src/uis/FilterEntryDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> FilterEntryDialog diff --git a/src/uis/FilterListsDialog.ui b/src/uis/FilterListsDialog.ui index 17366f5..64a2989 100644 --- a/src/uis/FilterListsDialog.ui +++ b/src/uis/FilterListsDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> FilterListsDialog @@ -26,8 +27,8 @@ 0 0 - 1500 - 2500 + 1000 + 1500 diff --git a/src/uis/HttpAuthenticationDialog.ui b/src/uis/HttpAuthenticationDialog.ui index d5d9de0..2739008 100644 --- a/src/uis/HttpAuthenticationDialog.ui +++ b/src/uis/HttpAuthenticationDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> HttpAuthenticationDialog diff --git a/src/uis/RequestDetailDialog.ui b/src/uis/RequestDetailDialog.ui index 73eab92..53d74f4 100644 --- a/src/uis/RequestDetailDialog.ui +++ b/src/uis/RequestDetailDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> RequestDetailDialog @@ -26,8 +27,8 @@ 0 0 - 1200 - 1500 + 900 + 1000 diff --git a/src/uis/RequestsDialog.ui b/src/uis/RequestsDialog.ui index fd935c2..dfbf57d 100644 --- a/src/uis/RequestsDialog.ui +++ b/src/uis/RequestsDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> RequestsDialog @@ -30,8 +31,8 @@ 0 0 - 1500 - 2500 + 1000 + 1500 diff --git a/src/uis/SaveDialog.ui b/src/uis/SaveDialog.ui index d9d2cef..7c6b9fe 100644 --- a/src/uis/SaveDialog.ui +++ b/src/uis/SaveDialog.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> SaveDialog diff --git a/src/uis/SettingsGeneral.ui b/src/uis/SettingsGeneral.ui index 15f776f..80d9544 100644 --- a/src/uis/SettingsGeneral.ui +++ b/src/uis/SettingsGeneral.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> diff --git a/src/uis/SettingsPrivacy.ui b/src/uis/SettingsPrivacy.ui index f806421..cd2380b 100644 --- a/src/uis/SettingsPrivacy.ui +++ b/src/uis/SettingsPrivacy.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> diff --git a/src/uis/SettingsSpellCheck.ui b/src/uis/SettingsSpellCheck.ui index 9375f0b..2349946 100644 --- a/src/uis/SettingsSpellCheck.ui +++ b/src/uis/SettingsSpellCheck.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> diff --git a/src/uis/TabWidget.ui b/src/uis/TabWidget.ui index 7a546f5..3c22910 100644 --- a/src/uis/TabWidget.ui +++ b/src/uis/TabWidget.ui @@ -1,22 +1,23 @@ + You should have received a copy of the GNU General Public License along with + this program. If not, see . --> TabWidget diff --git a/update_po_template b/update_po_template index 38aa12c..48613d2 100755 --- a/update_po_template +++ b/update_po_template @@ -1,21 +1,22 @@ #! /usr/bin/env bash -# Copyright © 2022 Soren Stoutner . +# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-FileCopyrightText: 2022 Soren Stoutner # -# This file is part of Privacy Browser PC . +# This file is part of Privacy Browser PC . # -# Privacy Browser PC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation, either version 3 of the License, or (at your option) any later +# version. # -# Privacy Browser PC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. # -# You should have received a copy of the GNU General Public License -# along with Privacy Browser PC. If not, see . +# You should have received a copy of the GNU General Public License along with +# this program. If not, see . # Extract the strings from the UI and RC files and add them to a temporary .app file. -- 2.47.2