Commit Graph

12695 Commits

Author SHA1 Message Date
David Edmundson
1dc6d98aa3 Allow shift in global shortcut 2014-03-05 19:37:41 +01:00
David Edmundson
a8ddfe1def Connect to real window changed signal
In PanelView screenChanged is redeclared in order to create a property.
However this signal is not the one that is emitted.

This fixes the confif following the panels when moving between screens

Reviewed-by: Aleix Pol
2014-03-05 18:41:50 +01:00
David Edmundson
b5a04c55ea Add missing license 2014-03-05 18:09:47 +01:00
David Edmundson
48e8e588a6 Add documentation on FrameSVGItem updating 2014-03-05 18:07:54 +01:00
David Edmundson
fb7451051e Expose globalShortcut in AppletInterface so it can be set from the config 2014-03-05 17:28:50 +01:00
David Edmundson
7e7fe6f972 Add KKeySequence QtQuick clone 2014-03-05 17:28:50 +01:00
David Edmundson
6599c25087 Port FrameSVGItem to paint directly
REVIEW: 116618
2014-03-05 17:24:13 +01:00
Marco Martin
c3d6c00a95 if parent = 0, component is complete
the tooltip dialog is created from c++, not qml

this fixes dialog positioning for tooltips
2014-03-05 17:03:47 +01:00
Marco Martin
dff653354f use the Id, not the wid 2014-03-05 16:09:54 +01:00
Aleix Pol
f8be8ab0fd Fix glitch in PanelView
Never use the window size to figure out the thickness: This is bad because
sometimes this will get called before the move hasn't been effective, which
results in full-screen struts. Use the thickness method from KConfig
instead.

REVIEW: 116614
2014-03-05 16:09:16 +01:00
Aleix Pol
78c6e452df Reduce QWindow::setGeometry calls
Don't call setPosition and resize, but do it all at once in a setGeometry
call. It simplifies the life of the QPA and WM, also it's quite faster as
we reduce the calls to the WM by half (both setPosition and resize are
syntax-sugar for setGeometry)

REVIEW: 116614
2014-03-05 16:08:09 +01:00
Aleix Pol
da325d037b Make the PanelView::distance change immediate
This way we can use it from the EdgeHandle without having to stop moving
the mouse first.

Reviewed by Marco Martin
2014-03-05 16:06:32 +01:00
Marco Martin
828edd8b40 finish porting 2014-03-05 15:49:15 +01:00
Marco Martin
9a487cb771 use the model 2014-03-05 15:24:25 +01:00
Marco Martin
f3c0fd0b10 import layouts 2014-03-05 15:12:55 +01:00
Aleix Pol
03dcec82b5 Remove unused variables 2014-03-05 14:28:06 +01:00
Aleix Pol
017387a0b2 Fix dis/connects in the panelview
When porting to the new syntax I saw that the slot was also missing, I
made it trigger the unhide timer.

REVIEW: 116613
2014-03-05 14:26:35 +01:00
Luigi Toscano
fee3913bc5 Use DocBookXML 4.5 for documentation 2014-03-05 00:03:32 +01:00
Marco Martin
b388a0d76b expose hasElementPrefix() method 2014-03-04 18:13:46 +01:00
Marco Martin
a0aa88f00d formFactorChanged, locationchanged signals 2014-03-04 18:13:19 +01:00
Marco Martin
9cac91b652 try harder to avoid scroll buttons
also event copmpress the relayout
2014-03-03 22:24:05 +01:00
Marco Martin
9c600c5d68 add a new property in TabBar: tabPosition
it makes the tabbar eventually vertical and appearing oriented differently towards the content

possible values:
Qt.TopEdge (default)
Qt.LeftEdge
Qt.RightEdge
Qt.BottomEdge
2014-03-03 19:43:13 +01:00
David Faure
4f784339b6 Make ktexteditor an optional dependency 2014-03-01 18:47:00 +01:00
David Faure
4152a12390 Upgrade ECM version requirement and KF5 version. 2014-03-01 12:52:02 +01:00
Marco Martin
31707f406c locally manage the ToolTipDialog singleton
ToolTipDialog is not a Q_GLOBAL_STATIC because QQuickwindows as global static
are deleted too later after some stuff in the qml runtime has already been deleted,
causing a crash on exit
2014-02-28 19:12:14 +01:00
Marco Martin
0a8df8895f don't access a global static when destroyed 2014-02-28 17:08:37 +01:00
Marco Martin
92d2e6adb6 icon and title for the desktop window 2014-02-28 16:26:57 +01:00
David Edmundson
66bac622b4 Merge branch 'davidedmundson/svgrendering'
Conflicts:
	src/declarativeimports/core/svgitem.cpp
	src/declarativeimports/core/svgitem.h

REVIEW: 115923
2014-02-28 16:22:49 +01:00
Aurélien Gâteau
16b6578806 Hopefully fix build on CI
CI noX11 variant fails, complaining HAVE_X11 is not set. I assume this is
because the call to add_definitions is too late. Using config-plasma.h is
cleaner anyway.
2014-02-28 16:09:34 +01:00
David Edmundson
6968ab8117 Set filtering so SVG's look nice and smooth 2014-02-28 15:58:05 +01:00
David Edmundson
8bdbc034d4 Add SVG::image(QSize size,QString elementId)
This allows SVGItem to fetch elements at various sizes without resizing
the SVG.
2014-02-28 15:24:08 +01:00
Sebastian Kügler
f3cf993882 Shush 2014-02-28 14:54:19 +01:00
Marco Martin
f4225e95c2 correct positioning in vertical panels 2014-02-28 14:33:52 +01:00
Marco Martin
c615013d96 restore panel autohide functionality 2014-02-28 12:41:56 +01:00
Marco Martin
ccd8f8494d workaround a crash in qt during drop events
delay adding an applet with a queued connection.
this should be reverted once this is fixed:
https://bugreports.qt-project.org/browse/QTBUG-35702
2014-02-27 17:39:42 +01:00
Marco Martin
f1448ed71c use the namespace 2014-02-27 16:33:02 +01:00
Marco Martin
7c14b22fc0 Qt5::Widgets not used anymore 2014-02-27 13:20:26 +01:00
Marco Martin
f5ce791246 Qt5::Network not used anymore 2014-02-27 13:19:00 +01:00
Marco Martin
9253bc1cf0 threadweaver not used anymore 2014-02-27 13:06:39 +01:00
Marco Martin
13bb3fa054 solid isn't used 2014-02-27 12:59:37 +01:00
Marco Martin
4817e11441 don't depend from Auth 2014-02-27 12:51:24 +01:00
Marco Martin
88122c62a5 don't depend from DNNSD
it wasn't actually used anymore
2014-02-27 12:50:32 +01:00
Marco Martin
1fd741b5d3 Merge branch 'mart/interactiveconsole'
REVIEW:116085
2014-02-26 18:35:49 +01:00
Marco Martin
d703996b24 initialize variabiles 2014-02-26 17:00:55 +01:00
Marco Martin
b2fec905b5 Merge branch 'mart/svgHiDpi'
REVIEW:116027
2014-02-26 16:39:52 +01:00
Marco Martin
c2812c30e5 add copyright 2014-02-26 16:24:28 +01:00
Marco Martin
a67b3c78f8 remove kcomponentdata
we are completely free of KDE$Support now
2014-02-26 16:17:33 +01:00
Marco Martin
6402338ac2 remove KIcon 2014-02-26 16:11:55 +01:00
Marco Martin
16182e90a6 remove KTextBrowser 2014-02-26 16:09:37 +01:00
Alex Merry
7dc3895451 Fix build
Link test that includes QQmlAbstractUrlInterceptor against Qt5::Qml.
2014-02-26 15:04:05 +00:00