2021-09-30 12:52:22 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>EditorSnippetWidget</class>
|
|
|
|
<widget class="QWidget" name="EditorSnippetWidget">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>932</width>
|
|
|
|
<height>574</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
2021-10-20 12:11:36 +08:00
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="currentIndex">
|
2023-02-12 22:33:34 +08:00
|
|
|
<number>0</number>
|
2021-09-30 12:52:22 +08:00
|
|
|
</property>
|
2021-10-20 12:11:36 +08:00
|
|
|
<widget class="QWidget" name="tabSnippet">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Code Snippets</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
2021-09-30 12:52:22 +08:00
|
|
|
<item>
|
2021-10-20 12:11:36 +08:00
|
|
|
<widget class="QSplitter" name="splitter">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
2021-10-18 22:06:33 +08:00
|
|
|
</property>
|
2021-10-20 12:11:36 +08:00
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<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>
|
|
|
|
<widget class="QTableView" name="tblSnippets">
|
|
|
|
<property name="alternatingRowColors">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="selectionMode">
|
|
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
|
|
</property>
|
|
|
|
<property name="selectionBehavior">
|
|
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
|
|
</property>
|
|
|
|
<property name="textElideMode">
|
|
|
|
<enum>Qt::ElideNone</enum>
|
|
|
|
</property>
|
|
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<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>
|
|
|
|
<widget class="QToolButton" name="btnAdd">
|
|
|
|
<property name="text">
|
|
|
|
<string>Add</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="btnRemove">
|
|
|
|
<property name="text">
|
|
|
|
<string>Remove</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>159</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="Editor" name="editCode">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
2021-09-30 20:10:48 +08:00
|
|
|
</property>
|
2021-10-20 12:11:36 +08:00
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
2021-09-30 20:10:48 +08:00
|
|
|
</property>
|
2021-10-20 12:11:36 +08:00
|
|
|
</widget>
|
2021-09-30 12:52:22 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2023-02-22 22:18:21 +08:00
|
|
|
<widget class="QWidget" name="tab">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>New C File Template</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="Editor" name="editCFileTemplate">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2021-10-20 12:11:36 +08:00
|
|
|
<widget class="QWidget" name="tabFileTemplate">
|
|
|
|
<attribute name="title">
|
2023-02-22 22:18:21 +08:00
|
|
|
<string>New C++ File Template</string>
|
2021-10-20 12:11:36 +08:00
|
|
|
</attribute>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
<item>
|
2023-02-22 22:18:21 +08:00
|
|
|
<widget class="Editor" name="editCppFileTemplate">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="tab_2">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>New GAS File Template</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
|
|
<item>
|
|
|
|
<widget class="Editor" name="editGASFileTemplate">
|
2021-10-20 12:11:36 +08:00
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2021-09-30 12:52:22 +08:00
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>Editor</class>
|
|
|
|
<extends>QFrame</extends>
|
2024-03-25 18:58:48 +08:00
|
|
|
<header>editor.h</header>
|
2021-09-30 12:52:22 +08:00
|
|
|
<container>1</container>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2024-03-25 18:58:48 +08:00
|
|
|
<tabstops>
|
|
|
|
<tabstop>tabWidget</tabstop>
|
|
|
|
<tabstop>tblSnippets</tabstop>
|
|
|
|
<tabstop>btnAdd</tabstop>
|
|
|
|
<tabstop>btnRemove</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<resources/>
|
2021-09-30 12:52:22 +08:00
|
|
|
<connections/>
|
|
|
|
</ui>
|