15 #ifndef BORNAGAIN_GUI_VIEW_TOOL_STYLEUTILS_H
16 #define BORNAGAIN_GUI_VIEW_TOOL_STYLEUTILS_H
int SystemPointSize()
Returns size in points of default system font.
QSize SizeOfLetterM(const QWidget *widget=nullptr)
Returns size of largest letter of default system font.
QFont sectionFont(bool bold=false)
Returns font for sections.
QFont labelFont(bool bold=false)
Returns font for labels.
void setPropertyStyle(QTreeView *tree)
Sets style for the tree to use in property editors.
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.