Exemplo n.º 1
0
ejemplo1::ejemplo1(): Ui_Counter()
{
	setupUi(this);
	show();
	connect(button, SIGNAL(clicked()), this, SLOT(doButton()) );
	connect(StartButton, SIGNAL(clicked()), this, SLOT(doButton2()) );
	connect(&timer, SIGNAL(timeout()), this, SLOT(doNumber()) );
	connect(Slider, SIGNAL(sliderMoved(int)), this,SLOT(doSlider(int)) );
	//timer.start(300);
}
Exemplo n.º 2
0
bool IMGUI::doButton(int id, const Vector2& position, TextManager::STRING text, unsigned int flags)
{
	return doButton(id, position, TextManager::getSingleton()->getString(text), flags);
}