Marco Martin
d2d4faaa3e
hide choices when there is only one
2013-02-28 15:54:02 +01:00
Marco Martin
ea710003fc
a prototype, not used here for instant apply
...
on a desktop we will probably continue to have ok/apply/cancel buttons, on a ctive we will have instant apply, this commented code is a way to achieve this in a way that require no adaptation from the config pages whatsoever
2013-02-28 15:03:42 +01:00
Marco Martin
0b6770e2b2
Containment::addApplet -> Containment::createApplet
2013-02-28 13:32:47 +01:00
Sebastian Kügler
3be712eacd
new test page for Drag & Drop
2013-02-27 22:13:14 +01:00
Alex Neundorf
f07a425546
-fix build, find ThreadWeaver via KF5
...
I thin using the variables is safer, this way you are somewhat guarded against changes
in the names of targets, and a typo leads to an empty variable, instead to
"ld: cannot find -lkcoreaddons" which looks very much like a missing normal library
Alex
2013-02-27 21:45:35 +01:00
Marco Martin
53df27b8b7
config.qml is a pure model, search in config/
2013-02-27 18:33:09 +01:00
Marco Martin
6458522bbc
migrate page loading to ConfigModel
2013-02-27 18:33:09 +01:00
Marco Martin
872839ecf9
a simple model to parse config categories
...
ConfigModel will be used in the plasmoid config qml that defines a model for the categories of the config dialog
2013-02-27 17:41:31 +01:00
Sebastian Kügler
2168bdec75
no i18n right now
2013-02-27 14:54:55 +01:00
Marco Martin
7e96fe9000
resizing based on contents implicit sizes
...
still to be made a tad more reliable
2013-02-27 14:03:36 +01:00
Marco Martin
8ea0de9892
save and restore works again
2013-02-27 13:33:01 +01:00
Marco Martin
05bf0d344c
another small layout improvement
2013-02-27 11:57:55 +01:00
Marco Martin
4608fc6012
comments++
2013-02-27 11:15:33 +01:00
Marco Martin
528429b5ab
load global module if the local is not provided
2013-02-27 11:09:25 +01:00
Marco Martin
6d194f02e3
support for shell-provided configuration uis
2013-02-27 11:02:30 +01:00
Marco Martin
8170075d8d
fix page title
2013-02-26 22:32:31 +01:00
Marco Martin
de8644af69
make the config.qml object a "model"
2013-02-26 21:48:36 +01:00
Marco Martin
c7ade82561
some other layout fix
2013-02-26 14:49:46 +01:00
Marco Martin
e781a2bba2
slightly better layout
2013-02-26 14:30:51 +01:00
Marco Martin
fd9282d22f
auto load first page
2013-02-26 13:58:37 +01:00
Marco Martin
3a5e5f931b
close window on ok/cancel pressed
...
delete window on close
2013-02-26 12:47:08 +01:00
Sebastian Kügler
0ce418c311
Add Desktop, Floating and FullScreen dialog examples
2013-02-26 05:44:46 +01:00
Sebastian Kügler
6a73133da4
positioning for popups
...
- default top TopEdge
- Swap edges if specified
- shift on non-specified edges
- all borders, edge-cases (ha!) are confirmed working
- cleaned up some cruft
Not taken care of yet:
- framesvg border disabling
- sliding effect w/ kwin
- smarter resolution of visualParent
2013-02-26 03:58:55 +01:00
Sebastian Kügler
c10b33a0a0
smallish improvements in testapplet
2013-02-26 02:17:40 +01:00
Sebastian Kügler
a32b63d297
Set edge from test applet
2013-02-26 01:14:05 +01:00
Marco Martin
aa1940b246
partly working configuration
...
still writes in the wrong config file
2013-02-25 20:58:01 +01:00
Sebastian Kügler
14e42206b0
test code for dialog location
2013-02-25 17:55:06 +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
Script Kiddy
459b49fff9
SVN_SILENT made messages (.desktop file)
2013-02-22 18:03:06 +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
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
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
16d42cc955
Add visualParent to dialogs, QueryDialog example
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
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
7ce2d0f7d6
sync sizes also on the other way
2013-02-20 19:31:06 +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
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
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
13a0842115
add buttonspage
...
New page, holds buttons and text elements.
2013-02-20 01:10:29 +01:00
Sebastian Kügler
f0e6ab494d
don't show cropped text in toolbox
2013-02-20 00:50:14 +01:00
Sebastian Kügler
aa233c1055
exercise clearbutton and enabling in TextField
2013-02-20 00:26:57 +01:00
Sebastian Kügler
5d1717fcfa
Focus textfield with radiobutton -- works fine.
2013-02-19 22:37:03 +01:00
Sebastian Kügler
58f719d9aa
Shuffle widgets a bit to make space for a TextFiel
2013-02-19 22:31:57 +01:00
Marco Martin
30f1612982
the view qml is Back in Black
2013-02-19 20:44:24 +01:00
Sebastian Kügler
9a3fb52e78
test theme.iconSizes -- works fine
2013-02-19 17:48:13 +01:00
Marco Martin
26b5b98e0a
start to delay a bit objects creation.
...
use a component incubator to create objects whuile the event loop is running
load applets ui only when they get a view
it will have to be cleaned out a lot, by moving the loading logic into AppletInterface
2013-02-19 17:27:32 +01:00
Sebastian Kügler
f4f22df3a3
Split out testcomponents applet into several files
2013-02-19 17:12:24 +01:00
Marco Martin
f5b51c7c54
Containment::Type -> Plasma::ContainmentType
2013-02-19 13:52:32 +01:00
Marco Martin
bb005f1cc5
remove perVirtualdesktop views
...
remove any desktop reference from setScreen and containmentForScreen
along with lastScreen and lastDesktop
2013-02-18 18:05:45 +01:00
Sebastian Kügler
1425583f4c
correct margins inside tabgroup
2013-02-18 01:04:41 +01:00
Script Kiddy
a2efe7fb54
SVN_SILENT made messages (.desktop file)
2013-02-17 08:30:09 +01:00
Script Kiddy
72e2b9f1b6
SVN_SILENT made messages (.desktop file)
2013-02-16 09:56:02 +01:00
Marco Martin
a139247403
correctly emit appletRemoved
...
applet remove animation
At the moment is possible only to animate the disappearance of the background, the applet is immediately deleted.
how could be possible to animate the applet as well? (the graphic object should get to live more than Applet* and AppletScript* themselves)
2013-02-15 18:10:46 +01:00
Sebastian Kügler
cc0c171c18
print pressed in testapplet
2013-02-15 16:34:09 +01:00
Marco Martin
672b0bdfc1
experiment for a declarative config skeleton
...
maps a KConfigSkeleton to a QQmlPropertyMap, allowing a "declarative" use of configs
not sure will be an efficient approach enough but it seems to work correctly
2013-02-15 16:21:58 +01:00
Marco Martin
44699e7e0d
make alpha blended panels work
...
unfortunately all windows must have alpha channel
2013-02-15 12:31:39 +01:00
Script Kiddy
102986ac28
SVN_SILENT made messages (.desktop file)
2013-02-15 09:09:26 +01:00
Sebastian Kügler
879c0d68bf
Load a DataSource - works
2013-02-15 03:47:07 +01:00
Sebastian Kügler
3781fb6f6d
elide title
2013-02-15 03:07:37 +01:00
Sebastian Kügler
64a396be18
Use some PlasmaExtras, Title, Heading, animations, appbackground
...
All seem to behave correctly. Huzzah. :)
2013-02-15 02:43:17 +01:00
Sebastian Kügler
e41d77f142
Don't jump around
2013-02-15 02:42:46 +01:00
Sebastian Kügler
9ce105e692
Add a test page for MouseEventListener
2013-02-15 01:40:33 +01:00
Marco Martin
9089947ace
use a different qml file for the panel view
2013-02-14 21:14:04 +01:00
Marco Martin
dc5ccd2d76
be quiet
2013-02-14 19:56:36 +01:00
Marco Martin
4e44bc4c31
support for containment type in the desktop file
...
add a test panel containment
2013-02-14 19:12:11 +01:00
Sebastian Kügler
7dfe957e66
The Big Move
...
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.
Directory structure should now be in line with other, future frameworks.
2013-02-14 17:17:12 +01:00