blob: 04e4419d4a6bf67e1fb5cdd06aad84e580014221 [file] [log] [blame] [raw]
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>PE Header Editor</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QTreeWidget" name="TreeWidget">
<property name="enabled">
<bool>false</bool>
</property>
<column>
<property name="text">
<string>Name</string>
</property>
</column>
<column>
<property name="text">
<string>Type</string>
</property>
</column>
<column>
<property name="text">
<string>Value</string>
</property>
</column>
<column>
<property name="text">
<string>Comment</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
<widget class="QToolBar" name="MainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="action_Open"/>
<addaction name="action_Save"/>
<addaction name="action_SaveAs"/>
<addaction name="separator"/>
<addaction name="action_Options"/>
<addaction name="action_About"/>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<widget class="QDockWidget" name="DockWidget_Reference">
<property name="maximumSize">
<size>
<width>240</width>
<height>524287</height>
</size>
</property>
<property name="windowTitle">
<string>Information</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTextEdit" name="ReferenceBrowser">
<property name="enabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="DockWidget_ValueReference">
<property name="maximumSize">
<size>
<width>240</width>
<height>524287</height>
</size>
</property>
<property name="windowTitle">
<string>Value Reference</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_2">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QTreeWidget" name="TreeWidget_ValueReference">
<property name="enabled">
<bool>false</bool>
</property>
<column>
<property name="text">
<string notr="true">Value</string>
</property>
</column>
<column>
<property name="text">
<string>Comment</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
</widget>
<action name="action_Open">
<property name="text">
<string>Open</string>
</property>
<property name="statusTip">
<string>Open a PE file</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="action_Save">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Save</string>
</property>
<property name="statusTip">
<string>Save current file</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="action_SaveAs">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Save As</string>
</property>
<property name="statusTip">
<string>Save this PE to a new file</string>
</property>
</action>
<action name="action_Options">
<property name="text">
<string>Options</string>
</property>
</action>
<action name="action_About">
<property name="text">
<string>About</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections>
<connection>
<sender>action_Open</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>open_file()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>199</x>
<y>149</y>
</hint>
</hints>
</connection>
<connection>
<sender>TreeWidget</sender>
<signal>itemDoubleClicked(QTreeWidgetItem*,int)</signal>
<receiver>MainWindow</receiver>
<slot>edit_item(QTreeWidgetItem*,int)</slot>
<hints>
<hint type="sourcelabel">
<x>154</x>
<y>151</y>
</hint>
<hint type="destinationlabel">
<x>199</x>
<y>149</y>
</hint>
</hints>
</connection>
<connection>
<sender>TreeWidget</sender>
<signal>itemChanged(QTreeWidgetItem*,int)</signal>
<receiver>MainWindow</receiver>
<slot>modified()</slot>
<hints>
<hint type="sourcelabel">
<x>154</x>
<y>151</y>
</hint>
<hint type="destinationlabel">
<x>199</x>
<y>149</y>
</hint>
</hints>
</connection>
<connection>
<sender>TreeWidget</sender>
<signal>itemChanged(QTreeWidgetItem*,int)</signal>
<receiver>MainWindow</receiver>
<slot>update_item_value(QTreeWidgetItem*)</slot>
<hints>
<hint type="sourcelabel">
<x>154</x>
<y>151</y>
</hint>
<hint type="destinationlabel">
<x>199</x>
<y>149</y>
</hint>
</hints>
</connection>
<connection>
<sender>action_Save</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>save_file()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>199</x>
<y>149</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>open_file()</slot>
<slot>edit_item(QTreeWidgetItem*,int)</slot>
<slot>modified()</slot>
<slot>update_item_value(QTreeWidgetItem*)</slot>
<slot>save_file()</slot>
</slots>
</ui>