Martin Gräßlin
2837550cbb
[kcm-kwintabbox] Add properties brightness and saturation to ThumbnailItem
...
This was missing from what is available in KWin core. The brightness and
saturation are implemented using a custom shader which uses the same
logic as what we use in the scene shader.
2014-01-03 16:54:07 +01:00
Martin Gräßlin
19d567ef7f
[kcm-kwintabbox] Use QQuickItem for Thumbnail instead of QQuickPaintedItem
...
We are only rendering an image, so it's better to load the image into a
texture. This allows to properly scale the example preview which
magically fixes all the layouting problems which used to be there.
2014-01-03 14:10:17 +01:00
Martin Gräßlin
33921a9535
[kcm-kwintabbox] Add a debug message on failed QML loading
...
If the Layout Preview fails to load the Qml, at least show a debug
message to see what's going wrong.
2014-01-03 11:24:23 +01:00
Mihail Ivchenko
26f390f4ed
[kwin/kcm-tabbox] Implemented ExampleClientModel::longestCaption()
...
REVIEW: 114608
2013-12-22 12:38:05 +01:00
Martin Gräßlin
1d7ee61741
[kwin] Register QAbstractItemModel as a qml type in TabBox
...
It's needed if we don't import any Plasma components.
2013-12-16 11:48:41 +01:00
Martin Gräßlin
f5340a27c5
[kwin/tabbox] Drop define TABBOX_KCM
...
No longer needed as the preview does not include the tabboxhandler
any more.
2013-12-12 11:29:25 +01:00
Martin Gräßlin
f63797d3b1
[kcm-kwintabbox] Fix icon in preview
2013-12-12 11:26:57 +01:00
Martin Gräßlin
058a5da2dd
[kcm-kwintabbox] Adjust Preview to the new Switcher API
...
Needs to implement a dummy switcher item. As the root item of the
switchers are no longer QQuickItem derived it cannot use a QQuickView.
Instead a component gets created and the switcher is just shown on the
primary screen. It's a more appropriate preview now which is not
put into a dialog window.
To make it more realistic (and to be able to dismiss it) the preview
grabs keyboard and mouse and closes itself if escape, return, enter or
space is pressed.
As well clicking outside the preview window closes the preview.
2013-12-12 11:19:16 +01:00
Martin Gräßlin
2e78144a14
[kcm-kwintabbox] Add clipTo property to thumbnailitem implementation
2013-12-12 10:10:47 +01:00
Martin Klapetek
54bc491c46
Port to KF5 renaming changes
2013-12-11 21:41:47 +01:00
Martin Gräßlin
c063978591
Adjust to new KGlobalAccel framework
2013-12-10 07:38:54 +01:00
Aleix Pol
f8468b4043
Drop KDE4Support in kde-workspace/kwin
...
REVIEW: 114316
2013-12-05 20:24:02 +01:00
Martin Gräßlin
a4169ae35f
Remove unneeded KDebug include
...
REVIEW: 114289
2013-12-05 09:40:48 +01:00
l10n daemon script
8484628fd0
SVN_SILENT made messages (.desktop file)
2013-11-24 04:09:32 +00:00
Aleix Pol
7b110f0671
Improve CMake usage
...
It's basically a run of the port-cmake.sh script in here, mostly the changes
are the following:
- Using KF5::* targets
- Using the proper macros, following recent developments in frameworks
2013-11-15 13:37:47 +01:00
Martin Gräßlin
62ae322e70
[kwin/tabbox] Re-add dependency to kdeclarative
2013-11-13 10:59:38 +01:00
Aurélien Gâteau
05b6de1002
${KDE4Support_LIBRARIES} => KF5::KDE4Support
...
Fixes a few link errors
2013-10-29 13:00:46 +01:00
Sebastian Kügler
b68867463e
Change KF5::plasma to KF5::Plasma
...
Library name has changed in plasma-framework to bring it in line with
KF5:CamelCasing naming.
2013-10-16 01:36:56 +02:00
Sebastian Kügler
c542fda7af
Add KService and KCompletion to targets
2013-10-04 22:14:17 +02:00
Martin Gräßlin
97572f3dbb
[kcmtabbox] kcmshell4 -> kcmshell5
2013-10-01 07:27:21 +02:00
Martin Gräßlin
ffd1bb1dec
[kcmtabbox] Adjust target link libraries to get it compile again
2013-10-01 07:16:56 +02:00
Martin Gräßlin
db89652175
[kcmtabbox] Preview goes QtQuick
...
QQuickView instead of a QDeclarativeView. As background a white element
is used.
2013-10-01 07:15:11 +02:00
Martin Gräßlin
06033f1263
[kcmtabbox] Fix includes
2013-09-30 15:13:14 +02:00
Martin Gräßlin
81301d42ac
[kcmtabbox] slots -> Q_SLOTS
2013-09-30 15:12:36 +02:00
Martin Gräßlin
5c23434b6d
[kcmtabbox] Adjust to new API
...
* no componentData()
* no insertCatalog()
2013-09-30 15:11:34 +02:00
Martin Gräßlin
a560147d70
[kcmtabbox] KIcon -> QIcon::fromTheme
2013-09-30 15:09:07 +02:00
Martin Gräßlin
3a54d6bd42
[kcmtabbox] Adjust to new global shortcut handling
...
* KAction -> QAction
* init of KActionCollection
2013-09-30 15:07:49 +02:00
Martin Gräßlin
2baa345d10
[kcm-tabbox] Use a QQuickPaintedItem for the ThumbnailItem
2013-09-30 15:02:58 +02:00
Anselmo L. S. Melo
00d507b7ff
Porting kcmkwin to Qt5/KF5: QStandardPaths
...
REVIEW: 111975
2013-08-13 17:55:49 -03:00
Sebastian Kügler
08a53e6a11
Remove K_EXPORT_PLUGIN macros
...
Include .moc file in configs_builtins.cpp, and reenable the build of the
configs.
REVIEW:111940
2013-08-08 13:47:25 +02:00
l10n daemon script
dcd670692b
SVN_SILENT made messages (.desktop file)
2013-07-01 03:54:58 +00:00
Script Kiddy
dfd72523b1
SVN_SILENT made messages (.desktop file)
2013-05-02 09:17:01 +02:00
Martin Gräßlin
8037e6529c
Rename ThumbnailItem to WindowThumbnailItem
...
This is for discrimination from the to be added DesktopThumbnailItem.
The name for QML is unchanged to keep the public API stable.
2013-04-24 11:43:22 +02:00
Martin Gräßlin
badc7a2bc4
Remove show outline from TabBox
...
It's an option doing pretty much the same as the highlight of selected
window option. But it is known to conflict especially with some Plasma
themes.
BUG: 310935
FIXED-IN: 4.11
REVIEW: 110140
2013-04-24 10:02:57 +02:00
Martin Gräßlin
98a04893a6
Use mgraesslin@kde.org for my mail address in Copyright and AboutData
2013-03-12 13:17:53 +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
Script Kiddy
7d821f3814
SVN_SILENT made messages (.desktop file)
2013-01-26 09:04:17 +01:00
Thomas Lübking
d4e12dc815
keep tabbox kcm more on the left
...
CC: kde@privat.broulik.de
2013-01-23 21:27:44 +01:00
Weng Xuetian
d24ed172cb
Merge remote-tracking branch 'origin/KDE/4.10'
2013-01-10 03:04:28 -05:00
Weng Xuetian
b266b2fb2d
fix kwintabbox kcm layout
...
gridlayout doesn't work with spacer to center some widget. use BoxLayout
instead.
2013-01-09 15:06:30 -05:00
Albert Astals Cid
dec63fb987
Merge remote-tracking branch 'origin/KDE/4.10'
2013-01-07 11:04:39 +01:00
Script Kiddy
c6d91ac7eb
SVN_SILENT made messages (.desktop file)
2013-01-07 08:11:48 +01:00
Martin Gräßlin
533d57da60
Mark most ctors as explicit as reported by Krazy2 checker
2013-01-02 18:35:46 +01:00
Script Kiddy
12f341712c
SVN_SILENT made messages (.desktop file)
2012-12-24 09:05:36 +01:00
Script Kiddy
d7316b9fcb
SVN_SILENT made messages (.desktop file)
2012-12-23 08:01:50 +01:00
Script Kiddy
dc5da9b081
SVN_SILENT made messages (.desktop file)
2012-12-22 08:12:14 +01:00
Script Kiddy
ef0cae8dab
SVN_SILENT made messages (.desktop file)
2012-12-18 15:28:22 +01:00
Hugo Pereira Da Costa
e883eab762
Fix double vertical separator in Task Switcher KCM
...
REVIEW: 107778
2012-12-17 17:33:22 +01:00
Script Kiddy
49a373b681
SVN_SILENT made messages (.desktop file)
2012-12-01 08:03:43 +01:00
Script Kiddy
e6f0f5bcf7
SVN_SILENT made messages (.desktop file)
2012-11-26 07:08:50 +01:00