/**
 *	@brief	Initialize.
 */
void BePreferencesDlg::initDialog()
{
    createViews();
    moveToCenterOfScreen();

    readyToShow();
}
Beispiel #2
0
void MainWindow::optionsActionClicked()
{
	OptionsDialog options(this);
	moveToCenterOfScreen(&options);
	connect(&options, SIGNAL(fontChanged()), &poolWindow_, SIGNAL(fontChanged()));
	connect(&options, SIGNAL(fontChanged()), &collectionWindow_, SIGNAL(fontChanged()));
	connect(&options, SIGNAL(fontChanged()), &deckWindow_, SIGNAL(fontChanged()));
	options.exec();
	poolWindow_.updateShortcuts();
	collectionWindow_.updateShortcuts();
	deckWindow_.updateShortcuts();
	disconnect(&options, SIGNAL(fontChanged()), &poolWindow_, SIGNAL(fontChanged()));
	disconnect(&options, SIGNAL(fontChanged()), &collectionWindow_, SIGNAL(fontChanged()));
	disconnect(&options, SIGNAL(fontChanged()), &deckWindow_, SIGNAL(fontChanged()));
}
Beispiel #3
0
void MainWindow::aboutActionClicked()
{
	AboutDialog about(this);
	moveToCenterOfScreen(&about);
	about.exec();
}