Martchus
b8d00d27c9
Apply cmake-format v0.6.0
2019-11-30 17:58:56 +01:00
Martchus
a635b38e73
Apply CMake format
2019-10-12 19:00:24 +02:00
Martchus
ec9d2c58ee
Don't set parent of "About Qt" dialog
...
to prevent stylesheet inheritance
2019-10-09 18:00:44 +02:00
Martchus
1155ab0036
Use QFileInfo to check for absolute path in openLocalFileOrDir()
...
Better not rely on a correct implmentation of std::filesystem in
libstdc++ on Windows when using Qt anyways.
2019-10-09 17:33:38 +02:00
Martchus
df03b97ced
Fix openLocalFileOrDir() on Windows
...
Not tested yet
2019-10-09 12:54:35 +02:00
Martchus
e6a6d41df1
Show Qt version in about dialog
2019-09-07 01:27:41 +02:00
Martchus
02747f4808
Fix old namespaces being mentioned in the documentation
2019-09-04 18:47:36 +02:00
Martchus
84ace56a9c
Update README.md
2019-09-01 16:34:50 +02:00
Martchus
dbc5a18801
Allow setting custom app ID and label via CMake args
...
So one can produce different configurations/versions/flavors of
the app which can be installed at the same time.
2019-08-22 01:05:45 +02:00
Martchus
5f115b4918
Require META_ANDROID_PACKAGE_NAME for making Android APKs
2019-08-22 01:03:53 +02:00
Martchus
f1897175e8
Support template substitution for Android files
...
To achieve this the Android package directory must be copied
over to the binary directory. Files which end with ".in" are
treated as templates.
2019-08-22 01:02:15 +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
5cb0d801ba
Improve coding style in optioncategorymodel.cpp
2019-08-10 22:03:13 +02:00
Martchus
e03b619b58
Add property for categories of OptionCategoryModel
2019-08-10 21:59:29 +02:00
Martchus
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
Martchus
9908190722
Use make_unique in qtsettings.cpp
2019-08-10 21:51:05 +02:00
Martchus
6d0d15bec2
Improve coding style if settingsdialog.cpp
...
* Reduce indentation
* Use const were possible
2019-08-10 21:50:29 +02:00
Martchus
ff48e464fa
Improve lookup of Qt translations
...
* Show warning if no translations found but built-in
translations are enabled
* Don't write empty QStringLiteral to config file
* Simplify CMake code
2019-08-10 00:12:05 +02:00
Martchus
6b510b21e7
Add missing quote when logging translation lookup
2019-08-10 00:10:16 +02:00
Martchus
8cbe2da2a2
Remove own icons for button overlay
...
* Use "edit-clear" from icon theme instead
* Other icons were only used by the tag editor but it now uses
icons from the icon theme instead
2019-08-08 22:54:13 +02:00
Martchus
95cc1a5b78
Apply cmake-format
2019-08-07 22:57:31 +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
9ba1aa32cf
Protect pending DBusNotifications from concurrent access
2019-08-03 16:26:54 +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
3c4ff02a96
Fallback to website URL from CppUtilities::applicationInfo
2019-07-20 20:31:39 +02:00
Martchus
4e30e7c45c
Don't abuse organization domain for website in AboutDialog
2019-07-20 20:16:40 +02:00
Martchus
7cf1a57368
Don't rely on QCursor::pos() in dialog utils
...
It might not work under Wayland.
2019-07-20 18:38:39 +02:00
Martchus
6eaeaab442
Merge pull request #2 from yan12125/fix-for-old-macos
...
Fix building on Mac OS X/macOS
2019-07-20 16:45:01 +02:00
Chih-Hsuan Yen
f24c07b8a5
Fix building on Mac OS X/macOS
...
Without project(), compiler flags like -std=gnu++17 are not applied
for non-Apple clang on Mac OS X/macOS.
2019-07-20 22:32:35 +08:00
Martchus
d3c9653b9e
Add EXCLUDED_FILES variable
...
When adding source files to the _FILES variables conditionally
those are so far not being formatted or translated. Adding
these files at least to the EXCLUDED_FILES will fix this.
Replaces DOC_ONLY_FILES which served the same purpose but was
limited to documentation.
2019-07-13 14:01:52 +02:00
Martchus
c1746c4302
Use use instead of typedef in optionpage.h
2019-07-07 13:36:49 +02:00
Martchus
9303e3f60d
Add cleared property to Clear* classes
2019-07-07 12:41:11 +02:00
Martchus
033351eebf
Reorder member variables of PathSelection
2019-07-07 12:40:32 +02:00
Martchus
666e16725d
Don't add QT_DISABLE_DEPRECATED_BEFORE by default
2019-06-25 14:16:40 +02:00
Martchus
6dd7c0fce1
Don't use functions obsoleted in Qt 5.13.0
2019-06-25 14:16:12 +02:00
Martchus
2dc2e6f4c2
Prevent crash by instantiating QString explicitely
2019-06-17 00:43:44 +02:00
Martchus
4e3aaee223
Improve DBusNotification
...
* Allow setting application name
* Add more functions for hints
* Add return value to hide()
2019-06-16 17:35:31 +02:00
Martchus
7e8766cdb6
Allow to debug locating of translations
2019-06-16 16:56:38 +02:00
Martchus
18e3a907af
Adapt to changes in c++utilities
2019-06-12 20:39:02 +02:00
Martchus
b3e7c390d9
Have everything in one top-level namespace
2019-06-10 21:57:46 +02:00
Martchus
ec3d68a635
Apply cmake-format 0.5.1
2019-06-01 12:15:48 +02:00
Martchus
e32f3c9dad
Enable using clear icon from theme
2019-05-28 23:53:49 +02:00
Martchus
303d9ae779
Add override to DBusNotification
2019-05-28 21:33:24 +02:00
Martchus
157588f591
Remove disabled code
2019-05-19 20:39:53 +02:00
Martchus
43faa61e40
Emit colorChanged() in ColorButton when setColor() called
2019-05-19 17:47:34 +02:00
Martchus
676ad1ae6b
Show description from app info in about dialog
...
if none explicitely specified
2019-05-05 18:40:34 +02:00
Martchus
72d0e9e6e0
Adapt search path for translations to new config system
2019-05-05 18:37:24 +02:00
Martchus
7642214a11
Remove AboutDialog c'tor with init list
2019-05-05 18:05:27 +02:00
Martchus
8c9d834b68
Split style arguments
2019-05-04 23:34:19 +02:00
Martchus
df120f4b73
Add CLI argument to set Qt scene graph renderer
2019-05-04 23:25:33 +02:00