-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature form improvements [QgsQuick] #9062
Feature form improvements [QgsQuick] #9062
Conversation
Changes are related to following widgets used in the FeatureForm: Checkbox: * fixed old import of QgsQuick * changed indicator of a checkbox to be able to apply styles DateTime: * fixed wrong behaviour of the widget if a value is undefined * replaced label with textfield with formatting options (ported from QField) ExternalResources: * fixed pixalation of icons * added new icon without alternative border to be able to put color overlay on it * fixed broken layout of icons ValueMap * updated way how to read option values from field config/setup (ported from QField, related to changes of the field config since QGIS 3.x) TextEdit: * Unified styling of the widgets - added some padding, changed background, height Fields style added to QgsFeatureFormStyle Added "fields" style object to customize some properties (e.g color, height, radius) of editor widgets. Due to new style options also widgets have been updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe would be nice to get opinion of @m-kuhn ?
Good stuff in here. |
if I understand it correctly it is tested with latest (development) version of https://github.com/lutraconsulting/input ( @wonder-sk ?) |
Evenmore, the bugfix label is probably only partially applicable given the above ;) |
unfortunately not :-/ But we discussed already with @sklencar that next time the individual fixes should go to separate well defined commits...
There are no new features here really, so I would be happy to get this merged in 3.6 - but if others feel strongly against we can postpone it to 3.8... |
Great 👍
Not really, I'm in favor of merging quickly. |
PhotoPanel: added focus TextEdit: Fixed references for edit widget and removed redundant empty lines and properties, removed textWrap property for single line edit ExternalRersources: Revert back to use one image for icons and previewPhoto with better handling DateTime: fixed typos
Changes are related to following widgets used in the FeatureForm:
Checkbox:
DateTime:
ExternalResources:
ValueMap
TextEdit:
Fields style added to QgsFeatureFormStyle
Added "fields" style object to customize some properties (e.g color, height, radius) of editor widgets. Due to new style options also widgets have been updated.
Description
Include a few sentences describing the overall goals for this PR (pull request). If applicable also add screenshots.
Checklist
fixes #11111
in the commit message next to the description[FEATURE]
in the commit message[needs-docs]
in the commit message and contain sufficient information in the commit message to be documentedscripts/prepare-commit.sh
script before each commit