MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / paintEvent

Method paintEvent

ElaWidgetTools/ElaTabWidget.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 });
55 connect(bar, &QTabBar::tabMoved, this, [this, d, getIndex](int from, int to) {
56 d->_pages.move(getIndex(from), getIndex(to));
57 Q_EMIT tabMoved(getIndex(from), getIndex(to));
58 });
59 connect(bar, &QTabBar::tabCloseRequested, this, [this, d, bar, getIndex](int index) {
60 if (bar == d->_pinnedTabBar)
61 {
62 setIsTabPinned(getIndex(index), false);
63 }
64 else
65 {
66 Q_EMIT tabCloseRequested(getIndex(index));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected