Complete restructuring of the compas_viewer UI architecture to implement a modern component-based system with improved modularity and maintainability.
- Added
Componentbase class with standardizedwidgetattribute andupdate()method - Added
BoundComponentclass for components bound to object attributes with automatic value synchronization - All UI components now inherit from
Baseclass for consistent structure
- Replaced dialogs with integrated components:
CameraSettingsDialog→CameraSetting,ObjectSettingDialog→ObjectSetting - Enhanced existing components: Updated
Slider,TextEdit,Buttonto use new inheritance model - Added new components:
BooleanToggle,ColorPicker,NumberEdit,Container,Tabform - Removed deprecated components:
ColorComboBox,ComboBox,DoubleEdit,LineEdit,LabelWidget
- Moved components to dedicated
components/folder - Added
MainWindow,StatusBar,ViewPortcomponents - Refactored
MenuBar,ToolBar,SideDockto use new component system - Updated
UIclass to use new component architecture
- Standardized component initialization with
obj,attr,actionparameters - Improved data binding with automatic attribute synchronization
- Enhanced container system with scrollable and splitter options
- Updated event handling and signal connections
This refactoring provides a cleaner, more maintainable codebase with better separation of concerns and improved extensibility for future UI development.