Commit Graph

138 Commits

Author SHA1 Message Date
Martchus 7db2fd02fc Improve button overlay so buttons will not be shown over e.g. spin box buttons
* Unify/streamline code
* Use Qt::SC_ComboBoxEditField/Qt::SC_SpinBoxEditField to determine the edit
  area for better compatibility accorss various styles
2020-06-04 19:13:14 +02:00
Martchus 4e974d2258 Prevent restoring invalid/removed IDs of ChecklistModel
The restore function should not add new IDs to the model.
2020-04-24 23:06:56 +02:00
Martchus 031378e1c5 Fix remaining install dirs to use GNUInstallDirs consistently 2020-02-13 11:43:29 +01:00
Martchus e55ae3686b Require CMake 3.3.0 in all modules 2020-01-10 18:01:27 +01:00
Martchus 67165b69d7 Don't use toSet() method which was deprecated in Qt 5.14.0 2019-12-15 19:29:03 +01:00
Martchus b8d00d27c9 Apply cmake-format v0.6.0 2019-11-30 17:58:56 +01: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 02747f4808 Fix old namespaces being mentioned in the documentation 2019-09-04 18:47:36 +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 ec3d68a635 Apply cmake-format 0.5.1 2019-06-01 12:15:48 +02:00
Martchus d8333f3793 Apply cmake-format 2019-05-04 21:01:06 +02:00
Martchus 850101dce6 Support installing multiple configurations within the same prefix 2019-05-03 01:03:41 +02:00
Martchus c707591128 Don't mix building static and shared libraries 2019-04-21 16:44:54 +02:00
Martchus 3502be2826 Adapt to c++utilities v5 2019-04-20 02:43:26 +02:00
Martchus da00c5ada7 about dialog: Allow rich text with links as creator 2019-02-17 23:37:46 +01:00
Martchus 71cca64360 Bump version 2019-02-17 17:04:33 +01:00
Martchus 190e58fe67 Apply cmake-format 2019-02-06 17:32:10 +01:00
Martchus 530d61fc41 APK: Add check for SDK/NDK path 2018-12-02 21:37:57 +01:00
Martchus 3369ff8f6c Improve configuration for platform specific capslock detection
* Allow to turn the feature completely off
* Don't use the define unnecessarily in the entire project
2018-10-17 17:37:37 +02:00
Marius Kittler 36f3c71a66 Make use of ChecklistModel more convenient 2018-10-10 17:47:57 +02:00
Martchus 881ed0a2cb Add module to create Android APK using androiddeployqt 2018-09-16 00:38:46 +02:00
Marius Kittler beb0ddcb77 Don't enable D-Bus notification under Android by default 2018-07-13 14:36:00 +02:00
Marius Kittler 7472ddc5af Improve coding style 2018-07-11 13:16:57 +02:00
Martchus b7f2ce0f10 Allow to overriding Qt Quick Controls 2 style
Make it an extra function in the header so the utilities
don't depend on the Qt Quick Controls 2 library (just for
one function call).
2018-06-16 13:10:19 +02:00
Martchus aa300b237f Use const in generateWindowTitle() 2018-05-23 23:20:01 +02:00
Martchus 6727f97ac6 Allow querying capabilities of DBus notification daemon 2018-03-31 23:35:39 +02:00
Martchus f76d4044aa Support setting image and image path of DBus notifications 2018-03-18 03:07:03 +01:00
Martchus 0409b77831 Split Qt-specific config from other config
So adding Qt-specific config does not require a change
in c++utilities anymore.
2018-03-07 18:22:53 +01:00
Martchus e6e968e4ea Fix locating Qt's translations under openSUSE 2018-02-10 20:06:45 +01:00
Martchus 29a2f993a3 Configure static Qt Widget style plugins
* Fix missing "Vista style" in static, Qt 5.10 based
  Windows build
* Required since the platform styles have been
  "pluginized" in Qt 5.10
* See 4f3249f32d
2017-12-15 20:22:29 +01:00
Martchus bf1519d357 Improve handling static Qt plugins
* Only link targets using static Qt Gui/Widgets/Quick
  against static plugins since currently only GUI-related
  plugins are relevant
* Don't require to link explicitely against the related
  module (eg. Qt Svg for the Svg icon engine) because the
  imported target of the plugin should pull all required
  dependencies
* Add option for linking against static Qt image format
  plugins
* Link GUI applications using static Qt Gui/Widgets/Quick
  against the static X11 platform integration plugin if it
  is available
2017-09-03 18:03:41 +02:00
Martchus 007c338388 Increase version (5.7.1 -> 5.7.2) 2017-08-30 23:00:57 +02:00
Martchus 64040170b4 Disable D-Bus notifications by default under MacOS 2017-08-06 00:39:30 +02:00
Martchus d3de8e5c62 Don't append generated D-Bus files to sources
Allows to distinguish generated files for coverage
report
2017-07-09 23:45:17 +02:00
Martchus 37dc2f722f Add missing #include <functional> 2017-05-30 15:08:01 +02:00
Martchus 61a544d42f Make definitions for gui support project specific 2017-04-27 22:03:37 +02:00
Martchus 784781b409 Set 'MACOSX_BUNDLE' for GUI apps under MacOS
This makes it a GUI executable that can be launched from
the Finder. Not tested yet.
2017-03-29 00:17:26 +02:00
Martchus 263418b9d5 Provide header files to select Qt Script/QML
Allows supporting Qt Script and Qt QML as JavaScript
provider at the same time more conveniently
2017-03-14 23:24:04 +01:00
Martchus 14c3c7690a Provide header files to select Qt WebKit/WebEngine
Allows supporting Qt WebKit and Qt WebEngine at the
same time more conveniently
2017-03-14 22:45:33 +01:00
Martchus 0c34b456f0 Enable high DPI pixmap support in all applications 2017-03-01 23:24:47 +01:00
Martchus ad6f040881 Fix typo 2017-03-01 18:20:14 +01:00
Martchus 8f2e3f0476 Add macro to auto init resources of static deps
Generated macro code is made available via config
header implemented in c++utilities
2017-02-11 02:04:12 +01:00
Martchus 28709de12b Require latest c++utilities 2017-02-09 16:48:42 +01:00
Martchus 74aa4316b1 Use std::make_unique provided by C++14 2017-02-05 21:03:01 +01:00
Martchus f50f35ddc8 Add German translation 2017-01-07 16:46:53 +01:00
Martchus aca86b0681 Load translations of dependencies, too 2017-01-07 16:09:38 +01:00
Martchus 60403202df Add function to convert QString to native filename 2016-12-21 00:51:11 +01:00
Martchus e5481f5f43 Add class to show notifications via D-Bus 2016-12-11 17:54:23 +01:00
Martchus 31ac09de87 Add prefix to PLATFORM_SPECIFIC_CAPSLOCK_DETECTION macro 2016-12-11 17:13:19 +01:00
Martchus 03b0a8f294 Provide 'edit-error' icon
Add templates for icons by the way
2016-11-30 20:57:21 +01:00
Martchus 6d623989a8 Declare all used Qt module public dependencies 2016-11-10 23:42:53 +01:00
Martchus e1a8a12670 Provide an imported target for libs 2016-11-10 23:42:53 +01:00
Martchus 5531450c0a Don't built-in icons already provided as fallback 2016-11-01 14:05:48 +01:00
Martchus b35e5311a9 Improve handling Svg support 2016-10-19 20:33:59 +02:00
Martchus c7b13d063c List scripts in project file
Maybe add install target for scripts later
2016-09-11 20:31:11 +02:00
Martchus 5d9b3e8be4 Improve error message of SettingsDialog 2016-09-03 20:19:17 +02:00
Martchus 58fad82c3b Support icons in SettingsDialog tabs 2016-08-31 23:38:35 +02: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 9e61cf8e18 Add option for built-in SVG icon support 2016-08-19 22:37:43 +02:00
Martchus d97e112f0d Allow using static Qt libraries 2016-08-19 16:16:10 +02:00
Martchus 49e7ab25ce Generate config header in extra module 2016-07-27 21:38:57 +02:00
Martchus babb75a205 Attempt to link statically against Qt
Linking statically against Qt with CMake still doesn't work. Seems like
there is still some work to do on the Qt side. Patches from MSYS2 might
help.
2016-07-27 18:51:25 +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 9137a63462 Improve documentation 2016-06-10 23:05:43 +02:00
Martchus cca4395fe6 Fix -Winconsistent-missing-override 2016-05-13 22:53:01 +02:00
Martchus 3957bd9c1c added version constraints 2016-04-25 22:19:23 +02:00
Martchus e3eb263962 refactored "recently opened files menu" 2016-04-19 01:38:21 +02:00
Martchus 36de73756b fixed some issues caused the build system changeings 2016-04-16 18:32:56 +02:00
Martchus 9cf5656efe reduce code duplication in build system
- get rid of qmake project file
- provide CMake modules for common tasks
- provide templates for *.desktop files
2016-04-16 02:11:20 +02:00
Martchus 323c3b8824 allow building without Qt Widgets specific features 2016-04-09 02:33:09 +02:00
Martchus 87fd94a2e0 improved settings dialog API 2016-04-04 14:49:40 +02:00
Martchus 4cca128180 link against X11 using find_package 2016-03-28 21:57:01 +02:00
Martchus bffe7b999c added target_link_libraries to static target
required to prevent include errors with Qt headers
2016-03-23 22:37:49 +01:00
Martchus 98897b26f8 added locker classes intended to be used with QMutex 2016-03-10 22:15:16 +01:00
Martchus ba8dd4c113 added header to undefine macros for XML parser 2016-03-06 17:12:50 +01:00
Martchus 74b76e83a3 added macros to utilize XML parsing 2016-03-03 01:43:48 +01:00
Martchus 5d88f428a2 mingw-w64: build both, shared and static libs 2016-02-27 01:27:08 +01:00
Martchus 528bbf46a7 allow user to specify library paths via command line arg 2016-02-09 01:06:50 +01:00
Martchus b5ee1adc3f added DesktopUtils::openLocalFileOrDir() 2016-02-05 19:29:11 +01:00
Martchus 54dec268db show UI files in Qt Creator 2016-01-25 18:59:44 +01:00
Martchus b272ce0d09 ensure custom install targets don't conflict
(required when building as subdirectory)
2016-01-21 16:28:59 +01:00
Martchus 849ed0f58e removed creation of Windows icon 2016-01-05 17:15:16 +01:00
Martchus 69c60ea210 updated version 2015-12-27 18:16:44 +01:00
Martchus d2caf7d7ca disable new ABI (can't catch ios_base::failure with new ABI) 2015-12-13 20:42:37 +01:00
Martchus 67faf53825 improved project files 2015-12-08 08:36:36 +01:00
Martchus 372154ce2a added simple CMake project file 2015-12-05 22:50:38 +01:00