##// END OF EJS Templates
Adds a sample JSON file as a resource in AMDA plugin...
Adds a sample JSON file as a resource in AMDA plugin The file will be used to generate the data source item

File last commit:

r302:c121d060318a
r353:4896377e80f5
Show More
TimeWidget.ui
92 lines | 2.4 KiB | text/plain | TextLexer
Add the TimeWidget
r134 <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TimeWidget</class>
<widget class="QWidget" name="TimeWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>716</width>
<height>48</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>TStart :</string>
</property>
</widget>
</item>
<item>
<widget class="QDateTimeEdit" name="startDateTimeEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="displayFormat">
<string>dd/MM/yyyy HH:mm:ss:zzz</string>
</property>
<property name="calendarPopup">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>TEnd :</string>
</property>
</widget>
</item>
<item>
<widget class="QDateTimeEdit" name="endDateTimeEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="displayFormat">
<string>dd/MM/yyyy HH:mm:ss:zzz</string>
</property>
<property name="calendarPopup">
<bool>true</bool>
</property>
</widget>
</item>
Add apply button and its connection for timewidget
r302 <item>
<widget class="QToolButton" name="applyToolButton">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
Add the TimeWidget
r134 </layout>
</widget>
<resources/>
<connections/>
</ui>