Files
pilotclient/src/blackgui/components/dbautostashingcomponent.ui
Klaus Basan f16379c26b refs #576 auto stash component
Get models, consolidate data with DB data and stash when there is no validation error
2016-02-05 17:59:57 +01:00

249 lines
6.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CDbAutoStashingComponent</class>
<widget class="QDialog" name="CDbAutoStashingComponent">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>420</width>
<height>357</height>
</rect>
</property>
<property name="windowTitle">
<string>Auto stashing</string>
</property>
<layout class="QVBoxLayout" name="vl_AutoStashing">
<item>
<layout class="QGridLayout" name="gl_AutoStashing">
<item row="6" column="0" colspan="4">
<widget class="QProgressBar" name="pb_StashingProgress">
<property name="value">
<number>0</number>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLineEdit" name="le_All">
<property name="readOnly">
<bool>true</bool>
</property>
<property name="placeholderText">
<string>all</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2" alignment="Qt::AlignLeft">
<widget class="QCheckBox" name="cb_RemovedChecked">
<property name="text">
<string>Remove stashed</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="lbl_Max">
<property name="text">
<string>Max stashed:</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLineEdit" name="le_MaxModelsStashed">
<property name="placeholderText">
<string>max.models stashed</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="4">
<widget class="BlackGui::Views::CStatusMessageView" name="tvp_StatusMessages">
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
</property>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
<item row="7" column="2" colspan="2">
<widget class="QDialogButtonBox" name="bb_AutoStashing">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QRadioButton" name="rb_All">
<property name="text">
<string>All:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="le_Selected">
<property name="readOnly">
<bool>true</bool>
</property>
<property name="placeholderText">
<string>selected</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lbl_Description">
<property name="text">
<string>Description:</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="3">
<widget class="QLineEdit" name="le_Description">
<property name="maxLength">
<number>255</number>
</property>
<property name="placeholderText">
<string>Override description in model</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QRadioButton" name="rb_Selected">
<property name="text">
<string>Selected:</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0" colspan="4">
<widget class="QFrame" name="fr_Statistics">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="hl_Statistics">
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item>
<widget class="QLabel" name="lbl_Stashed">
<property name="text">
<string>Stashed:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="le_Stashed">
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="placeholderText">
<string>stashed models</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lbl_NoData">
<property name="text">
<string>No data:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="le_NoData">
<property name="readOnly">
<bool>true</bool>
</property>
<property name="placeholderText">
<string>incomplete data</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lbl_Invalid">
<property name="text">
<string>Invalid:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="le_ValidationFailed">
<property name="readOnly">
<bool>true</bool>
</property>
<property name="placeholderText">
<string>invalid models</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>BlackGui::Views::CStatusMessageView</class>
<extends>QTableView</extends>
<header>blackgui/views/statusmessageview.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>bb_AutoStashing</sender>
<signal>accepted()</signal>
<receiver>CDbAutoStashingComponent</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>bb_AutoStashing</sender>
<signal>rejected()</signal>
<receiver>CDbAutoStashingComponent</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>