237 lines
8.7 KiB
XML
237 lines
8.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Dialog</class>
|
|
<widget class="QDialog" name="Dialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>448</width>
|
|
<height>364</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Schedule definition</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Schedule name:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefLineEdit" name="lineEditName"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableWidget" name="list">
|
|
<property name="cornerButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="rowCount">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="columnCount">
|
|
<number>5</number>
|
|
</property>
|
|
<attribute name="horizontalHeaderDefaultSectionSize">
|
|
<number>120</number>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="verticalHeaderStretchLastSection">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string>Description</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>A description for this operation</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Property</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>The property to retrieve from each object. Can be "count" to count the objects, or property names like "Length" or "Shape.Volume" to retrieve a certain property.</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Unit</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>An optional unit to express the resulting value. Ex: m^3 (you can also write m³ or m3)</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Objects</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>An optional semicolon (;) separated list of object names internal names, not labels) to be considered by this operation. If the list contains groups, children will be added. Leave blank to use all objects from the document</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Filter</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>An optional semicolon (;) separated list of property:value filters. Prepend ! to a property name to invert the effect of the filer (exclude objects that match the filter. Objects whose property contains the value will be matched. Examples of valid filters (everything is case-insensitive):</p><p><span style=" font-weight:600;">Name:Wall</span> - Will only consider objects with &quot;wall&quot; in their name (internal name)</p><p><span style=" font-weight:600;">!Name:Wall</span> - Will only consider objects which DON'T have &quot;wall&quot; in their name (internal name)</p><p><span style=" font-weight:600;">Descriptionl:Win</span> - Will only consider objects with &quot;win&quot; in their description</p><p><span style=" font-weight:600;">!Label:Win</span> - Will only consider objects which DON't have &quot;win&quot; in their label</p><p><span style=" font-weight:600;">IfcType:Wall</span> - Will only consider objects which Ifc Type is &quot;Wall&quot;</p><p><span style=" font-weight:600;">!Tag:Wall</span> - Will only consider objects which tag is NOT &quot;Wall&quot;</p><p>If you leave this field empty, no filtering is applied</p></body></html></string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="Gui::PrefCheckBox" name="checkSpreadsheet">
|
|
<property name="toolTip">
|
|
<string>If this is enabled, an associated spreadsheet containing the results will be maintained together with this schedule object</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Associate spreadsheet</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefCheckBox" name="checkDetailed">
|
|
<property name="toolTip">
|
|
<string>If this is turned on, additional lines will be filled with each object considered. If not, only the totals.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Detailed results</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="buttonAdd">
|
|
<property name="toolTip">
|
|
<string>Adds a line below the selected line/cell</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add row</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="add">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonDel">
|
|
<property name="toolTip">
|
|
<string>Deletes the selected line</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Del row</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="remove">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonClear">
|
|
<property name="toolTip">
|
|
<string>Clears the whole list</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Clear</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="cancel">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QPushButton" name="buttonSelect">
|
|
<property name="toolTip">
|
|
<string>Put selected objects into the "Objects" column of the selected row</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add selection</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonImport">
|
|
<property name="toolTip">
|
|
<string>Imports the contents of a CSV file</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Import</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-import">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonExport">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>This exports the results to a CSV or Markdown file. </p><p><span style=" font-weight:600;">Note for CSV export:</span></p><p>In Libreoffice, you can keep this CSV file linked by right-clicking the Sheets tab bar -&gt; New sheet -&gt; From file -&gt; Link (Note: as of LibreOffice v5.4.5.1 the correct path now is: Sheets tab bar -&gt; Insert Sheet... -&gt; From file -&gt; Browse...)</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Export</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-export">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Gui::PrefCheckBox</class>
|
|
<extends>QCheckBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefLineEdit</class>
|
|
<extends>QLineEdit</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|