Marco Martin
b704d0a33a
ContainmentActions has no friends
2013-02-25 14:38:22 +01:00
Marco Martin
de57997384
remove ContainmentActions::init()
2013-02-25 14:35:06 +01:00
Marco Martin
4a24e49317
remove ContainmentActions::configurationRequired
...
plugins will have to manage themselves wether they need to be configured
2013-02-25 14:31:36 +01:00
Marco Martin
4052f596f9
remove properties and dataEngine
...
dataEngine() is no more present in ContainmentActions: DataEngineConsumer is public now
2013-02-25 14:28:05 +01:00
Marco Martin
75ddf58938
ConfigView::configPages() is a list of dialogs
...
returns a list of data to create the pages: a title, an icon and a component
2013-02-22 20:58:54 +01:00
Marco Martin
949d114eec
move the config view in a separate file
2013-02-22 18:24:36 +01:00
Script Kiddy
459b49fff9
SVN_SILENT made messages (.desktop file)
2013-02-22 18:03:06 +01:00
Sebastian Kügler
0faa120641
Convert alignment to Qt::AlignmentFlag
...
Also start a bit on the logic of setting location. Does nothing yet, but
build.
2013-02-22 16:45:08 +01:00
Marco Martin
ff089521af
actually load config ui files
2013-02-22 15:43:01 +01:00
Marco Martin
cfe6a40d3d
ad a stub config ui
...
the config ui layout will be decided from the corona.
the desktop one will end up having desktop components
still missing:
* binding to plasmoid object
* way close the dialog
* use ok/apply/cancel
* how to implement difference between ok to apply and instant apply?
2013-02-22 15:10:55 +01:00
Albert Astals Cid
0b091ec503
Add missing "
2013-02-22 13:43:24 +01:00
Sebastian Kügler
46fcb0f402
remove visualParent for QUeryDialog
2013-02-22 12:43:32 +01:00
Marco Martin
b29ddd2f27
support for vertical panels
2013-02-22 11:51:55 +01:00
Marco Martin
06ca6e57aa
correct sign for offset
2013-02-22 11:51:55 +01:00
Sebastian Kügler
7c9d0abc23
Use Qt::AligntmentFlag instead of int for popupPosition
2013-02-22 03:54:14 +01:00
Sebastian Kügler
f23ca788ee
better dialog content in tca
2013-02-22 03:51:51 +01:00
Sebastian Kügler
00c93c186d
Test code for placement
2013-02-22 03:43:09 +01:00
Sebastian Kügler
8f71cf9de7
Center in visualParent by default
...
If we have no visual parent, use the workArea's center. This is mostly
in line with Plasma1's behavior (modulo visualParent vs. parent).
2013-02-22 03:41:56 +01:00
Sebastian Kügler
16d42cc955
Add visualParent to dialogs, QueryDialog example
2013-02-22 02:18:16 +01:00
Sebastian Kügler
006eb99b55
Make dialog-in-separate-window kind of work
...
inlining is still broken, disabled right now. popupPosition has moved
into PlasmaCore.Dialog internally, so don't handle it in QML.
2013-02-22 02:18:16 +01:00
Sebastian Kügler
e96671be05
Add debugsels for popupPosition
2013-02-22 02:18:16 +01:00
Marco Martin
14da11551a
support alignment
2013-02-21 21:12:12 +01:00
Marco Martin
36d5f25371
restore some values from config
...
panelviews can restore offset, minimum, maximum and size from the config
still needed alignment and
resize will need a bit of work since should be containment-controlled
2013-02-21 20:35:21 +01:00
Marco Martin
02aa67a990
add view config
...
experiment, for now has a slightly different way to find own config group compared to plasma1
2013-02-21 18:32:32 +01:00
Marco Martin
9804b223f2
iexplicitly link KF5::kwindowsystem
2013-02-21 18:02:12 +01:00
Marco Martin
f4a4bb55de
sync panel position to containment location
2013-02-21 17:49:52 +01:00
Marco Martin
99d49220df
panel is a Dock
2013-02-21 16:30:01 +01:00
Marco Martin
790036d5f8
blur behind panels
2013-02-21 16:22:42 +01:00
Marco Martin
73ab93e009
use the margins of the framesvg instead of own
2013-02-21 16:04:08 +01:00
Marco Martin
799a5989d9
enable blur behind
2013-02-21 14:58:09 +01:00
Marco Martin
31838228d4
add missing declaration
2013-02-21 14:49:28 +01:00
Marco Martin
efc725acec
use a framesvgitem as background
2013-02-21 14:32:48 +01:00
Marco Martin
de81cdada3
implement popupPosition
...
call it only by setting a visualParent, don't expose it to qml for now
2013-02-20 20:39:15 +01:00
Marco Martin
a1507092a0
restore isactivewindow
2013-02-20 19:39:03 +01:00
Marco Martin
7ce2d0f7d6
sync sizes also on the other way
2013-02-20 19:31:06 +01:00
Marco Martin
f7e3a72d14
iremove unused properties
...
x,y,width,height are already in qquickwindow
2013-02-20 18:03:28 +01:00
Marco Martin
8ba734f05b
correct item resize
...
comment out more old api
will be reenable one by one only when needed
2013-02-20 15:51:28 +01:00
Marco Martin
059682af85
less dead code
2013-02-20 15:25:13 +01:00
Marco Martin
1928ecce74
make sure a transparent window
2013-02-20 15:18:58 +01:00
Sebastian Kügler
603c6e4a9b
Use a PlasmaComponents.Dialog in tca
2013-02-20 06:57:39 +01:00
Sebastian Kügler
6461683f58
Some work on PlasmaComponents.Dialog
...
Still broken in all kinds of ways, buttons, geometry, etc.
2013-02-20 06:56:48 +01:00
Sebastian Kügler
0fe94f0dac
try to make dialog transparent
2013-02-20 06:56:38 +01:00
Sebastian Kügler
a9092a7583
Three types of Dialogs on DialogsPage
2013-02-20 05:43:09 +01:00
Sebastian Kügler
877b8f03df
Page with Dialogs in ComponentsApplet
2013-02-20 05:32:48 +01:00
Sebastian Kügler
ea508733d6
Rejig Dialog - starts working
...
It now inherits from QQuickWindow.
setting the mainItem is not reparenting it right now, this will probably
break, so needs fixing. For now, it works though as long as the mainItem
has the Dialog as parent already. WindowFlags and sizing seems to work.
2013-02-20 05:30:22 +01:00
Sebastian Kügler
305e711c8c
Fix namespace of RangeModel in Slider and ProgressBar
...
Now those components work as well.
2013-02-20 05:27:11 +01:00
Sebastian Kügler
71e2114541
Fix RangeModel namespace
2013-02-20 05:24:03 +01:00
Sebastian Kügler
2566309c9a
Start porting PlasmaCore.Dialog
...
This commit enables the build of PlasmaCore.Dialog. Most of the code is
disabled, as it's quite wired up with QGraphicsWidgets. The remaining
pieces are actually able to bring up a window, but don't display
anything.
2013-02-20 04:25:29 +01:00
Sebastian Kügler
226e61c432
module directive for runnermodel
2013-02-20 02:31:33 +01:00
Sebastian Kügler
0c2793718b
shush
2013-02-20 02:27:41 +01:00