QTfrontend/pages.cpp
changeset 436 3f806cadb4e3
parent 427 b505012a3f15
child 440 710d12dbeb61
equal deleted inserted replaced
435:25820c10c849 436:3f806cadb4e3
   357 	AGGroupBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
   357 	AGGroupBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
   358 	AGGroupBox->setTitle(QGroupBox::tr("Audio/Graphic options"));
   358 	AGGroupBox->setTitle(QGroupBox::tr("Audio/Graphic options"));
   359 	pageLayout->addWidget(AGGroupBox, 1, 1);
   359 	pageLayout->addWidget(AGGroupBox, 1, 1);
   360 
   360 
   361 	QVBoxLayout * GBAlayout = new QVBoxLayout(AGGroupBox);
   361 	QVBoxLayout * GBAlayout = new QVBoxLayout(AGGroupBox);
   362 	QHBoxLayout * GBAreslayout = new QHBoxLayout(AGGroupBox);
   362 	QHBoxLayout * GBAreslayout = new QHBoxLayout(0);
   363 	QLabel * resolution = new QLabel(AGGroupBox);
   363 	QLabel * resolution = new QLabel(AGGroupBox);
   364 	resolution->setText(QLabel::tr("Resolution"));
   364 	resolution->setText(QLabel::tr("Resolution"));
   365 	GBAreslayout->addWidget(resolution);
   365 	GBAreslayout->addWidget(resolution);
   366 
   366 
   367 	CBResolution = new QComboBox(AGGroupBox);
   367 	CBResolution = new QComboBox(AGGroupBox);
   370 	CBResolution->addItem("1024x768");
   370 	CBResolution->addItem("1024x768");
   371 	CBResolution->addItem("1280x1024");
   371 	CBResolution->addItem("1280x1024");
   372 	GBAreslayout->addWidget(CBResolution);
   372 	GBAreslayout->addWidget(CBResolution);
   373 	GBAlayout->addLayout(GBAreslayout);
   373 	GBAlayout->addLayout(GBAreslayout);
   374 
   374 
   375 	QHBoxLayout * GBAfpslayout = new QHBoxLayout(AGGroupBox);
   375 	QHBoxLayout * GBAfpslayout = new QHBoxLayout(0);
   376 	QLabel * maxfps = new QLabel(AGGroupBox);
   376 	QLabel * maxfps = new QLabel(AGGroupBox);
   377 	maxfps->setText(QLabel::tr("FPS limit"));
   377 	maxfps->setText(QLabel::tr("FPS limit"));
   378 	GBAfpslayout->addWidget(maxfps);
   378 	GBAfpslayout->addWidget(maxfps);
   379 	GBAlayout->addLayout(GBAfpslayout);
   379 	GBAlayout->addLayout(GBAfpslayout);
   380 
   380