D8986: an early prototype of a FormLayout
Marco Martin
noreply at phabricator.kde.org
Fri Nov 24 14:27:24 UTC 2017
mart created this revision.
Restricted Application added a project: Kirigami.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
Form->FormData
add gallery page
add files to qrc
make FormLayout a template
use Headings for all the titles
remove some redundant code
support for dynamic elements
- use children instead in __Items (possible to dynamically add)
- when an item dies, delete every extra item that was created to manage it
add heuristic to exclude repeaters from layout
event compress relayouts
don't reparent the items
resize items that are separator
new way to switch from wide to compact
remove debug
introduce a mnemonics mechanism
todo: this should probably be on its own attached proeprty
split mnemonics in a new attached
text 100% wide
use alignment in label instead
Revert "text 100% wide"
This reverts commit https://phabricator.kde.org/R169:da8403ffe11c3de9b8f927b3d98eb61c95528236.
remove dead code
partial support for weights
make the item with more weigth "win"
taken mnemonics with lesser weigth are replaced and reassigned
mnemoinictext property, which always has the &
support mnemonics in the global drawer
different weigths for differnt control types
filter on the window not the app
&& means we want & and not a mnemonic
if there is a rendercontrol, watch the target window
on QQuickWidget we need to watch the proper final window
adress comments
make sure that in component.oncompleted() things are actually relayouted
REPOSITORY
R169 Kirigami
BRANCH
mart/formlayout
REVISION DETAIL
https://phabricator.kde.org/D8986
AFFECTED FILES
examples/galleryapp/resources.qrc
examples/gallerydata/contents/ui/MainPage.qml
examples/gallerydata/contents/ui/gallery/ButtonGallery.qml
examples/gallerydata/contents/ui/gallery/FormLayoutGallery.qml
examples/gallerydata/contents/ui/gallery/TextFieldGallery.qml
kirigami.qrc
src/CMakeLists.txt
src/controls/FormLayout.qml
src/controls/GlobalDrawer.qml
src/controls/Heading.qml
src/controls/private/PrivateActionToolButton.qml
src/controls/templates/FormLayout.qml
src/formlayoutattached.cpp
src/formlayoutattached.h
src/kirigamiplugin.cpp
src/mnemonicattached.cpp
src/mnemonicattached.h
To: mart
Cc: plasma-devel, apol, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171124/fc936a16/attachment.html>
More information about the Plasma-devel
mailing list