Marco Martin
9976c47ad9
add a transientParent property
...
if this contextmenu is done from a Dialog, add this as transientParent
2014-02-24 14:01:05 +01:00
Sebastian Kügler
bc7a54bb09
Compile-time connect in PlasmaComponents.Menu
2014-02-18 01:05:26 +01:00
David Edmundson
e82b1dab9d
Enable Plasma Controls for tab-navigation
2014-02-06 12:35:32 +01:00
David Edmundson
a3a434ced5
Upgrade all components to use QtQuick2.1
...
This has some new features like activeFocusOnTab which are awesome.
2014-02-06 12:16:43 +01:00
David Edmundson
b97e726ae2
Set minimumWidth of button to actually show the text
...
The minimumWidth of a plasma button is based on the paintedWidth
of the text item. There is no way to work out the correct width it
should be if we set the text to elide.
(except for the hack of using a hidden fake text item)
We should always fit contents. This won't cause any problems unless a
developer has a broken layout, at which point that should be fixed
REVIEW: 115500
2014-02-05 17:00:34 +01:00
Sebastian Kügler
09564783a3
Fix wrong property name
2014-02-04 03:15:01 +01:00
Sebastian Kügler
1d0c41f936
Fix animations with animations disabled
...
This may sound a bit weird, but we can't just switch off everything, as
in some cases, the animation is not just eye-candy, but carries
important semantics of the UI -- examples are BusyIndicator and
ProgressBar. Behaviour for those is restored.
2014-02-04 01:32:12 +01:00
Sebastian Kügler
86e458cdd0
Normalize animations in PlasmaComponents
2014-02-04 00:16:55 +01:00
Sebastian Kügler
27eae008d6
250ms animations become units.longDuration
2014-02-03 18:56:32 +01:00
David Edmundson
9de921e34d
Warnings-- if modelData.seperator is not set
2014-01-29 18:39:20 +01:00
Sebastian Kügler
cc7bd8e11e
Port from theme iconsize to units.iconSizes.*
2014-01-23 00:24:38 +01:00
Sebastian Kügler
e10b77f236
Move units from PlasmaComponents into PlasmaCore
2014-01-23 00:06:43 +01:00
Sebastian Kügler
7e5604cc56
icon sizes move into Units
...
They go into the propertymap, so are accessible now with
units.iconSizes.huge, units.iconSizes.large, etc.
2014-01-22 23:59:23 +01:00
Sebastian Kügler
d51711edc6
Add dpi function from theme
...
printScreenInfo() has the debugging prints for now, removes random crap
from the shell output.
2014-01-22 01:36:30 +01:00
Sebastian Kügler
0c3e49866a
Add dpiScale property to dynamically scale the whole ui
2014-01-22 01:18:54 +01:00
Sebastian Kügler
60950e8333
Correct api docs
2014-01-22 00:39:54 +01:00
Sebastian Kügler
0dc8a7ee53
Move iconSizes from theme here
...
This is means two things:
- icon sizes have moved from theme.iconSizes.* to units.iconSizes.*,
will provide porting script and update docs
- we can kill PlasmaCore's ThemeProxy now. Icon sizing and dpi handling
is kept outside of Plasma::Theme for now, as it pulls in too many
deps.
2014-01-22 00:28:09 +01:00
Sebastian Kügler
c84e549715
Use msize.height, not width for gridUnit
...
This change does two things:
- it increases the gridUnit to 11 pixel on 102DPI, 18 on 170DPI. This
means on the one hand larger sizing, but aligns gridUnit and
theme.largeSpacing consistently, and thus makes these types work
together better.
- it scales the gridUnit with the DPI. The width of the font's bounding
box doesn't change on the displays I've tried, the height does.
As a result, gridUnit now scales linearly with the DPI setting.
2014-01-21 23:47:32 +01:00
Sebastian Kügler
13a6a38628
Some debugging for gridUnit
2014-01-21 17:55:47 +01:00
Marco Martin
92fe107329
put namespace around KDeclarative
2014-01-13 21:21:14 +01:00
David Edmundson
d200bd0d16
Add a new component ModelMenu
...
This is a wrapper round ContextMenu that allows one to populate
the menu items from a model
REVIEW: 114925
2014-01-10 12:28:29 +01:00
Aleix Pol
e1a868e4f6
Fix QMenuItem connections
...
Don't emit twice textChanged when changed.
checkableChanged signal doesn't exist anymore. Use changed instead as
suggested by the Q_PROPERTY
2014-01-07 16:45:27 +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
Marco Martin
4f3228ab44
fix rendering issues
2013-12-27 11:23:16 +01:00
Christophe Giboudeaux
26948d0cea
Fix includes
2013-12-19 15:23:02 +01:00
Sebastian Kügler
462cfdcdc7
Port from activateWindow to requestActivate
2013-12-17 03:05:16 +01:00
Aurélien Gâteau
02d6b37976
Renames for the KF5 prefix
2013-12-11 21:40:54 +01:00
Martin Klapetek
3214bd8132
Add KF5 prefix to plasma framework
...
This changes the lib name and package names to follow other frameworks
libFoo -> libKF5Foo
find_package(KFoo) -> find_package(KF5Foo)
REVIEW: 114389
2013-12-11 21:40:54 +01:00
Aleix Pol
6c82a1ee86
Reduce compiler warnings
...
Remove unused and deprecated headers
Port some K_GLOBAL_STATIC to Q_GLOBAL_STATIC
2013-12-09 16:50:18 +01:00
Aleix Pol
0fa21b4af5
Iterate over the cmake scripts
...
Prefer using imported targets rather than cmake variables.
2013-11-15 16:46:59 +01:00
Sebastian Kügler
7b0faed939
Remove QIconItem
2013-10-30 17:20:57 +01:00
Sebastian Kügler
79ad02c244
Out of bounds checking for array access
...
This fixes a crasher in v4, without backtrace. Trying to reproduce it
in a simpler case, but this at least makes PageStack work.
2013-10-28 04:20:52 +01:00
Stephen Kelly
b071260d15
Use target name instead of variable.
2013-10-24 12:45:26 +02:00
Aleix Pol
af8a7bad7d
Stop using Qt5Transitional in Plasma Frameworks
...
Removes the find_package(Qt5Transitional) and does the proper
find_package(Qt5) with the list of modules.
Most of the porting is about using the Qt5:: targets.
REVIEW: 113345
2013-10-22 00:40:17 +02:00
Sebastian Kügler
d5bef21f7b
Rename target plasma to Plasma
...
This is in line with the frameworks naming policy, camelcasing. Up until
now, libplasma was the only library being KF5::plasma, that is now
KF5::Plasma.
2013-10-16 00:47:47 +02:00
Sebastian Kügler
c7c9e8fefc
Put steve's changes back in
...
CCMAIL:steveire@gmail.com
2013-10-13 02:00:32 +02:00
Sebastian Kügler
c2be5b6b12
Revert bef789642e
...
That commit breaks the build, not finding qtest_kde.h, and cascading
errors from there.
CCMAIL:steveire@gmail.com
2013-10-12 21:47:07 +02:00
Stephen Kelly
bef789642e
Remove obsolete include_directories use.
2013-10-12 15:25:19 +02:00
Sebastian Kügler
2ad8ff7c55
plasmacomponents builds without kde4support
2013-10-05 02:48:09 +02:00
Aleix Pol
1891066fc2
Adapt to kdelibs ab56e2f.
2013-10-04 18:40:47 +02:00
Marco Martin
9b3b387b0b
new install targe
2013-09-18 21:36:36 +02:00
Marco Martin
cdc778f417
test applet for config uis
2013-09-11 17:39:09 +02:00
Marco Martin
abbe19722f
use native text rendering
2013-09-06 13:43:19 +02:00
Marco Martin
86a2847c84
revert bd6927138f
...
apparently we can't tap into the valuetype conversion of QFont at all
theme.mSize(font) it is
2013-08-28 14:07:07 +02:00
Sebastian Kügler
19c4b555d5
Less warnings in TabButton
2013-08-27 04:27:28 +02:00
Andreas Cord-Landwehr
24c60ed48c
Fix button width computation when height is set.
...
This commit fixes the button label overlapping over the button borders
when the button height is manually set to a value bigger than the
icon's smallsize.
Review done by notmart on IRC.
2013-08-22 21:14:42 +02:00
Martin Gräßlin
531e6c3db5
Fix linking
...
KDEUI is dead which caused quite some collateral damage in our
CMakeLists.
2013-08-20 07:47:09 +02:00
heena mahour
b17ca9f007
Merge branch 'heenamahour/gsoc' of git://anongit.kde.org/plasma-framework into heenamahour/plasma2
2013-08-17 08:15:01 +00:00
heena mahour
3fb515ca6d
Added margin Hints to highlight and indent Desktop.qml
2013-08-16 15:36:32 +00:00