OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::SidebarProps Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Plater.hpp>

Static Public Member Functions

static int TitlebarMargin ()
static int ContentMargin ()
static int ContentMarginV ()
static int IconSpacing ()
static int WideSpacing ()
static int ElementSpacing ()

Detailed Description

Member Function Documentation

◆ ContentMargin()

int Slic3r::GUI::SidebarProps::ContentMargin ( )
inlinestatic
149{ return 12;} // Use as side margins contents of title

Referenced by Slic3r::GUI::DesignPanel::DesignPanel(), Slic3r::GUI::Tab::create_preset_tab(), Slic3r::GUI::Sidebar::init_filament_combo(), Slic3r::GUI::Sidebar::priv::layout_printer(), and Slic3r::GUI::Sidebar::update_mixed_filament_list().

Here is the caller graph for this function:

◆ ContentMarginV()

int Slic3r::GUI::SidebarProps::ContentMarginV ( )
inlinestatic
150{ return 9 ;} // Use as vertical margins contents of title

Referenced by Slic3r::GUI::Sidebar::Sidebar(), Slic3r::GUI::PluginField::add_empty_state_row(), Slic3r::GUI::PluginField::add_plugin_row(), Slic3r::GUI::Tab::create_preset_tab(), and Slic3r::GUI::Sidebar::priv::layout_printer().

Here is the caller graph for this function:

◆ ElementSpacing()

int Slic3r::GUI::SidebarProps::ElementSpacing ( )
inlinestatic
153{ return 5 ;} // Use if elements has relation between them like edit button for combo box etc.

Referenced by Slic3r::GUI::DesignPanel::DesignPanel(), Slic3r::GUI::Sidebar::Sidebar(), Slic3r::GUI::PluginField::add_plugin_row(), Slic3r::GUI::ParamsPanel::create_layout(), Slic3r::GUI::Tab::create_preset_tab(), Slic3r::GUI::Sidebar::init_filament_combo(), and Slic3r::GUI::Sidebar::update_mixed_filament_list().

Here is the caller graph for this function:

◆ IconSpacing()

int Slic3r::GUI::SidebarProps::IconSpacing ( )
inlinestatic
151{ return 10;} // Use on main elements in same group of controls

Referenced by Slic3r::GUI::Sidebar::Sidebar(), Slic3r::GUI::ParamsPanel::create_layout(), Slic3r::GUI::Tab::create_preset_tab(), and Slic3r::GUI::Sidebar::priv::layout_printer().

Here is the caller graph for this function:

◆ TitlebarMargin()

int Slic3r::GUI::SidebarProps::TitlebarMargin ( )
inlinestatic
148{ return 8 ;} // Use as side margins on titlebar. Has less margin on sides to create separation with its content

Referenced by Slic3r::GUI::DesignPanel::DesignPanel(), Slic3r::GUI::Sidebar::Sidebar(), and Slic3r::GUI::ParamsPanel::create_layout().

Here is the caller graph for this function:

◆ WideSpacing()

int Slic3r::GUI::SidebarProps::WideSpacing ( )
inlinestatic
152{ return 18;} // Use between main elements / control groups for separation or preventing accidental clicks important

Referenced by Slic3r::GUI::Sidebar::Sidebar(), Slic3r::GUI::ParamsPanel::create_layout(), and Slic3r::GUI::Tab::create_preset_tab().

Here is the caller graph for this function:

The documentation for this class was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Plater.hpp