forked from 1b-agent/opencadstudio-upstream
feat(statusbar): quick properties floating panel (QP pill)
When the QP pill is on, a compact floating panel appears at the canvas top-left on selection, reusing the docked panel's editable section rows. Toggleable from the status-bar customization menu. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
66f7d24bc9
commit
834780ec5d
6 files changed
+72
No files matched your search
@@ -179,6 +179,8 @@ pub(super) struct OpenCADStudio {
|
||||
isolate_popup_open: bool,
|
||||
/// Clean-screen mode: hide ribbon and side panels for a full canvas.
|
||||
clean_screen: bool,
|
||||
/// Quick Properties: show a compact floating property panel on selection.
|
||||
quick_properties: bool,
|
||||
/// Which status-bar pills the user has chosen to show (persisted).
|
||||
statusbar_config: crate::ui::statusbar_config::StatusBarConfig,
|
||||
/// Whether Tangent snap was enabled before a tangent-pick command started.
|
||||
@@ -752,6 +754,8 @@ pub enum Message {
|
||||
ToggleCleanScreen,
|
||||
/// Toggle whether entity transparency is shown on screen.
|
||||
ToggleTransparencyDisplay,
|
||||
/// Toggle the Quick Properties floating panel.
|
||||
ToggleQuickProperties,
|
||||
/// Toggle the drawing-units picker open/closed.
|
||||
ToggleUnitsPopup,
|
||||
/// Close the drawing-units picker.
|
||||
@@ -1223,6 +1227,7 @@ impl OpenCADStudio {
|
||||
isolate_popup_open: false,
|
||||
statusbar_config: crate::ui::statusbar_config::StatusBarConfig::load(),
|
||||
clean_screen: false,
|
||||
quick_properties: false,
|
||||
pre_cmd_tangent: None,
|
||||
ortho_mode: false,
|
||||
polar_mode: false,
|
||||
|
||||
Reference in new issue
Block a user