##// END OF EJS Templates
Started UI unit testing...
Started UI unit testing Added basic single plot unit test, only plot and context creation is implemented, tests cases are to be written and refactoring init in shared test fixtures will be necessary. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1302:3771be3f513d
r1359:609bd9b37a71
Show More
CatalogueSideBarWidget.ui
105 lines | 2.9 KiB | text/plain | TextLexer
/ gui / ui / Catalogue / CatalogueSideBarWidget.ui
Sub widget classes
r1095 <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CatalogueSideBarWidget</class>
<widget class="QWidget" name="CatalogueSideBarWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
Basic ui
r1096 <width>330</width>
<height>523</height>
Sub widget classes
r1095 </rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
Basic ui
r1096 <layout class="QVBoxLayout" name="verticalLayout">
Catalog side bar
r1098 <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>
Basic ui
r1096 <item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
Toolbar icons
r1097 <widget class="QToolButton" name="btnAdd">
Disable not implemented buttons
r1240 <property name="enabled">
Add catalogue handling
r1302 <bool>true</bool>
Disable not implemented buttons
r1240 </property>
Basic ui
r1096 <property name="text">
<string>+</string>
</property>
Toolbar icons
r1097 <property name="icon">
Multi selection of catalogues
r1132 <iconset resource="../../resources/sqpguiresources.qrc">
Toolbar icons
r1097 <normaloff>:/icones/add.png</normaloff>:/icones/add.png</iconset>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
Basic ui
r1096 </widget>
</item>
<item>
Toolbar icons
r1097 <widget class="QToolButton" name="btnRemove">
Disable not implemented buttons
r1240 <property name="enabled">
Add catalogue handling
r1302 <bool>true</bool>
Disable not implemented buttons
r1240 </property>
Basic ui
r1096 <property name="text">
<string> - </string>
</property>
Toolbar icons
r1097 <property name="icon">
Multi selection of catalogues
r1132 <iconset resource="../../resources/sqpguiresources.qrc">
Toolbar icons
r1097 <normaloff>:/icones/remove.png</normaloff>:/icones/remove.png</iconset>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
Basic ui
r1096 </widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
Refactoring of catalogue display using a QTreeView and a custom model based on QTreeWidgetItem
r1228 <widget class="QTreeView" name="treeView">
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="dragDropMode">
Refactoring of catalogue: use a custom item class
r1229 <enum>QAbstractItemView::DragDrop</enum>
Refactoring of catalogue display using a QTreeView and a custom model based on QTreeWidgetItem
r1228 </property>
Drop of events on a catalogue
r1230 <property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
Refactoring of catalogue: use a custom item class
r1229 <attribute name="headerVisible">
<bool>false</bool>
</attribute>
<attribute name="headerStretchLastSection">
<bool>false</bool>
Basic ui
r1096 </attribute>
</widget>
</item>
</layout>
Sub widget classes
r1095 </widget>
Multi selection of catalogues
r1132 <resources>
<include location="../../resources/sqpguiresources.qrc"/>
</resources>
Sub widget classes
r1095 <connections/>
</ui>