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

Method addButton

Gui/DialogButtonBox.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

ColorSelectorWidgetMethod · 0.80
LogWindow.cppFile · 0.80
createGuiMethod · 0.80
FindNodeDialogMethod · 0.80

Calls 2

fontFunction · 0.85
setFontMethod · 0.80

Tested by

no test coverage detected