MCPcopy Create free account
hub / github.com/KDE/kdevelop / setVisible

Method setVisible

kdevplatform/shell/workingsets/workingsetwidget.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void WorkingSetWidget::setVisible( bool visible )
44{
45 // never show empty working sets
46 // TODO: I overloaded this only because hide() in the ctor does not work, other ideas?
47 // It's not that it doesn't work from the constructor, it's that the value changes when the button is added on a layout.
48 QWidget::setVisible( visible && (workingSet() && !workingSet()->isEmpty()) );
49}
50
51void WorkingSetWidget::changingWorkingSet(Sublime::Area* area, Sublime::Area* /*oldArea*/, const QString& /*from*/, const QString& newSet)
52{

Callers 15

currentThreadChangedMethod · 0.45
setSourceWidgetMethod · 0.45
areaChangedMethod · 0.45
selectionChangedMethod · 0.45
AreaDisplayMethod · 0.45
newAreaMethod · 0.45
eventFilterMethod · 0.45
filterTextChangedMethod · 0.45
StatusBarMethod · 0.45
TemplatePageMethod · 0.45

Calls 2

workingSetFunction · 0.85
isEmptyMethod · 0.45

Tested by 1

restoreSplitsMethod · 0.36