|
@@ -0,0 +1,455 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<ui version="4.0">
|
|
|
+ <class>ctkPluginGeneratorMainWindow</class>
|
|
|
+ <widget class="QMainWindow" name="ctkPluginGeneratorMainWindow">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>800</width>
|
|
|
+ <height>600</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="windowTitle">
|
|
|
+ <string>CTK Plugin Generator</string>
|
|
|
+ </property>
|
|
|
+ <property name="unifiedTitleAndToolBarOnMac">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="centralwidget">
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout">
|
|
|
+ <item>
|
|
|
+ <widget class="QStackedWidget" name="modeStack">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>1</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="currentIndex">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="editPage">
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
+ <property name="margin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QSplitter" name="splitter">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="widget_5" native="true">
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
+ <property name="margin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="uiExtensionListLabel">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>0</width>
|
|
|
+ <height>40</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
|
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
|
+p, li { white-space: pre-wrap; }
|
|
|
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
|
+<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
|
|
|
+<tr>
|
|
|
+<td style="border: none;">
|
|
|
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">Plugin</span></p>
|
|
|
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">Generator</span></p></td></tr></table></body></html></string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QListWidget" name="uiExtensionList">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>200</width>
|
|
|
+ <height>0</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="widget_4" native="true">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
+ <horstretch>1</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
+ <property name="leftMargin">
|
|
|
+ <number>6</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="QWidget" name="widget_7" native="true">
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_8">
|
|
|
+ <property name="spacing">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <property name="margin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="extensionMsgLabel">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>0</width>
|
|
|
+ <height>20</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="font">
|
|
|
+ <font>
|
|
|
+ <weight>75</weight>
|
|
|
+ <bold>true</bold>
|
|
|
+ </font>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>TextLabel</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="extensionErrMsgLabel">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>0</width>
|
|
|
+ <height>20</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="palette">
|
|
|
+ <palette>
|
|
|
+ <active>
|
|
|
+ <colorrole role="WindowText">
|
|
|
+ <brush brushstyle="SolidPattern">
|
|
|
+ <color alpha="255">
|
|
|
+ <red>255</red>
|
|
|
+ <green>0</green>
|
|
|
+ <blue>0</blue>
|
|
|
+ </color>
|
|
|
+ </brush>
|
|
|
+ </colorrole>
|
|
|
+ </active>
|
|
|
+ <inactive>
|
|
|
+ <colorrole role="WindowText">
|
|
|
+ <brush brushstyle="SolidPattern">
|
|
|
+ <color alpha="255">
|
|
|
+ <red>255</red>
|
|
|
+ <green>0</green>
|
|
|
+ <blue>0</blue>
|
|
|
+ </color>
|
|
|
+ </brush>
|
|
|
+ </colorrole>
|
|
|
+ </inactive>
|
|
|
+ <disabled>
|
|
|
+ <colorrole role="WindowText">
|
|
|
+ <brush brushstyle="SolidPattern">
|
|
|
+ <color alpha="255">
|
|
|
+ <red>150</red>
|
|
|
+ <green>147</green>
|
|
|
+ <blue>140</blue>
|
|
|
+ </color>
|
|
|
+ </brush>
|
|
|
+ </colorrole>
|
|
|
+ </disabled>
|
|
|
+ </palette>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>TextLabel</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QStackedWidget" name="extensionStack">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
+ <horstretch>1</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="previewPage">
|
|
|
+ <property name="layoutDirection">
|
|
|
+ <enum>Qt::LeftToRight</enum>
|
|
|
+ </property>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_5">
|
|
|
+ <property name="margin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QSplitter" name="splitter_2">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="widget_2" native="true">
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_6">
|
|
|
+ <property name="margin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="previewLabel">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>0</width>
|
|
|
+ <height>40</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
|
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
|
+p, li { white-space: pre-wrap; }
|
|
|
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
|
+<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
|
|
|
+<tr>
|
|
|
+<td style="border: none;">
|
|
|
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">Plugin </span><span style=" font-size:12pt; font-weight:600;">Generator</span></p>
|
|
|
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">Preview</span></p></td></tr></table></body></html></string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QTreeView" name="previewTreeView"/>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="widget_6" native="true">
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_7">
|
|
|
+ <property name="margin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="previewTextLabel">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>0</width>
|
|
|
+ <height>40</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string/>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
|
|
+ </property>
|
|
|
+ <property name="wordWrap">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QTextEdit" name="previewTextEdit">
|
|
|
+ <property name="readOnly">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QWidget" name="widget" native="true">
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
+ <property name="margin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="label">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Output directory</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="ctkDirectoryButton" name="outputDirButton">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
+ <horstretch>1</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="caption">
|
|
|
+ <string>Choose output directory</string>
|
|
|
+ </property>
|
|
|
+ <property name="options">
|
|
|
+ <set>ctkDirectoryButton::HideNameFilterDetails</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="Line" name="line">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
+ </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>4</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QWidget" name="widget_3" native="true">
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
+ <property name="margin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="previewButton">
|
|
|
+ <property name="text">
|
|
|
+ <string>Preview >></string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <spacer name="horizontalSpacer_2">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint" stdset="0">
|
|
|
+ <size>
|
|
|
+ <width>40</width>
|
|
|
+ <height>20</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="generateButton">
|
|
|
+ <property name="text">
|
|
|
+ <string>Generate</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="cancelButton">
|
|
|
+ <property name="text">
|
|
|
+ <string>Exit</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QMenuBar" name="menubar">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>800</width>
|
|
|
+ <height>25</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <widget class="QMenu" name="menuFile">
|
|
|
+ <property name="title">
|
|
|
+ <string>File</string>
|
|
|
+ </property>
|
|
|
+ <addaction name="actionOptions"/>
|
|
|
+ <addaction name="separator"/>
|
|
|
+ <addaction name="actionExit"/>
|
|
|
+ </widget>
|
|
|
+ <addaction name="menuFile"/>
|
|
|
+ </widget>
|
|
|
+ <widget class="QStatusBar" name="statusbar"/>
|
|
|
+ <action name="actionExit">
|
|
|
+ <property name="text">
|
|
|
+ <string>Exit</string>
|
|
|
+ </property>
|
|
|
+ <property name="shortcut">
|
|
|
+ <string>Ctrl+Q</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
+ <action name="actionOptions">
|
|
|
+ <property name="text">
|
|
|
+ <string>Options...</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
+ </widget>
|
|
|
+ <customwidgets>
|
|
|
+ <customwidget>
|
|
|
+ <class>ctkDirectoryButton</class>
|
|
|
+ <extends>QWidget</extends>
|
|
|
+ <header>ctkDirectoryButton.h</header>
|
|
|
+ </customwidget>
|
|
|
+ </customwidgets>
|
|
|
+ <resources/>
|
|
|
+ <connections>
|
|
|
+ <connection>
|
|
|
+ <sender>actionExit</sender>
|
|
|
+ <signal>triggered()</signal>
|
|
|
+ <receiver>cancelButton</receiver>
|
|
|
+ <slot>click()</slot>
|
|
|
+ <hints>
|
|
|
+ <hint type="sourcelabel">
|
|
|
+ <x>-1</x>
|
|
|
+ <y>-1</y>
|
|
|
+ </hint>
|
|
|
+ <hint type="destinationlabel">
|
|
|
+ <x>748</x>
|
|
|
+ <y>555</y>
|
|
|
+ </hint>
|
|
|
+ </hints>
|
|
|
+ </connection>
|
|
|
+ </connections>
|
|
|
+</ui>
|