15 #ifndef BORNAGAIN_GUI_COREGUI_UTILS_STYLEUTILS_H
16 #define BORNAGAIN_GUI_COREGUI_UTILS_STYLEUTILS_H
QString const & name(EShape k)
QSize SizeOfLetterM(const QWidget *widget=nullptr)
Returns size of largest letter of default system font.
int SystemPointSize()
Returns size in points of default system font.
QWidget * createDetailsWidget(QWidget *content, const QString &name, bool expanded=true)
Creates details widget holding user content inside.
QFont labelFont(bool bold=false)
Returns font for labels.
int PropertyPanelWidth()
Returns typical width of the vertical property panel.
QString propertyTreeStyle()
Returns string representing the style of QTreeView intended for property editor.
void setResizable(QDialog *dialog)
Make modal dialog resizable.
void setPropertyStyle(QTreeView *tree)
Sets style for the tree to use in property editors.
QFont sectionFont(bool bold=false)
Returns font for sections.