MCPcopy Create free account
hub / github.com/Linloir/GraphBuilder / Deselect

Method Deselect

customWidgets.cpp:231–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231void selectionItem::Deselect(){
232 if(onSelected){
233 onSelected = false;
234 title->setStyleSheet("color:#2c2c2c");
235 description->setStyleSheet("color:#707070");
236
237 QPropertyAnimation *fadeOut = new QPropertyAnimation(opac, "opacity", this);
238 fadeOut->setStartValue(opac->opacity());
239 fadeOut->setEndValue(0);
240 fadeOut->setDuration(100);
241 fadeOut->start();
242 }
243}
244
245singleSelectGroup::singleSelectGroup(QString name, QWidget *parent) :
246 QWidget(parent){

Callers 1

changeSelectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected