113e0c7331
This is completely rebuilt, in order to allow setting author, displaying movie metadata, and toggling read-only mode. The UX is changed to more closely match other emulators' behaviour. Now you can only record/play from start/reset (In the future, we might want to introduce 'record from savestate') Also fixed a critical bug where movie file can be corrupted when ending the recording while game is still running.
72 lines
1.7 KiB
XML
72 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MovieRecordDialog</class>
|
|
<widget class="QDialog" name="MovieRecordDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>600</width>
|
|
<height>150</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Record Movie</string>
|
|
</property>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel">
|
|
<property name="text">
|
|
<string>File:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="filePath"/>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QToolButton" name="filePathButton">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel">
|
|
<property name="text">
|
|
<string>Author:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="authorLineEdit">
|
|
<property name="maxLength">
|
|
<number>32</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="noteLabel"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</ui>
|