Giorgos Tsiapaliokas
6d000fe183
s/QVariantHash/QVariantMap.
...
QVariantHash isn't consumable from QML
2013-07-29 19:09:06 +03:00
Kevin Ottens
c42406cabc
Pull in the KDE4Attic dependency
2013-07-25 11:54:15 +02:00
Marco Martin
c0f3730686
forward port the scrolling fixes of plasma1 vers
2013-07-16 19:30:25 +02:00
Alex Neundorf
454bf83be3
-adapt to current changes in kdelibs regarding kde4support: use ${KDE4Support_LIBRARIES} when using it
...
Search for KDE4Support, but after searching KDELibs4, this is hackish, but currentlx necessary due to
cyclic dependencies we still have
Alex
2013-07-11 22:57:04 +02:00
Marco Martin
5b0b17f86a
respect contents hints
2013-07-01 18:21:29 +02:00
Kevin Ottens
c36c625d9c
Port away from KUrl
2013-06-27 16:39:03 +02:00
Sebastian Kügler
6389825172
User Q_ macros for signals and slots
2013-06-21 02:22:02 +02:00
Marco Martin
b324f520fb
qt5 port of DirModel
2013-06-19 17:38:06 +02:00
Sebastian Kügler
2b6eea985e
use ecm macros for tests in qtextracomponents
2013-06-19 02:51:59 +02:00
Sebastian Kügler
66ed317518
Port and enable unit tests for core bindings
...
All pass.
2013-06-19 02:48:09 +02:00
Sebastian Kügler
eafac77910
clean up include
2013-06-19 01:15:08 +02:00
Sebastian Kügler
728cf2e53f
don't use startdragdistance here
...
emit click if the cursor is still in the area regardless of the
distance travelled
this because MouseEventListener doesn't start drags
BUG:320893
FIXED-IN:4.11
cherry-picked from ac9592832893cd6562dc0747f8afc1d7f89442c8 in
kde-runtime
2013-06-17 15:25:29 +02:00
Sebastian Kügler
057d592a1a
Ensure the busyindicator is square
2013-06-17 15:22:15 +02:00
Marco Martin
50ee44b70d
Merge branch 'PlasmaTypesClass'
2013-06-12 11:24:03 +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
570d0bdc05
export the Plasma::Types object
2013-05-15 19:51:05 +02:00
Marco Martin
75cbf80f47
add Units from Plasma1
2013-05-15 17:58:30 +02:00
Marco Martin
e07cbe99af
allow last column to be bigger
...
last column wisth is regulated by the page's implicitWidth, but the
final with will always be a multiple of columnWidth
2013-05-15 14:16:44 +02:00
Marco Martin
812b9a06ab
get rid of Plasma::Location
2013-05-14 18:27:27 +02:00
Marco Martin
e07600a83f
Put all Plasma emums in a Types class
...
This makes possible to use them directly frmo QML
as a minus, is not pretty and requires tons of search and replace in old
c++ code
2013-05-10 19:29:13 +02:00
Marco Martin
c13a58cf11
checkable and checked properties
2013-05-09 16:16:16 +02:00
Marco Martin
4692c941af
add ServiceOperationStatus binding
...
this class is used to monitor the enabled status of service operations
2013-05-02 18:56:00 +02:00
Marco Martin
08ed91d7e0
Data is a QVariantmap again
...
this means that DataEngines and the Storage Service are directly usable from QML2 again
2013-05-02 18:02:38 +02:00
Sebastian Kügler
47c63deb6f
elegantly work around
...
the hack
2013-04-30 02:59:02 +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
Sebastian Kügler
e4976005c6
Fix crasher with 0x0 windows
...
It can happen that the visualParent has no window attached, so don't
access it. In this case, use the visualParent's geometry.
2013-04-30 02:33:17 +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
Anant Kamath
f66a3608c0
Fixed exporting flags to QML
2013-04-12 03:12:04 +05:30
Sebastian Kügler
39de2a637c
Fix crash in SortFilterModel::mapRowFromSource()
...
It was not using the correct model to get the source index from the
row.
Patch by Aurélien Gâteau
CCMAIL:agateau@kde.org
REVIEW:109946
2013-04-10 16:19:34 +02:00
Sebastian Kügler
63366d4218
a few more optimizations and better docs for tooltip
2013-04-09 04:38:06 +02:00
Sebastian Kügler
3859dbdd07
Improve API docs
2013-04-09 04:02:19 +02:00
Sebastian Kügler
e7887ee199
more removal of unnecessary stuff
2013-04-09 03:52:59 +02:00
Sebastian Kügler
3bd1d939e8
remove maincomponent and target properties from tooltipproxy
2013-04-09 03:50:43 +02:00
Sebastian Kügler
50a4abac6d
ToolTip polishing
...
- manage mainComponent entirely in ToolTip.qml
- less resizing/setvisible makes it faster and smoother
- fix timer connects in dialog
- Kill dead code
2013-04-09 03:42:54 +02:00
Sebastian Kügler
2cc96aac45
kill tooltipwindow implementation
...
We use a dialog subclass-singleton now.
I love the smell of dead code in the morning.
2013-04-09 01:27:25 +02:00
Sebastian Kügler
9eda3882ca
Make tooltip positioning work
2013-04-09 00:09:07 +02:00
Marco Martin
c3e2a6e671
smaller sectionscroller
2013-04-05 11:08:30 +02:00
Sebastian Kügler
e0c7eaafad
dynamic object creation inside tooltip
...
The mainItem is now a Component, which gets created on demand and passed
to the tooltip dialog.
Positioning is a bit off now, but it basically seems to work as we'd
like it to.
2013-04-05 04:27:55 +02:00
Sebastian Kügler
8eab0f20f2
tooltip now uses a dialog
...
A bit crude, and only half-working, but shows up
2013-04-05 01:10:53 +02:00
Sebastian Kügler
feda4f5013
make tooltipdialog a singleton
2013-04-05 00:30:17 +02:00
Sebastian Kügler
e48908eb70
add tooltipdialog class
...
Let's try to share more code with dialog -- especially sizing, frame
painting and positioning with dialog. This means a bit of rewiring, but
should result in more lazy-loaded, shared objects.
The idea is to have at most one window, which is recycled for all
tooltips, making it possible to animate transitions.
2013-04-04 23:50:44 +02:00
Sebastian Kügler
95dddcea35
split tooltip and tooltipwindow
2013-04-04 23:33:05 +02:00
Sebastian Kügler
d207025d8f
Blur behind for tooltips
...
Also clean up flags a bit.
2013-04-04 16:00:57 +02:00
Sebastian Kügler
010f471bc7
Restore API: ToolTip.visualParent becomes target
2013-04-04 05:11:31 +02:00
Sebastian Kügler
e4ee4d6dd0
basic tooltip featureset finished
...
This implementation deviates a bit from the Plasma 1 tooltips:
- image is now a string
- tooltips align to the parent by default, or the visualParent set
Otherwise, the changes should be fairly transparant.
A crude basic featureset works.
2013-04-04 05:02:51 +02:00
Sebastian Kügler
c739f3ae58
Increase margins a bit, wm hints
2013-04-04 02:02:10 +02:00
Sebastian Kügler
7e6d750f2a
Window size synching with tooltip content
2013-04-04 01:46:02 +02:00
Sebastian Kügler
efd12a5ec1
Add components to default tooltip, fix layout
2013-04-04 01:27:14 +02:00