MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / setExpand

Method setExpand

src/plugins/recent/mainframe/sessionitemwidget.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void ArrowHeaderLine::setExpand(bool value)
51{
52 if (value) {
53 arrowButton->setIcon(DStyle::standardIcon(style(), DStyle::SP_ExpandElement));
54 } else {
55 arrowButton->setIcon(DStyle::standardIcon(style(), DStyle::SP_ReduceElement));
56 }
57 isExpanded = value;
58}
59
60void ArrowHeaderLine::setTitle(const QString &title)
61{

Callers 1

initConnectionMethod · 0.80

Calls 4

styleFunction · 0.85
setIconMethod · 0.45
stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected