MediaDialog::MediaDialog(QWidget* parent) : QDialog() { setupUi(this); setWindowTitle(tr("MuseScore: Additional Media")); scanFileButton->setIcon(*icons[fileOpen_ICON]); audioFileButton->setIcon(*icons[fileOpen_ICON]); connect(addScan, SIGNAL(clicked()), SLOT(addScanPressed())); connect(removeScan, SIGNAL(clicked()), SLOT(removeScanPressed())); connect(addAudio, SIGNAL(clicked()), SLOT(addAudioPressed())); connect(removeAudio, SIGNAL(clicked()), SLOT(removeAudioPressed())); connect(scanFileButton, SIGNAL(clicked()), SLOT(scanFileButtonPressed())); connect(audioFileButton, SIGNAL(clicked()), SLOT(audioFileButtonPressed())); }
MediaDialog::MediaDialog(QWidget* /*parent*/) : QDialog() { setupUi(this); setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint); setWindowTitle(tr("MuseScore: Additional Media")); scanFileButton->setIcon(*icons[int(Icons::fileOpen_ICON)]); audioFileButton->setIcon(*icons[int(Icons::fileOpen_ICON)]); connect(addScan, SIGNAL(clicked()), SLOT(addScanPressed())); connect(removeScan, SIGNAL(clicked()), SLOT(removeScanPressed())); connect(addAudio, SIGNAL(clicked()), SLOT(addAudioPressed())); connect(removeAudio, SIGNAL(clicked()), SLOT(removeAudioPressed())); connect(scanFileButton, SIGNAL(clicked()), SLOT(scanFileButtonPressed())); connect(audioFileButton, SIGNAL(clicked()), SLOT(audioFileButtonPressed())); }