MCPcopy Create free account
hub / github.com/Murmele/Gittyup / addButton

Method addButton

src/ui/DoubleTreeWidget.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 void addButton(QAbstractButton *button, const QString &text = QString(),
53 bool checkable = false) {
54 button->setToolTip(text);
55 button->setCheckable(checkable);
56
57 mLayout->addWidget(button);
58 mButtons.addButton(button, mButtons.buttons().size());
59 }
60
61 const QButtonGroup *buttonGroup() const { return &mButtons; }
62

Callers 1

DoubleTreeWidgetMethod · 0.45

Calls 2

QStringClass · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected