Commit Graph

51 Commits

Author SHA1 Message Date
15075df0ca Remove overspecification of Qt version in documentation and comments 2020-09-04 01:19:20 +02:00
cb3a4960e7 Support Qt 6 (commit 174154b) 2020-09-04 00:44:48 +02:00
5cb0d801ba Improve coding style in optioncategorymodel.cpp 2019-08-10 22:03:13 +02:00
e03b619b58 Add property for categories of OptionCategoryModel 2019-08-10 21:59:29 +02:00
2772bad471 Improve parameter-passing in settings classes
* Pass QList by const ref
* Construct QList/QVector from initializer list
2019-08-10 21:56:53 +02:00
9908190722 Use make_unique in qtsettings.cpp 2019-08-10 21:51:05 +02:00
6d0d15bec2 Improve coding style if settingsdialog.cpp
* Reduce indentation
* Use const were possible
2019-08-10 21:50:29 +02:00
c1746c4302 Use use instead of typedef in optionpage.h 2019-07-07 13:36:49 +02:00
b3e7c390d9 Have everything in one top-level namespace 2019-06-10 21:57:46 +02:00
8dc2956edf Use override 2018-10-10 21:12:58 +02:00
e12c60b594 Reduce padding of QtSettingsData 2018-08-12 22:12:16 +02:00
Marius Kittler
fa53b13f73 Fix typo occured -> occurred 2018-07-23 14:45:16 +02:00
da485f5702 Don't reset or apply option pages which haven't been shown
This makes the annoying hasBeenShown() check in each apply()
and reset() implementation unnecessary. It should not break
anything because if the page hasn't been shown there is nothing
to reset/apply anyways.
2017-09-27 00:20:43 +02:00
afe3373896 Apply tidy after updating to clang-format 5.0.0
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:45:49 +02:00
302831dca1 Add BEGIN_DECLARE_OPTION_PAGE_CUSTOM_CTOR 2017-09-09 21:36:30 +02:00
0599eb354d Apply clang-format 2017-05-04 22:46:37 +02:00
2dcbc02f4b Apply clang-format 2017-05-01 03:16:25 +02:00
61a544d42f Make definitions for gui support project specific 2017-04-27 22:03:37 +02:00
93245e9e0c Handle errors when applying Qt settings 2017-03-06 22:13:58 +01:00
74aa4316b1 Use std::make_unique provided by C++14 2017-02-05 21:03:01 +01:00
086ff0b409 Fix customizing locale 2017-01-07 16:56:24 +01:00
f50f35ddc8 Add German translation 2017-01-07 16:46:53 +01:00
900e43c7d1 settings dlg: Clean errors during apply
Errors are re-added on each OptionPage::apply()
2016-12-12 23:36:08 +01:00
58d762b7ee Improve error message in loadApplicationTranslationFile() 2016-10-05 23:00:51 +02:00
40fba1a3df Remember last page of settings category 2016-09-08 23:34:39 +02:00
5d9b3e8be4 Improve error message of SettingsDialog 2016-09-03 20:19:17 +02:00
58fad82c3b Support icons in SettingsDialog tabs 2016-08-31 23:38:35 +02:00
7f9afcda73 Fix decoration for static builds
- Also fix finding static web view and JavaScript provider
2016-08-29 15:41:21 +02:00
72296a2768 Improve settings dialog 2016-08-27 15:18:44 +02:00
55ad0b4de1 Improve icons
- Provide fallback for Qt icon
- Ensure default search paths are not overwritten
2016-08-17 20:05:48 +02:00
5e937c7266 Allow showing only a single category in SettingsDialog 2016-08-16 00:36:19 +02:00
de98b88f4a Improve Qt settings
Setting font and icon theme doesn't work yet, not sure
about locale
2016-08-14 22:44:25 +02:00
2e541286ea Fix filter in settings dialog 2016-08-11 18:24:02 +02:00
20e663cbcc Make include guards more unique and consistent 2016-07-04 23:26:48 +02:00
9137a63462 Improve documentation 2016-06-10 23:05:43 +02:00
31ed859555 ensure templates are instantiated 2016-04-16 19:19:27 +02:00
48161ba465 improved option page API
- added documentation for the macros
- added macros to force instantiaton of the template class
2016-04-16 18:34:50 +02:00
aa880c3ed5 further development of Qt settings 2016-04-09 02:33:45 +02:00
87fd94a2e0 improved settings dialog API 2016-04-04 14:49:40 +02:00
152df3a2f6 use C++11 foreach loop consistently (instead of Qt foreach macro) 2016-03-05 17:12:51 +01:00
91a2e24493 uniform icon size in settings dialog 2015-12-20 21:35:07 +01:00
372154ce2a added simple CMake project file 2015-12-05 22:50:38 +01:00
58094595ed don't apply settings twice 2015-11-25 22:49:22 +01:00
f44930d580 unified dialog style sheet, removed hard coded colors 2015-09-26 20:28:30 +02:00
ce39061808 remove hard coded fonts 2015-09-22 01:50:04 +02:00
721e79d027 fixed includes 2015-09-06 20:19:21 +02:00
98b02d4149 fixed includes 2015-09-06 15:36:04 +02:00
b96c01dc23 fixed include path 2015-08-29 21:00:50 +02:00
4dbcbb3834 fixed wrong includes in UI files 2015-08-27 00:59:45 +02:00
89f3822f09 replaced signals and slots with Q_SIGNALS and Q_SLOTS to avoid conflicts
with boost signals
2015-08-10 23:27:26 +02:00