Commit graph

149 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
8aa482f743 Fixed email address in all headers. 2013-12-18 13:29:16 +01:00
Hugo Pereira Da Costa
68014f2b55 Added option in oxygenrc to disable window background:
[Common]
UseBackgroundGradient=true

Option is hidden (no UI element) because of string freeze
Also removed decoration blend style option.
Background gradient is now always decided based on window flag.
CCBUG: 273423
2013-12-17 18:37:59 +01:00
Martin Klapetek
54bc491c46 Port to KF5 renaming changes 2013-12-11 21:41:47 +01:00
Hugo Pereira Da Costa
a4b4d696f1 use QApp->setOverrideCursor when detecting window 2013-11-15 16:54:15 +01:00
Hugo Pereira Da Costa
caa660fdb8 use add_library instead of kde4_add_plugin
reduced KF5 dependencies.
2013-11-13 17:32:14 +01:00
Hugo Pereira Da Costa
242dcb87d3 removed lib from config plugin libraries
consistently added MODULE to relevant add_library calls.
2013-11-13 17:32:14 +01:00
Hugo Pereira Da Costa
eaa1930975 use Helper::ScopedPointer instead of QScopedPointer for simplification. 2013-11-12 00:54:26 +01:00
Hugo Pereira Da Costa
33363908c1 ensures xcb_reply_t deallocation using QScopedPointer 2013-11-12 00:54:25 +01:00
Hugo Pereira Da Costa
b35a760b66 Port oxygen decoration from X11 to XCB
- use xcb for shadow atom
- use xcb to handle sizegrip map/raised
- removed dependency upon QX11Info and QtX11Extras.
- moved window detection to xcb
2013-10-24 11:41:45 +02:00
Hugo Pereira Da Costa
b2aad6a693 fixed layout of oxygen decoration config in oxygen-settings 2013-10-21 17:00:04 +02:00
Hugo Pereira Da Costa
ce0d2af529 re-added checkbox to combobox signal-slot connection. 2013-10-21 15:56:25 +02:00
Hugo Pereira Da Costa
2b149bc18b kde4_add_kcfg_files -> kconfig_add_kcfg_files 2013-10-18 13:55:53 +02:00
Hugo Pereira Da Costa
1e735ba765 fixed first tab shown in ui 2013-10-09 00:49:54 +02:00
Hugo Pereira Da Costa
1019fecdaa fixed checkbox alignment 2013-09-01 20:31:28 +02:00
Hugo Pereira Da Costa
c5c5fffbdf Added "Display window borders for maximized windows" option.
CCBUG: 324011
2013-08-27 10:35:52 +02:00
Hugo Pereira Da Costa
c4a4407139 cleanup and homogenize oxygen CMakeLists files.
Use KF5:: and Qt5:: consistently.
2013-08-07 11:49:33 +02:00
Hrvoje Senjan
b2f5a68bbb Remove KWidgets references 2013-08-07 03:23:58 +02:00
Martin Gräßlin
f8092ded4e Remove KLocalizedString::insertCatalog from Oxygen
It got removed in frameworks recently and it seems like their is no
replacement. Therefore all of them are currently removed. Also there are
no porting guides yet for i18n.
2013-08-05 10:40:00 +02:00
Hugo Pereira Da Costa
635e1243e7 Removed unnecessary Qt path in includes. 2013-08-02 09:39:09 +02:00
Martin Gräßlin
22e2efea22 QX11Info is no longer in QtGui 2013-08-02 08:37:36 +02:00
Hugo Pereira Da Costa
e261b3b20c re-enabled compilation of the 'config' code 2013-08-01 19:38:54 +02:00
Hugo Pereira Da Costa
70553ce8a2 kmessagebox -> qmessagebox 2013-08-01 19:38:53 +02:00
Hugo Pereira Da Costa
b993d576c9 fixed compilation against qt5 2013-08-01 19:38:53 +02:00
Hugo Pereira Da Costa
e80da066ff ktabwidget -> qtabwidget 2013-08-01 19:38:53 +02:00
Hugo Pereira Da Costa
49362532ff kpushbutton -> qpushbutton 2013-08-01 19:38:52 +02:00
Hugo Pereira Da Costa
c00fdade17 moved dialog layout to ui 2013-08-01 19:38:52 +02:00
Hugo Pereira Da Costa
965aaabda8 moved QDialog layout to ui for DetectWidget. 2013-08-01 19:38:52 +02:00
Martin Gräßlin
f5819656b6 Q_SLOTS/Q_SIGNALS in Oxygen windeco 2013-07-30 06:56:16 +02:00
Martin Gräßlin
60c42b7a34 s/KLocale/KLocalizedString/g
Many headers included KLocale to use i18n and co. But those methods are
defined in KLocalizedString and not in KLocale.

With KF5 klocale.h does no longer include KLocalizedString causing lots
of compile errors.
2013-03-07 13:59:15 +01:00
Martin Gräßlin
32b6ef42b9 Strip module path from all Qt #include <>
Done with:
fixqt4headers.pl --strip-modules

REVIEW: 109176
2013-03-06 10:26:56 +01:00
Hugo Pereira Da Costa
2d9e9d6029 Fixed disabling/enabling decoration animations in non-advance mode
CCBUG: 313795
2013-02-22 17:39:56 +01:00
Chusslove Illich (Часлав Илић)
52a4115a9e i18n: contexts. 2013-01-13 10:56:07 +01:00
Hugo Pereira Da Costa
d27416983d Fixed Krazy warning about explicit constructors.
Fixed krazy warning about invalid ifdef guard in include
Fixed Krazy warning about signal/slot normalization.
fixed Krazy spelling warning in comments.
2013-01-07 12:12:14 +01:00
Hugo Pereira Da Costa
c32a73902c implemented argumentless load and save slots. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
9fb4194209 Improved changed state modification handling in shadow config widget, and updated rest of code accordingly. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
111bf3aa00 moved some signal/slots from code to designer. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
59e7d27757 use KSharedConfig to deal with configuration. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
7a9e141e76 properly track changed state modifications from exception list widget. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa
8b3457e7ed moved enable state signal/slot connections to ui, as well as initial enabled state.
properly track dialog modifications.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
ee290bc014 Clean changed state on load();
properly initialize changed state in constructor.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
30df048632 renamed shadowconfigurationui into shadowconfigwidget, for consistency with rest of the code
fixed updateChanged for closeWindowfromMenuButton
temporarily disabled updateChanged from exceptionLists.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
ea639a0ec2 renamed ConfigurationUI into ConfigWidget.
moved all ui related stuff from oxygenConfig to oxygenConfigWidget.
Implement clean 'updateChanged' method.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa
fcb275abe7 - use kcfg for shadow configuration
- move Shadow configuration UI to libs
- removed useDropShadow and useOxygenShadow options, and replaced by activeShadow::enable and inactiveShadow::enable
- use kcfg for decoration configuration. The handling of exceptions requires dedicated readConfig and writeConfig methods, implemented in oxygenutils
- changed sizegrip combobox into a check box and rephrased for clarification
2013-01-07 12:12:12 +01:00
Martin Gräßlin
533d57da60 Mark most ctors as explicit as reported by Krazy2 checker 2013-01-02 18:35:46 +01:00
Hugo Pereira Da Costa
2023fb58f4 Fixed writting of configuration so that hidden options are not overridden by default values. 2012-11-16 11:59:58 +01:00
Montel Laurent
2ed928b5f4 Fix compile with strict iterator 2012-11-15 07:52:49 +01:00
Hugo Pereira Da Costa
d5326ea461 change std::vector into QList and updated code accordingly.
Fixed compilation warnings.
2012-11-04 20:54:22 +01:00
Hugo Pereira Da Costa
15b51db1ab oxygenlistmodel: Added "contains" method to generic model, to check index validity better.
oxygenexceptionlistwidget: better check index validity in "edit" method. Also update buttons status after removing items, since
apparently selectionChanged signal is not sent by Qt.

CCBUG: 309388
2012-11-01 19:13:16 +01:00
Hugo Pereira Da Costa
f28d4ef91a Added Option to enable window close on menu double click.
CCBUG: 305738
2012-08-27 23:00:44 +02:00
Hugo Pereira Da Costa
6efd6bc702 fixed indentation. 2012-08-27 23:00:32 +02:00