Re: [Development] Issues with QFormBuilder - All properties modified & Invalid UI
Hi Friedemann, So can this be considered a bug and fixed at Qt? Please note that even with all properties modified, which is not really a problem, the result display is invalid and does not work like the input display. At Qt forum post I uploaded two images that shows the difference between the original and result UI files. Thank you, Hugo On Mon, Oct 21, 2019 at 3:41 AM Friedemann Kleint wrote: > Hi, > > > I am trying to use the QFormBuilder to load and later save a ".ui" file. > > The issue is that the generated file shows all properties as modified > but the code just open the file and save it with a new name. > > QFormBuilder writes out all properties since plain Qt properties do not > store whether they were modified. The book-keeping required for this > only exists in Qt Designer. > > Some unsupported properties/flags may then be encountered. > > > Is there a better approach to save QWidgets as ".ui" from code? > > No, unfortunately. > > Regards, Friedemann > > -- > Friedemann Kleint > The Qt Company GmbH > > ___ > Development mailing list > Development@qt-project.org > https://lists.qt-project.org/listinfo/development > -- Hugo Slepicka *hhslepi...@gmail.com * *+1 631 855 5717* ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] The age-old T* foo vs. T *foo
> I think that this discussion is pointless. I don't think any discussion is pointless. At the very least I learn of others' opinions, and on occasion, adopt them :-). Even if we don't change we at least never reached a threshold that we agreed to for change, which, is something. And not least of all, I'm always learning stuff from the Trolls. Thank you all for the discussion. ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Issues with QFormBuilder - All properties modified & Invalid UI
Hi, > I am trying to use the QFormBuilder to load and later save a ".ui" file. > The issue is that the generated file shows all properties as modified but the code just open the file and save it with a new name. QFormBuilder writes out all properties since plain Qt properties do not store whether they were modified. The book-keeping required for this only exists in Qt Designer. Some unsupported properties/flags may then be encountered. > Is there a better approach to save QWidgets as ".ui" from code? No, unfortunately. Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development