mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 13:47:59 -06:00
Override full config defs in non-preset categories
This commit is contained in:
parent
ecd20184f9
commit
4abca6a091
2 changed files with 45 additions and 20 deletions
|
@ -174,6 +174,7 @@ public:
|
|||
|
||||
wxString GetParamName(wxDataViewItem item);
|
||||
std::string GetParamKey(wxDataViewItem item);
|
||||
std::string GetTopLevelCategory(wxDataViewItem item);
|
||||
|
||||
void Clear();
|
||||
|
||||
|
@ -225,6 +226,7 @@ public:
|
|||
wxString GetValue(wxDataViewItem item);
|
||||
wxString GetSelectedValue();
|
||||
std::string GetSelectedParamKey();
|
||||
std::string GetSelectedTopLevelCategory();
|
||||
|
||||
void CheckAndDeleteIfEmpty(wxDataViewItem item);
|
||||
|
||||
|
@ -234,6 +236,10 @@ public:
|
|||
void set_em_unit(int em) { m_em_unit = em; }
|
||||
};
|
||||
|
||||
static std::string unbold(const std::string& text) {
|
||||
return text.substr(text.find("<b>")+3, text.find("</b>")-3);
|
||||
}
|
||||
|
||||
|
||||
} // namespace GUI
|
||||
} // namespace Slic3r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue