##// END OF EJS Templates
Adds initial test case
Adds initial test case

File last commit:

r937:839cf5f776e4
r1179:be0b9c5e4602
Show More
VisualizationZoneWidget.ui
125 lines | 3.3 KiB | text/plain | TextLexer
/ gui / ui / Visualization / VisualizationZoneWidget.ui
Add the visualization gui classes
r118 <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>VisualizationZoneWidget</class>
<widget class="QWidget" name="VisualizationZoneWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
Alexandre Leroux
Removes margins from visualization widgets
r723 <property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
Increase spacing at the bottom of the visu to give more space for dropping in a new zone
r937 <number>6</number>
Alexandre Leroux
Removes margins from visualization widgets
r723 </property>
Alexandre Leroux
Adds a name for a zone...
r197 <item>
<widget class="QWidget" name="infobar" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
Alexandre Leroux
Removes margins from visualization widgets
r723 <property name="spacing">
<number>0</number>
</property>
Alexandre Leroux
Adds a name for a zone...
r197 <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="QLabel" name="zoneNameLabel">
<property name="styleSheet">
<string notr="true">color: rgb(127, 127, 127);
</string>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
Alexandre Leroux
Adds a close button to a zone widget + calls close() method when clicked
r265 <item>
<widget class="QToolButton" name="closeButton">
<property name="styleSheet">
<string notr="true">background-color: transparent;</string>
</property>
<property name="text">
<string>Close</string>
</property>
</widget>
</item>
Alexandre Leroux
Adds a name for a zone...
r197 </layout>
</widget>
</item>
Add the visualization gui classes
r118 <item>
Fix some glitches which occurred when dragging in the visualization something from the sides.
r880 <widget class="VisualizationDragDropContainer" name="dragDropContainer">
Alexandre Leroux
Adds a name for a zone...
r197 <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
Add the visualization gui classes
r118 <property name="frameShape">
Add lambda in VIsualizationWidget to fix the bug of the corner widget button size...
r186 <enum>QFrame::Box</enum>
Add the visualization gui classes
r118 </property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
Add lambda in VIsualizationWidget to fix the bug of the corner widget button size...
r186 <property name="lineWidth">
<number>1</number>
</property>
Alexandre Leroux
Removes margins from visualization widgets
r723 <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>
</layout>
Add the visualization gui classes
r118 </widget>
</item>
</layout>
</widget>
Integrates the drag&drop classes into the existing visualization classes.
r839 <customwidgets>
<customwidget>
<class>VisualizationDragDropContainer</class>
Fix some glitches which occurred when dragging in the visualization something from the sides.
r880 <extends>QFrame</extends>
Integrates the drag&drop classes into the existing visualization classes.
r839 <header>Visualization/VisualizationDragDropContainer.h</header>
<container>1</container>
</customwidget>
</customwidgets>
Add the visualization gui classes
r118 <resources/>
<connections/>
</ui>