BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
StyleUtils.h File Reference

DefinesStyleUtils namespace. More...

Include dependency graph for StyleUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 StyleUtils
 

Functions

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

Detailed Description

DefinesStyleUtils namespace.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file StyleUtils.h.