예제 #1
0
float BZStagePlayLayerGamePlay::resume(bool bsub)
{
	float paused = CAStageLayer::resume(bsub);
	showTimeline("play_ui_buttons", true);
	_play_ui_button_pause()->setState(STATE_Stand);
	return paused;
}
예제 #2
0
// 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()));
}
예제 #3
0
void BZStagePlayLayerGamePlay::pause(bool bsub)
{
	showTimeline("play_ui_buttons", false);
	CAStageLayer::pause(bsub);
}