QTfrontend/pages.cpp
changeset 1718 659b214ba777
parent 1701 ad7a7fd14d36
child 1777 88674c291331
equal deleted inserted replaced
1717:f4cf7e36ae3e 1718:659b214ba777
   175 			tmpdir.cd("Sounds/voices");
   175 			tmpdir.cd("Sounds/voices");
   176 			QStringList list = tmpdir.entryList(QDir::AllDirs | QDir::NoDotAndDotDot, QDir::Name);
   176 			QStringList list = tmpdir.entryList(QDir::AllDirs | QDir::NoDotAndDotDot, QDir::Name);
   177 			CBVoicepack->addItems(list);
   177 			CBVoicepack->addItems(list);
   178 		}
   178 		}
   179 		hbox->addWidget(CBVoicepack, 100);
   179 		hbox->addWidget(CBVoicepack, 100);
   180 		BtnTestSound = addButton(":/res/lightbulb_on.png", hbox, 1, true);
   180 		BtnTestSound = addButton(":/res/PlaySound.png", hbox, 1, true);
   181 		hbox->setStretchFactor(BtnTestSound, 1);
   181 		hbox->setStretchFactor(BtnTestSound, 1);
   182 		connect(BtnTestSound, SIGNAL(clicked()), this, SLOT(testSound()));
   182 		connect(BtnTestSound, SIGNAL(clicked()), this, SLOT(testSound()));
   183 		GBTLayout->addLayout(hbox);
   183 		GBTLayout->addLayout(hbox);
   184 	}
   184 	}
   185 
   185