Marco Martin
84df832f5c
Merge branch 'mart/modelsInDataEngine'
2014-01-02 11:05:20 +01:00
David Faure
9f6611b73d
remove unused include
2014-01-01 14:19:01 +01:00
Marco Martin
a7470063a0
model()->modelForSource()
2013-12-30 10:42:25 +01:00
Marco Martin
dea7942533
add DataEngine::setModel
2013-12-30 10:22:06 +01:00
Sebastian Kügler
e9a43b165b
Quicker animation in pagestack
2013-12-28 06:57:57 +01:00
Sebastian Kügler
682affabf8
Allow to switch off pagestack transitions
2013-12-28 06:44:58 +01:00
Sebastian Kügler
a50398f433
Use QQuickItem::implicit{Width,Height}
...
... instead of overriding the property.
Removes a warning whenever the implicit width and height changes, and
reduces the API footprint of AppletInterface.
2013-12-28 03:43:22 +01:00
Sebastian Kügler
e5ad29dabf
Adjustments to theme.textColor changes
...
The larger headings are a bit softened, to make their stick out less,
the font is meant to take care of this. Result: visually more consistent
colouring, strangely. Human eyes are beautifully complex things.
2013-12-28 01:07:06 +01:00
Sebastian Kügler
781ba8b4c7
Make theme.smallSpacing useful
...
On normal dpi displays, this will give two pixels, but will scale up for
higher DPI.
2013-12-28 01:06:07 +01:00
Sebastian Kügler
84b6e6a245
Adjustments for theme.textColor
...
textColor is now used from the theme, there it is made grey, similar
effect, less code, more consistency.
2013-12-28 01:05:09 +01:00
Alex Merry
778bf0ac0b
Clean up target_link_libraries for KF5Plasma
...
It is now a single call using PUBLIC and PRIVATE keywords. This removes
a CMake warning about using LINK_INTERFACE_LIBRARIES.
REVIEW: 114683
2013-12-27 16:29:14 +00:00
Marco Martin
86369030de
extra whitelist of allowed paths
2013-12-27 14:59:37 +01:00
Marco Martin
10f412ca4a
move toolbox stuff in containment
2013-12-27 13:58:16 +01:00
Marco Martin
92073445ce
don't reparent before the applet is expanded or not
2013-12-27 13:26:30 +01:00
Marco Martin
4f3228ab44
fix rendering issues
2013-12-27 11:23:16 +01:00
Marco Martin
0d77298d1b
OR, not AND
...
a source is unused if there anre no relays OR nothing directly connected
2013-12-24 17:35:48 +01:00
Marco Martin
f692b5aa74
crash--
2013-12-24 17:11:27 +01:00
Marco Martin
3184551ddb
install the example in the proper place
2013-12-24 16:58:47 +01:00
Marco Martin
e272c31300
OR, not AND
...
a source is unused if there anre no relays OR nothing directly connected
2013-12-24 16:58:08 +01:00
Marco Martin
4e2db852dc
apidocs++
2013-12-24 15:46:22 +01:00
Marco Martin
a721878fda
use q QQmlPropertyMap, crash-- and more efficient
2013-12-24 15:42:44 +01:00
Marco Martin
124139c2bf
working models, add an example applet
2013-12-24 15:21:21 +01:00
Marco Martin
c318acb242
make use of the model embedding
2013-12-24 14:29:53 +01:00
Marco Martin
98d8bacf2b
Revert "remove unused typedefs"
...
This reverts commit 104e8d9e1f
.
2013-12-24 14:05:08 +01:00
Marco Martin
80d4ba326e
Revert "remove unused typedefs"
...
This reverts commit 104e8d9e1f
.
2013-12-24 14:02:20 +01:00
Marco Martin
eb47805d72
DataContainer can carry a QAbstractItemModel aroun
...
same rules of sharing and memory management apply.
The model will be shared between all visualizations and deleted when nobody is connected to the source anymore
2013-12-24 13:51:20 +01:00
Marco Martin
35b43f097e
remove some references to graphicsitems
2013-12-24 12:35:24 +01:00
Marco Martin
104e8d9e1f
remove unused typedefs
2013-12-24 11:28:49 +01:00
l10n daemon script
2c181c5819
SVN_SILENT made messages (.desktop file)
2013-12-24 03:52:26 +00:00
Marco Martin
21fde267fb
activityName available again
2013-12-23 17:00:15 +01:00
Marco Martin
3b24340cc8
manage the case loading is not immediate
2013-12-23 16:00:40 +01:00
Marco Martin
fba45d9360
remove dead code
2013-12-23 14:27:22 +01:00
Aleix Pol
d2992acfa7
Fix QObject::connect() warnings
...
Adapt to changes in Plasma::Corona
2013-12-19 17:31:28 +01:00
Christophe Giboudeaux
09ccb8712b
Forgot to remove the line
...
GIT_SILENT
2013-12-19 15:39:25 +01:00
Christophe Giboudeaux
26948d0cea
Fix includes
2013-12-19 15:23:02 +01:00
Christophe Giboudeaux
d71f581115
Remove unneeded includes
2013-12-19 15:23:02 +01:00
Martin Klapetek
3e659dd29e
Simply subtract the width from the edge
2013-12-19 12:53:37 +01:00
Bhushan Shah
c244f181af
Fix typo
2013-12-19 17:14:27 +05:30
Àlex Fiestas
094303ee3f
[popup] Use QWindow::width instead of item.boundingRect to fix X
...
Since we are checking if the width() is out of bounds we should also use
width() to correct the position.
Other cases might need change as well, but I think we better go in a case
by case bases to fix all possible issues.
2013-12-19 12:20:22 +01:00
Àlex Fiestas
47fe1f7497
We shouldn't take "lock widgets" from corona, but only from containment
...
It is up to the Containment to decide if the user is allowed or not
to lock/unluck the widgets, so corona should not add one when there is none
(user is not allow) and it shouldn't add another one when there is already
one.
Fixes duplicated action in toolbox.
2013-12-18 21:58:55 +01:00
Àlex Fiestas
cddee3cbf2
Use KActionCollection::addAction instead of add<T>
...
I'm not sure for what reason this was changed but it is clearly wrong,
we don't want to create a new action but rather re-add (as the hack says)
the action we took before.
Fixes "Empty action" in toolbox.
2013-12-18 21:36:28 +01:00
Aleix Pol
1e9322500f
Define DNSSD as a dependency
2013-12-18 18:30:54 +01:00
Aleix Pol
32868d73d2
Revert "KDNSSD framework was renamed to DNSSD"
...
This reverts commit 493d19f362
.
My bad, sorry guys
2013-12-18 18:26:00 +01:00
Aleix Pol
493d19f362
KDNSSD framework was renamed to DNSSD
...
Adapt to the change
2013-12-18 18:18:10 +01:00
Sebastian Kügler
1c0f221ac5
One pixel offset needed for Fitt
...
The panel would be one pixel above the bottom edge, which prevents us
from using the invisible space beyond the panel. This makes the panel
flush with the bottom edge.
2013-12-18 01:38:21 +01:00
Aleix Pol
e5b435f53d
Use the availableGeometry to calculate the struts
...
The virtualGeometry comprises all the screens and it's not what we're aiming
for in this case.
2013-12-18 01:11:30 +01:00
Aleix Pol
653d044292
Consistency
...
Use the thickness() method to query the thickness instead of querying
KConfig directly
2013-12-18 01:11:30 +01:00
Aleix Pol
d988b6f5da
Consistency change
...
Deal with length like we deal with thickness
2013-12-18 01:11:30 +01:00
Alex Merry
de868b6047
Fix build now DNSSD is KDNSSD
2013-12-18 00:05:04 +00:00
Sebastian Kügler
79b7a3b271
Fix borders in dialog depending on location
...
- We would only check for the available screen, but not for the location
when applying borders. Fix that.
- Cache dialog geometry when going fullscreen, so we can restore it when
we're not fullscreen anymore.
- Remove temporary var l, we have m_location for that.
2013-12-18 00:47:09 +01:00