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
Sebastian Kügler
2256c5ad1c
Fix text elide in button and toolbutton
...
Also use a Plasma.Label, instead of doing it on our own
2013-08-14 05:46:55 +02:00
Sebastian Kügler
db9b0016d1
remove last remains of kdebug
2013-08-09 04:14:26 +02:00
Marco Martin
ea42678895
make minimumWidth/maximum/implicit exportable
...
both the applet and its compact representation can now export minimumWidth,implicitWidth etc and those are exported to the root graphics item.
the minimum width of the applet is used to collapse in popup
2013-08-05 15:37:21 +02:00
Kevin Ottens
0e590217f8
Port away from kdebug
2013-07-30 08:05:09 +02:00
Marco Martin
c0f3730686
forward port the scrolling fixes of plasma1 vers
2013-07-16 19:30:25 +02:00
Marco Martin
5b0b17f86a
respect contents hints
2013-07-01 18:21:29 +02:00
Sebastian Kügler
057d592a1a
Ensure the busyindicator is square
2013-06-17 15:22:15 +02:00
Marco Martin
7a7914126e
Switch is a CheckBox on desktop
...
the sliding Switch is touch specific
2013-05-25 12:50:32 +02:00
Marco Martin
669ed7a35c
register Units
2013-05-16 13:39:30 +02:00
Marco Martin
75cbf80f47
add Units from Plasma1
2013-05-15 17:58:30 +02:00
Marco Martin
c13a58cf11
checkable and checked properties
2013-05-09 16:16:16 +02:00
Sebastian Kügler
b68317e930
Use QVariant for MenuItem::icon
...
This way, we can cover string and QIcon assignments transparently,
another backwards compatibility fix, and easier thing in Plasma2: Now
the user doesn't have to worry about creating QIcons, but can just
assign the icon name, and it will get loaded from the theme. Models that
provide QIcons (such as QStandardItems) now work correctly with
PlasmaCore.MenuItems.
2013-04-30 02:50:42 +02:00
Marco Martin
31e39640ce
correct kdeclarative includes
2013-04-26 17:36:45 +02:00
Stephen Kelly
268f44fc3b
Remove use of qt4_automoc.
...
It is obsolete.
2013-04-12 11:09:43 +02:00
Marco Martin
c3e2a6e671
smaller sectionscroller
2013-04-05 11:08:30 +02:00
Sebastian Kügler
cbe0d39b99
add spacing in buttonrow and column
2013-03-27 22:27:22 +01:00
Sebastian Kügler
a0fb4356dc
Positioning of Menu on screen
...
Actually quite a bit more lightweight than its QGV predecessor.
2013-03-26 22:34:35 +01:00
Sebastian Kügler
0ef4080e4f
positioning for context menu
2013-03-26 22:17:25 +01:00
Sebastian Kügler
335e0b6d9d
Port Menu and MenuItem to QtQuick2
...
In MenuItem, we can't inherit QAction anymore (our MenuItem has to be a
QQuickItem), so we need to aggregate, which means adding glue API.
Positioning code is disabled, icons broken, but a QMenu with our items
inside shows up and is works.
2013-03-26 20:15:56 +01:00