4 ms·
> (...) weird entrenchment around using UIC or QML (...) There is nothing weird about UIC or QML. These are essentially DSLs that help quickly designing and i
by rewmie 3y ago
> (...) weird entrenchment around using UIC or QML (...)
There is nothing weird about UIC or QML. These are essentially DSLs that help quickly designing and iterating iver user interfaces.
UIC quite literally just generates C++ from a XML description of a Widgets-based UI element. You work over the .ui file with a WYSIWYG editor, save it, and your qmake/CMake project generates the C++ that does what you told it to do.
This is basically the same approach follows by essentially all major GUI frameworks. Microsoft's XAML works like this, React's JSX too, Android has its layout files, etc.
I wonder what approach do you find better suited for the job.