aboutsummaryrefslogtreecommitdiffstats
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--forms/mainwindow.ui80
-rw-r--r--forms/metadatadialog.ui25
2 files changed, 91 insertions, 14 deletions
diff --git a/forms/mainwindow.ui b/forms/mainwindow.ui
index 86d6381..23125a1 100644
--- a/forms/mainwindow.ui
+++ b/forms/mainwindow.ui
@@ -165,7 +165,7 @@
</widget>
<addaction name="actionNew"/>
<addaction name="actionSave"/>
- <addaction name="actionSave_As"/>
+ <addaction name="actionSaveAs"/>
<addaction name="actionOpen"/>
<addaction name="actionClose"/>
<addaction name="menuExport"/>
@@ -255,11 +255,20 @@
</property>
</action>
<action name="actionPDF">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
<property name="text">
<string>PDF</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+E</string>
+ </property>
</action>
<action name="actionLaTeX_TikZ">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
<property name="text">
<string>LaTeX TikZ</string>
</property>
@@ -280,7 +289,7 @@
<string>Ctrl+V</string>
</property>
</action>
- <action name="actionSave_As">
+ <action name="actionSaveAs">
<property name="text">
<string>Save As</string>
</property>
@@ -327,5 +336,70 @@
</action>
</widget>
<resources/>
- <connections/>
+ <connections>
+ <connection>
+ <sender>actionNew</sender>
+ <signal>triggered()</signal>
+ <receiver>newButton</receiver>
+ <slot>click()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>23</x>
+ <y>53</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>actionSave</sender>
+ <signal>triggered()</signal>
+ <receiver>saveButton</receiver>
+ <slot>click()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>99</x>
+ <y>53</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>actionOpen</sender>
+ <signal>triggered()</signal>
+ <receiver>openButton</receiver>
+ <slot>click()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>61</x>
+ <y>53</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>actionQuit</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>close()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>411</x>
+ <y>300</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
</ui>
diff --git a/forms/metadatadialog.ui b/forms/metadatadialog.ui
index 070242e..62fca5c 100644
--- a/forms/metadatadialog.ui
+++ b/forms/metadatadialog.ui
@@ -11,19 +11,9 @@
</rect>
</property>
<property name="windowTitle">
- <string>Set metadata</string>
+ <string>Metadata</string>
</property>
<layout class="QFormLayout" name="formLayout">
- <item row="5" column="1">
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
<item row="1" column="1">
<widget class="QLabel" name="titleLabel">
<property name="text">
@@ -44,6 +34,19 @@
<item row="4" column="1">
<widget class="QLineEdit" name="authorEdit"/>
</item>
+ <item row="5" column="1">
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
<resources/>