-
Notifications
You must be signed in to change notification settings - Fork 8
UI Component System Refactoring #222
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
Conversation
|
@Licini perhaps for clarity it would make sense that everything that is a component actually lives inside |
|
@tomvanmele Ready to go! Maybe too much to review, we can also just merge and fix anything fast |
|
i assume we have to do a major release because these are breaking changes? |
Yep, 2.0.0 |
UI Component System Refactoring
Overview
Complete restructuring of the compas_viewer UI architecture to implement a modern component-based system with improved modularity and maintainability.
Key Changes
New Component Architecture
Componentbase class with standardizedwidgetattribute andupdate()methodBoundComponentclass for components bound to object attributes with automatic value synchronizationBaseclass for consistent structureComponent Refactoring
CameraSettingsDialog→CameraSetting,ObjectSettingDialog→ObjectSettingSlider,TextEdit,Buttonto use new inheritance modelBooleanToggle,ColorPicker,NumberEdit,Container,TabformColorComboBox,ComboBox,DoubleEdit,LineEdit,LabelWidgetUI Structure Improvements
components/folderMainWindow,StatusBar,ViewPortcomponentsMenuBar,ToolBar,SideDockto use new component systemUIclass to use new component architectureTechnical Improvements
obj,attr,actionparameters