Commit Graph

21 Commits

Author SHA1 Message Date
Marco Martin
57e77a8591 remove the kdialog based querydialog
Dialogs are always plasma-themed, and if possible are inline.
only if there is not enough space (like in a panel) they get moved in a separate window
this removes quite some c++ usage and hopefully solves some layouting problems in dialogs
2012-11-30 00:03:49 +01:00
Marco Martin
531031f753 can't use windowId in QML on Windows 2012-04-06 13:09:32 +02:00
Martin Gräßlin
e195c1d01f Export WindowId on Plasma Dialog
Exporting the window Id allows to use it in declarative KWin scripts
to embedd window thumbnails on the dialog.

REVIEW: 104393
2012-03-24 10:51:12 +01:00
Marco Martin
2f2ce9ac34 document Dialog 2011-12-23 16:30:04 +01:00
Marco Martin
7eaa8b9cc0 a way to activate the dialog window 2011-11-16 21:12:38 +01:00
Marco Martin
478cd9d3f0 add Dialogs
CommonDialog
QueryDialog
SelectionDialog

the base Dialog is still not exported
in future version on the desktop, QueryDialog will create a standard qt dialog instead
2011-11-03 14:46:05 +01:00
Marco Martin
270b6296b9 fallback when there is no corona
autonomous positioning when there is no corona (usually relies on addoffscreenwidget and popupposition from it)
2011-11-02 18:15:17 +01:00
Marco Martin
6d7b475468 location property that decides the sliding effect 2011-08-15 19:32:01 +02:00
Marco Martin
86d4283ff9 read only property: activeWindow 2011-06-19 23:08:15 +02:00
Marco Martin
201a1d1d17 correct width qpropoerty 2011-06-13 13:46:07 +02:00
Marco Martin
42f8d04f6c a dialog has margins, take them into account 2011-06-08 17:53:55 +02:00
Marco Martin
9cd8721f61 support for centering 2011-06-08 13:02:48 +02:00
Marco Martin
d3868a8b65 revert last commit
popups are done correctly now
(is necessary so show, set the flags and show again)
2011-06-07 19:12:04 +02:00
Marco Martin
230a15d475 correctly manage popup menus
similar fix in the taskbar coming
2011-06-07 18:11:30 +02:00
Marco Martin
f000f07b08 make the notify signals actually be emitted 2011-06-07 16:41:06 +02:00
Marco Martin
d7d08c46ef bind the dialog's window flags 2011-03-21 21:38:48 +01:00
Marco Martin
19ad72af78 showPopup() -> popupPosition()
makes possible to move the popup
2011-03-21 19:20:17 +01:00
Marco Martin
d8457ecd8d properties for dialog move 2011-02-25 20:37:56 +01:00
Marco Martin
fcfafcbc6e proxy to setAttribute() 2011-02-25 19:00:01 +01:00
Marco Martin
9c6f2132ad support qdeclarativeitems as well
support qdeclarativeitems as well trough a parent qgraphicswidget that syncs the geometry
2011-02-24 23:47:45 +01:00
Marco Martin
61abadfd25 bindings for Plasma::Dialog
setting the mainItem property of a Dialog element, it will create a top level window with that item as the graphicsWidget()
right now it works only with QGraphicsWidget{} elements, Plasma::Dialog will be given the api to make this work with any QGraphicsObject as well.
2011-02-24 18:29:56 +01:00