aboutsummaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2019-10-06Make preferences() a public functionNate Graham
2019-10-03Rewrite ugly for with pointer arithmetic into range forAlbert Astals Cid
Reviewers: apol Reviewed By: apol Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D24398
2019-09-30Small performance enhacementsAlbert Astals Cid
Summary: suggested by clang-tidy Reviewers: davidedmundson Reviewed By: davidedmundson Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D24312
2019-09-16Use new INCLUDE_DIRS with ecm_add_qch, to have doxygen see more includesFriedrich W. H. Kossebau
GIT_SILENT
2019-08-24String code optimization: use QLatin1String overload for == & !=Friedrich W. H. Kossebau
GIT_SILENT
2019-03-03[Kconfig] Compile without foreachLaurent Montel
Summary: compile without foreach Test Plan: Unittest Ok as previously Reviewers: dfaure Reviewed By: dfaure Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D19326
2018-09-30Remove misleading use of KDE_INSTALL_PYTHONBINDINGSDIRStefan Brüns
Summary: Removing the (typically empty) optional argument from the function invocation avoids confusion and allows to remove the parameter. See also D15558 Test Plan: make Reviewers: #frameworks, apol Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D15848
2018-09-18API dox: 0 -> nullptrFriedrich W. H. Kossebau
2018-08-11Set system default shortcut Ctrl+0 for "Actual Size" actionPeter Mühlenpfordt
Summary: Default shortcuts for zoom in ({key Ctrl +}) and out ({key Ctrl -}) already exists but not for going back to 100%. The shortcut {key Ctrl 0} is widely used by different applications for zoom to original size. This patch adds {key Ctrl 0} as system default for `KStandardAction::ActualSize`. FEATURE: 305702 FIXED-IN: 5.50 Test Plan: Searched lxr for conflicts of `KStandardAction::ActualSize` and usage of Ctrl+0 shortcut. Checked the following applications with set system default shortcut: * Gwenview * KAlgebra * KolourPaint * KStars (FITS viewer) * Cirkuit Only Cirkuit uses Ctrl+0 for "Zoom To Fit" action. I'll create a patch to solve this conflict. Reviewers: dfaure, broulik, ngraham, rkflx Reviewed By: dfaure, ngraham, rkflx Subscribers: jriddell, rkflx, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D14201
2018-05-04Use overrideLaurent Montel
2018-04-19Warning--Laurent Montel
2018-03-11Remove not necessary QtCore and coLaurent Montel
2018-01-13Use Ctrl+Shift+, as the standard shortcut for "Configure <Program>"Nathaniel Graham
Summary: FEATURE: Use Ctrl+Shift+, as the standard keyboard shortcut to invoke KDE programs' "Configure <Program>" menu items. Test Plan: This shortcut is not used by anything else. Searched on lxr, found one conflict in DigiKam, and the developers agreed to change it: https://bugs.kde.org/show_bug.cgi?id=386335 Will wait to land this until Digikam 5.8.0 is released to prevent any shortcut conflicts. Tested in KDE Neon. Tried out Plasma, KWin, Dolphin, Kate, Konsole, Gwenview, Okular, Konversation, KTorrent, and Skanlite; all now have a consistent keyboard shortcut for their "Configure <Program>" menu items. Reviewers: #frameworks, #vdg, broulik, rkflx Reviewed By: rkflx Subscribers: ilic, abetts, elvisangelaccio, aacid, argonel, marten, graesslin, broulik, #frameworks Tags: #frameworks Differential Revision: https://phabricator.kde.org/D8296
2017-12-08API docs: Sergio suggested create(), more readable than winId()David Faure
2017-12-08API docs: full working code, including workaround for Qt issue...David Faure
2017-12-08API docs: explain how to use KWindowConfig from a dialog constructor.David Faure
Qt doesn't make it easy for us to just use QWindow...
2017-09-10Deprecate KStandardShortcut::SaveOptionsElvis Angelaccio
For consistency with D7293. Differential Revision: https://phabricator.kde.org/D7758
2017-09-03Add apidox to KStandardShorcut::StandardShortcutElvis Angelaccio
Differential Revision: https://phabricator.kde.org/D7605
2017-08-09Fix labels of DeleteFile/RenameFile actionsElvis Angelaccio
For consistency with D6774. CCBUG: 382450 Differential Revision: https://phabricator.kde.org/D6775
2017-08-04Allow to build KConfig without Qt5GuiVolker Krause
Summary: This is particularly useful for cross-compilation, where we only need the kconfig_compiler on the host system. Reviewers: #frameworks, apol, aacid Reviewed By: aacid Subscribers: aacid Tags: #frameworks Differential Revision: https://phabricator.kde.org/D6994
2017-07-31Standard shortcuts: use Ctrl+PageUp/PageDown for prev/next tab.David Faure
Summary: This is what other webbrowsers like Firefox and Chrome do, and is certainly much more international than Ctrl+Comma/Ctrl+Dot which is very qwerty centric. Test Plan: Switching tabs in Konqueror Reviewers: mdawson Subscribers: #frameworks Tags: #frameworks Differential Revision: https://phabricator.kde.org/D6553
2017-06-05[FEATURE] Option to build & install QCH file with the public API doxFriedrich W. H. Kossebau
Using the new extra-cmake-modules module ECMAddQch (since 5.36.0) this adds the option to automatically build and install a file in QCH format with the docs about the public API, which then can be used e.g. in Qt Assistant, Qt Creator or KDevelop. Additionally the installed cmake config files will be extended with a target KF5Config_QCH containing information about how to "link" into the generated QCH file, which then can be used in the cmake build system of other libraries building on this library, by simply listing this target in "LINK_QCHS" of their ecm_add_qch() usage. And a respective doxygen tag file with all the metadata about the generated QCH file and used for the "linking" will be created and installed. Pass -DBUILD_QCH=ON to cmake to enable this.
2017-05-25API dox: note CamelCase includes by @class tag with more classesFriedrich W. H. Kossebau
2017-03-06Sanitize shortcut list on read/write from kdeglobalsAlbert Astals Cid
For some reason some people have kdeglobals entries like Close=Ctrl+W; Ctrl+Esc; Ctrl+W; Ctrl+Esc; having the same shortcut more than once in the shortcut declaration is clearly bogus so fix it BUGS: 375555 REVIEW: 129987
2017-01-16Prefer nullptr over Q_NULLPTRKevin Funk
2017-01-16Use nullptr everywhereKevin Funk
Differential Revision: https://phabricator.kde.org/D3987
2017-01-16Fix a few -Wdocumentation warningsKevin Funk
2017-01-15Add python bindingsStephen Kelly
2016-08-14Add Donate standard shortcutElvis Angelaccio
REVIEW: 128608 CHANGELOG: Add Donate entry to KStandardShortcut
2016-08-01Add DeleteFile and RenameFile standard shortcut.Leslie Zhai
REVIEW: 128517
2016-05-11Remove not-implemented functionStephen Kelly
No one could be using this because they would not be able to link,
2015-12-23gui: add a small apidox bit for the KConfigGui namespacePino Toscano
This way it can be shown in the apidox.
2015-12-23Fix some Clazy warningsImran Tatriev
2015-11-03Fix usage of ecm_create_qm_loader.Alex Merry
Generate-source-file macros should be used from the same CMakeLists.txt file as the targets they generate files for.
2015-10-05Minor optimizationsAlbert Astals Cid
Ran the clazy tool (http://www.kdab.com/use-static-analysis-improve-performance/) Mostly QStringLiteral/QLatin1String additions A few const & additions to non public methods Compiles, test pass REVIEW: 125106
2015-08-22Optimize readEntryGuiKevin Funk
Don't build error string every time REVIEW: 124879
2015-07-02Remove compiler warning about initialization of sub object.Milian Wolff
2015-05-29Prevent crash if QWindow::screen() is nullAleix Pol
Reviewed by Handa
2015-05-12fix missing exportDavid Faure
2015-05-11Add KConfigGui::setSessionConfig()Stefan Becker
When the application receives a saveState signal it needs to replace the current KConfig object with a new one based on the QSessionManager information. Add a new interface that accepts the new session id and key. BUG: 346768 REVIEW: 123705
2015-02-12Use Q_DECL_OVERRIDE where possibleKevin Funk
With -Winconsistent-missing-override (Clang), headers from KConfig are throwing a lot of warnings. REVIEW: 122539
2015-02-03skip empty partsMarco Martin
when parsing the default value for string lists, skip empty parts also, an empty string means an empty list (not a list containing an empty string)
2015-01-17Add missing QIODevice includeHrvoje Senjan
Fixes build with Qt 5.5
2015-01-10Update installation variables.Alex Merry
2014-11-02Define <source_files_var> for ecm_create_qm_loaderBurkhard Lück
REVIEW:120947
2014-09-19use the same open flags as the group handed inAaron Seigo
this way we actually get the same shared pointer and thus does not require a sync() call on the config object to get the right values REVIEW:120283
2014-09-13Use const char[] instead of const char*, saves 8 byte in .data each.Volker Krause
2014-08-31Add documentation onto KWindowConfig namespaceDavid Edmundson
This is needed so doxygen includes the far more useful documentation on the contained methods.
2014-08-10Allow translations to have context again.Matthew Dawson
Switch to using QT_TRANSLATE_NOOP3 so that context information can be given for actions, allowing the translators to do better translations. BUG: 337979 FIXED-IN: 5.2.0 REVIEW: 119577
2014-07-22allow the extraction of the shortcut names for translationLukáš Tinkl
using Qt-standard QT_TRANSLATE_NOOP instead of a fake I18N_NOOP2