MCPcopy Create free account
hub / github.com/MrKepzie/Natron / addButton

Method addButton

Gui/DialogButtonBox.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void
45DialogButtonBox::addButton(QAbstractButton *button, ButtonRole role)
46{
47 QDialogButtonBox::addButton(button, role);
48 button->setAttribute(Qt::WA_LayoutUsesWidgetRect); // Don't use the layout rect calculated from QMacStyle.
49 button->setFont( QApplication::font() ); // necessary, or the buttons will get the default font size
50}
51
52QPushButton *
53DialogButtonBox::addButton(StandardButton button)

Callers 3

LogWindow.cppFile · 0.80
createGuiMethod · 0.80
FindNodeDialogMethod · 0.80

Calls 2

fontFunction · 0.85
setFontMethod · 0.80

Tested by

no test coverage detected