roam-qgis / Roam

Simple data collection built using QGIS.
http://roam-docs.readthedocs.org/en/latest/
GNU General Public License v2.0
169 stars 62 forks source link

Qt Designer widgets #191

Open NathanW2 opened 9 years ago

NathanW2 commented 9 years ago

It would be really handy to have custom Qt Designer widgets to just drop onto the form. The current method of creating a custom form is a bit of a mismatched.

HeatherHillers commented 9 years ago

But, when would you use a custom widget and not need custom code behind it? Seems like once you go down that path you should just go all the way.

On 21.10.2014, at 08:10, Nathan Woodrow notifications@github.com wrote:

It would be really handy to have custom Qt Designer widgets to just drop onto the form. The current method of creating a custom form is a bit of a mismatched.

— Reply to this email directly or view it on GitHub.

NathanW2 commented 9 years ago

I mean custom widget that match the ones in Roam. So you can drop in a image widget, or a OptionRow, or a Number widget and it will have the right controls that Roam needs.

See this wiki to see what I mean: https://github.com/DMS-Aus/Roam/wiki/Qt-Designer-widgets

HeatherHillers commented 9 years ago

So I'm having the same elements that would be generated by config manager, but I can control how they look by setting them up in designer myself? So I can make a purple flat button form?

What about letting the user apply a style sheet?

On 23.10.2014, at 01:09, Nathan Woodrow notifications@github.com wrote:

I mean custom widget that match the ones in Roam. So you can drop in a image widget, or a OptionRow, or a Number widget and it will have the right controls that Roam needs.

See this wiki to see what I mean: https://github.com/DMS-Aus/Roam/wiki/Qt-Designer-widgets

— Reply to this email directly or view it on GitHub.

Elbiin commented 5 years ago

I´m also interested in the answer of this question. Unfortunately the link to the wiki isn´t available any more. HeatherHillers, Do you have any possibility to change the style of the buttons?