Files
jthedering 5a795a2d26 Improved: Tabs can be closed by middle click in the Configuration Editor. Ctrl+A can be used to select all rows.
Fixed: When a line was edited manually in the Configuration Editor, the file was not saved automatically when "Instant mode" was enabled.
2017-08-12 11:13:30 +00:00

757 lines
23 KiB
XML

<?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>1024</width>
<height>768</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true"/>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="MiddleClickTabWidget" name="tabWidget">
<property name="documentMode">
<bool>true</bool>
</property>
<property name="tabsClosable">
<bool>true</bool>
</property>
<property name="movable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1024</width>
<height>26</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
</property>
<addaction name="actionNew"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
<addaction name="actionSaveAs"/>
<addaction name="separator"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>Edit</string>
</property>
<addaction name="actionCut"/>
<addaction name="actionCopy"/>
<addaction name="actionPaste"/>
<addaction name="actionDelete"/>
<addaction name="separator"/>
<addaction name="actionSelectAll"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>View</string>
</property>
<addaction name="actionToolbar"/>
<addaction name="actionAnalysisPanel"/>
</widget>
<widget class="QMenu" name="menuSettings">
<property name="title">
<string>Settings</string>
</property>
<widget class="QMenu" name="menuLanguage">
<property name="title">
<string>Language</string>
</property>
<addaction name="separator"/>
</widget>
<addaction name="menuLanguage"/>
<addaction name="separator"/>
<addaction name="actionResetAllGlobalPreferences"/>
<addaction name="actionResetAllFileSpecificPreferences"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
<addaction name="menuView"/>
<addaction name="menuSettings"/>
</widget>
<widget class="QToolBar" name="mainToolBar">
<property name="windowTitle">
<string>Toolbar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionNew"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
</widget>
<widget class="QDockWidget" name="analysisDockWidget">
<property name="windowTitle">
<string>Analysis panel</string>
</property>
<attribute name="dockWidgetArea">
<number>8</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>1</number>
</property>
<property name="horizontalSpacing">
<number>1</number>
</property>
<property name="verticalSpacing">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Settings</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="topMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<property name="verticalSpacing">
<number>1</number>
</property>
<item row="3" column="0">
<widget class="QLabel" name="resolutionLabel">
<property name="text">
<string>Resolution:</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="analysisChannelLabel">
<property name="text">
<string>Channel:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="analysisChannelComboBox"/>
</item>
<item row="3" column="1">
<widget class="ExponentialSpinBox" name="resolutionSpinBox">
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
</property>
<property name="keyboardTracking">
<bool>false</bool>
</property>
<property name="minimum">
<number>128</number>
</property>
<property name="maximum">
<number>8388608</number>
</property>
<property name="value">
<number>65536</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="startFromLabel">
<property name="text">
<string>Start from:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="startFromComboBox">
<item>
<property name="text">
<string notr="true">config.txt</string>
</property>
</item>
<item>
<property name="text">
<string>Current file</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Estimated properties</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<property name="topMargin">
<number>6</number>
</property>
<item row="2" column="1">
<widget class="QLabel" name="initTimeValueLabel">
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="cpuUsageLabel">
<property name="text">
<string>CPU usage:</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="initTimeLabel">
<property name="text">
<string>Init. time:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="cpuUsageValueLabel">
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>127</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>127</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>127</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="latencyValueLabel">
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="latencyLabel">
<property name="text">
<string>Latency: </string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="peakGainlabel">
<property name="text">
<string>Peak gain:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="peakGainValueLabel">
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" rowspan="2">
<widget class="AnalysisPlotView" name="graphicsView">
<property name="mouseTracking">
<bool>true</bool>
</property>
<property name="renderHints">
<set>QPainter::Antialiasing|QPainter::TextAntialiasing</set>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<action name="actionNew">
<property name="icon">
<iconset resource="Editor.qrc">
<normaloff>:/icons/document-new.ico</normaloff>:/icons/document-new.ico</iconset>
</property>
<property name="text">
<string>New</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+N</string>
</property>
</action>
<action name="actionOpen">
<property name="icon">
<iconset resource="Editor.qrc">
<normaloff>:/icons/document-open.ico</normaloff>:/icons/document-open.ico</iconset>
</property>
<property name="text">
<string>Open</string>
</property>
<property name="toolTip">
<string>Open</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+O</string>
</property>
</action>
<action name="actionSave">
<property name="icon">
<iconset resource="Editor.qrc">
<normaloff>:/icons/document-save.ico</normaloff>:/icons/document-save.ico</iconset>
</property>
<property name="text">
<string>Save</string>
</property>
<property name="toolTip">
<string>Save</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+S</string>
</property>
</action>
<action name="actionSaveAs">
<property name="icon">
<iconset resource="Editor.qrc">
<normaloff>:/icons/document-save-as.ico</normaloff>:/icons/document-save-as.ico</iconset>
</property>
<property name="text">
<string>Save as...</string>
</property>
<property name="toolTip">
<string>Save as...</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
<action name="actionExit">
<property name="text">
<string>Exit</string>
</property>
<property name="shortcut">
<string notr="true">Alt+F4</string>
</property>
</action>
<action name="actionCut">
<property name="icon">
<iconset resource="Editor.qrc">
<normaloff>:/icons/edit-cut.ico</normaloff>:/icons/edit-cut.ico</iconset>
</property>
<property name="text">
<string>Cut</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+X</string>
</property>
</action>
<action name="actionCopy">
<property name="icon">
<iconset resource="Editor.qrc">
<normaloff>:/icons/edit-copy.ico</normaloff>:/icons/edit-copy.ico</iconset>
</property>
<property name="text">
<string>Copy</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+C</string>
</property>
</action>
<action name="actionPaste">
<property name="icon">
<iconset resource="Editor.qrc">
<normaloff>:/icons/edit-paste.ico</normaloff>:/icons/edit-paste.ico</iconset>
</property>
<property name="text">
<string>Paste</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+V</string>
</property>
</action>
<action name="actionDelete">
<property name="icon">
<iconset resource="Editor.qrc">
<normaloff>:/icons/edit-delete.ico</normaloff>:/icons/edit-delete.ico</iconset>
</property>
<property name="text">
<string>Delete</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
<action name="actionToolbar">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Toolbar</string>
</property>
</action>
<action name="actionAnalysisPanel">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Analysis panel</string>
</property>
</action>
<action name="actionResetAllGlobalPreferences">
<property name="text">
<string>Reset all global preferences</string>
</property>
</action>
<action name="actionResetAllFileSpecificPreferences">
<property name="text">
<string>Reset all file-specific preferences</string>
</property>
</action>
<action name="actionSelectAll">
<property name="icon">
<iconset resource="Editor.qrc">
<normaloff>:/icons/edit-select-all.ico</normaloff>:/icons/edit-select-all.ico</iconset>
</property>
<property name="text">
<string>Select all</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+A</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>AnalysisPlotView</class>
<extends>QGraphicsView</extends>
<header>Editor/AnalysisPlotView.h</header>
</customwidget>
<customwidget>
<class>ExponentialSpinBox</class>
<extends>QSpinBox</extends>
<header>Editor/widgets/ExponentialSpinBox.h</header>
</customwidget>
<customwidget>
<class>MiddleClickTabWidget</class>
<extends>QTabWidget</extends>
<header>Editor/widgets/MiddleClickTabWidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="Editor.qrc"/>
</resources>
<connections>
<connection>
<sender>actionExit</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>511</x>
<y>383</y>
</hint>
</hints>
</connection>
</connections>
</ui>