This shows you the differences between two versions of the page.
— |
developer_guide_widgets [2019/03/19 08:44] (current) daschuer created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | The most of non skin-able GUI is created by using Qt-Widgets and the QtDesigner wysiwyg editor. | ||
+ | [[https://doc.qt.io/qt-5/designer-using-a-ui-file.html|Using a Designer UI file]] | ||
+ | |||
+ | The UI files are used to autogenerated the c++ code that initializes the GUI. In Mixxx we use the dlg*.cpp files to receive events from these GUI elements. | ||
+ | |||
+ | The [[https://github.com/mixxxdj/mixxx/blob/master/src/library/dlghidden.ui|dlghidden.ui]] for instance builds the bar on top of the table with the hidden files in the library region. The class using the generated widgets is [[ | ||
+ | https://github.com/mixxxdj/mixxx/blob/master/src/library/dlghidden.cpp|dlghidden.cpp]] | ||
+ | |||
+ | New UI files need to be introduced to scons via the [[https://github.com/mixxxdj/mixxx/blob/4c2f2403a34fded43ece3f443db2981fc5a1f5d2/build/depends.py#L1255|depends.py]] file. |