Commit Graph

28 Commits

Author SHA1 Message Date
Martchus 6016ec4bff Set the desktop file name via `SET_QT_APPLICATION_INFO` 2024-04-08 12:37:39 +02:00
Martchus 8fd1452174 Allow clearing previously installed translation files 2023-07-01 23:43:27 +02:00
Martchus 368c9e9b0e Add function to return an error message for a `QSettings` object 2023-02-17 19:17:17 +01:00
Martchus e3e2d24aeb Add `getSettings()` to streamline settings locations in my apps
* Keep handling for old location of settings file
* Add handling to allow portable settings (see
  https://github.com/Martchus/tageditor/issues/88)
2022-08-20 16:16:40 +02:00
Martchus 7d78fb7236 Apply clang-format 2020-10-05 18:37:42 +02:00
Martchus 429ec48a6e Adapt to Qt 6 (757a9c21c1)
* Don't use deprecated QLibraryInfo::path()
* Avoid conflicting QT_FORWARD_DECLARE_CLASS(QStringList)
2020-09-18 18:28:35 +02:00
Martchus 56cf474231 Enable High-DPI scaling by default in all my Qt applications 2020-07-12 21:15:48 +02:00
Martchus 1f08721dda Remove ConfigFile::locateConfigFile()
Needed adjustments to support the config suffix feature. Since it
is only used by videodownloader it can be dropped.
2019-08-20 22:16:38 +02:00
Martchus a40d2974e0 Fix translation lookup if config name is set
In this case the config name must only be appended to the applications
config directory but *not* to the name of the translation file itself.
2019-08-07 22:57:17 +02:00
Martchus 8de2d7f7c8 Don't set organization domain to application URL
Otherwise window icons are not shown correctly under Wayland.
2019-07-20 20:59:13 +02:00
Martchus b3e7c390d9 Have everything in one top-level namespace 2019-06-10 21:57:46 +02:00
Martchus c8f55a72b3 Apply clang-format from LLVM 6 2018-03-24 17:03:46 +01:00
Martchus 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
Martchus 2dcbc02f4b Apply clang-format 2017-05-01 03:16:25 +02:00
Martchus 61a544d42f Make definitions for gui support project specific 2017-04-27 22:03:37 +02:00
Martchus 0c34b456f0 Enable high DPI pixmap support in all applications 2017-03-01 23:24:47 +01:00
Martchus aca86b0681 Load translations of dependencies, too 2017-01-07 16:09:38 +01:00
Martchus 7f9afcda73 Fix decoration for static builds
- Also fix finding static web view and JavaScript provider
2016-08-29 15:41:21 +02:00
Martchus 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
Martchus b5bd368c5c Load translations also for Qt modules not in qtbase 2016-07-27 21:52:01 +02:00
Martchus 5a0eba3726 Allow built-in translations and icons
- Allow to built-in qm files for translations
  using the Qt resource system
- Allow to built-in required icons from specified
  icon themes using the Qt resource system
- Provide bash script to determine required icons
2016-07-16 23:12:02 +02:00
Martchus 20e663cbcc Make include guards more unique and consistent 2016-07-04 23:26:48 +02:00
Martchus ba77d0315b add method to locate additional config files 2015-09-16 17:30:25 +02:00
Martchus 4047cdd14f updated application startup 2015-09-01 20:08:43 +02:00
Martchus 8a05677bb3 updated application info 2015-08-25 19:16:09 +02:00
Martchus 65132e9781 added macros for setting application info provided in project file 2015-07-27 23:22:46 +02:00
Martchus 576b0c11c6 using "en_US" as fallback language 2015-06-21 21:45:58 +02:00
Martchus 26748b4923 First commit 2015-04-22 18:57:44 +02:00