float BZStagePlayLayerGamePlay::resume(bool bsub) { float paused = CAStageLayer::resume(bsub); showTimeline("play_ui_buttons", true); _play_ui_button_pause()->setState(STATE_Stand); return paused; }
// Call individual methods to show each part of Dashboard Dashboard::Dashboard(QWidget *parent) : QWidget(parent) { //setStyleSheet("background: url(E:/Stevens/C++/Projects/Dashboard_final/images/background1.jpg)"); showUserName(); showTimeline(); showButtons(); combineTimelineButtons(); showFigures(); combineFiguresTimelineButtons(); showGraph(); combineGraphFiguresTimelineButtons(); showMainLayout(); //setStyleSheet("background: url(E:/Stevens/C++/Projects/Dashboard_final/images/background_home.jpg)"); //qApp->setStyleSheet("QWidget {background-image: url(./background_home.jpg) }"); //setStyleSheet("background: url(E:/Stevens/C++/Projects/Dashboard_final/images/background1.jpg)"); connect(timelineCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(getTimeline(int))); connect(addExpenseButton, SIGNAL(clicked()), this, SLOT(showExpenseWindow())); connect(addIncomeButton, SIGNAL(clicked()), this, SLOT(showIncomeWindow())); }
void BZStagePlayLayerGamePlay::pause(bool bsub) { showTimeline("play_ui_buttons", false); CAStageLayer::pause(bsub); }