disable fields in File->Info that are not changeable

and fix a text
This commit is contained in:
Joachim Schmitz 2015-11-06 12:05:39 +01:00
parent 5a8cf68c40
commit 44aca4efb8
2 changed files with 6 additions and 2 deletions

View file

@ -37,9 +37,13 @@ MetaEditDialog::MetaEditDialog(Score* s, QWidget* parent)
dirty = false;
level->setValue(score->mscVersion());
level->setDisabled(true);
version->setText(score->mscoreVersion());
version->setDisabled(true);
revision->setValue(score->mscoreRevision());
revision->setDisabled(true);
filePath->setText(score->importedFilePath());
filePath->setDisabled(true);
int idx = 0;
QMapIterator<QString, QString> i(s->metaTags());

View file

@ -69,7 +69,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>FilePath:</string>
<string>File Path:</string>
</property>
</widget>
</item>
@ -93,7 +93,7 @@
<x>0</x>
<y>0</y>
<width>646</width>
<height>244</height>
<height>264</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout"/>