equal
deleted
inserted
replaced
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 |