Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add forgotten files and fix the clang build
- Loading branch information
Showing
4 changed files
with
354 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>QgsLabelingRulePropsDialog</class> | ||
<widget class="QDialog" name="QgsLabelingRulePropsDialog"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>666</width> | ||
<height>573</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Rule properties</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<item> | ||
<layout class="QFormLayout" name="formLayout"> | ||
<property name="fieldGrowthPolicy"> | ||
<enum>QFormLayout::ExpandingFieldsGrow</enum> | ||
</property> | ||
<item row="0" column="0"> | ||
<widget class="QLabel" name="label_1"> | ||
<property name="text"> | ||
<string>Label</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QLineEdit" name="editLabel"/> | ||
</item> | ||
<item row="1" column="0"> | ||
<widget class="QLabel" name="label_5"> | ||
<property name="text"> | ||
<string>Filter</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<layout class="QHBoxLayout" name="horizontalLayout"> | ||
<item> | ||
<widget class="QLineEdit" name="editFilter"/> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="btnExpressionBuilder"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="text"> | ||
<string>...</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="btnTestFilter"> | ||
<property name="text"> | ||
<string>Test</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
<item row="2" column="0"> | ||
<widget class="QLabel" name="label_4"> | ||
<property name="text"> | ||
<string>Description</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="2" column="1"> | ||
<widget class="QLineEdit" name="editDescription"/> | ||
</item> | ||
</layout> | ||
</item> | ||
<item> | ||
<widget class="QGroupBox" name="groupScale"> | ||
<property name="title"> | ||
<string>Scale range</string> | ||
</property> | ||
<property name="checkable"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="checked"> | ||
<bool>false</bool> | ||
</property> | ||
<layout class="QHBoxLayout" name="horizontalLayout_2"> | ||
<item> | ||
<widget class="QgsScaleRangeWidget" name="mScaleRangeWidget" native="true"> | ||
<property name="toolTip"> | ||
<string/> | ||
</property> | ||
<property name="whatsThis"> | ||
<string/> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QGroupBox" name="groupSettings"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="title"> | ||
<string>Labels</string> | ||
</property> | ||
<property name="checkable"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QDialogButtonBox" name="buttonBox"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="standardButtons"> | ||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<customwidgets> | ||
<customwidget> | ||
<class>QgsScaleRangeWidget</class> | ||
<extends>QWidget</extends> | ||
<header>qgsscalerangewidget.h</header> | ||
</customwidget> | ||
</customwidgets> | ||
<tabstops> | ||
<tabstop>editLabel</tabstop> | ||
<tabstop>editFilter</tabstop> | ||
<tabstop>btnExpressionBuilder</tabstop> | ||
<tabstop>btnTestFilter</tabstop> | ||
<tabstop>editDescription</tabstop> | ||
<tabstop>groupScale</tabstop> | ||
<tabstop>groupSettings</tabstop> | ||
<tabstop>buttonBox</tabstop> | ||
</tabstops> | ||
<resources/> | ||
<connections/> | ||
</ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>QgsLabelingWidget</class> | ||
<widget class="QWidget" name="QgsLabelingWidget"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>572</width> | ||
<height>300</height> | ||
</rect> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<property name="spacing"> | ||
<number>6</number> | ||
</property> | ||
<property name="margin"> | ||
<number>0</number> | ||
</property> | ||
<item> | ||
<layout class="QHBoxLayout" name="horizontalLayout"> | ||
<item> | ||
<widget class="QComboBox" name="mLabelModeComboBox"> | ||
<item> | ||
<property name="text"> | ||
<string>No labels</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Show labels for this layer</string> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../../images/images.qrc"> | ||
<normaloff>:/images/themes/default/propertyicons/labels.svg</normaloff>:/images/themes/default/propertyicons/labels.svg</iconset> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Discourage other labels from covering features in this layer</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Rule-based labeling</string> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../../images/images.qrc"> | ||
<normaloff>:/images/themes/default/propertyicons/labels.svg</normaloff>:/images/themes/default/propertyicons/labels.svg</iconset> | ||
</property> | ||
</item> | ||
</widget> | ||
</item> | ||
<item> | ||
<spacer name="horizontalSpacer_5"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>12</width> | ||
<height>20</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="mEngineSettingsButton"> | ||
<property name="enabled"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="toolTip"> | ||
<string>Automated placement settings (apply to all layers)</string> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../../images/images.qrc"> | ||
<normaloff>:/images/themes/default/mIconAutoPlacementSettings.svg</normaloff>:/images/themes/default/mIconAutoPlacementSettings.svg</iconset> | ||
</property> | ||
<property name="iconSize"> | ||
<size> | ||
<width>24</width> | ||
<height>16</height> | ||
</size> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
<item> | ||
<widget class="QStackedWidget" name="mStackedWidget"/> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources> | ||
<include location="../../images/images.qrc"/> | ||
</resources> | ||
<connections/> | ||
</ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>QgsRuleBasedLabelingWidget</class> | ||
<widget class="QWidget" name="QgsRuleBasedLabelingWidget"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>400</width> | ||
<height>300</height> | ||
</rect> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<item> | ||
<widget class="QTreeView" name="viewRules"> | ||
<property name="acceptDrops"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="editTriggers"> | ||
<set>QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set> | ||
</property> | ||
<property name="dragEnabled"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="dragDropMode"> | ||
<enum>QAbstractItemView::InternalMove</enum> | ||
</property> | ||
<property name="selectionMode"> | ||
<enum>QAbstractItemView::ExtendedSelection</enum> | ||
</property> | ||
<property name="allColumnsShowFocus"> | ||
<bool>true</bool> | ||
</property> | ||
<attribute name="headerMinimumSectionSize"> | ||
<number>100</number> | ||
</attribute> | ||
</widget> | ||
</item> | ||
<item> | ||
<layout class="QHBoxLayout" name="horizontalLayout"> | ||
<item> | ||
<widget class="QPushButton" name="btnAddRule"> | ||
<property name="toolTip"> | ||
<string>Add rule</string> | ||
</property> | ||
<property name="text"> | ||
<string/> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../../images/images.qrc"> | ||
<normaloff>:/images/themes/default/symbologyAdd.svg</normaloff>:/images/themes/default/symbologyAdd.svg</iconset> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="btnEditRule"> | ||
<property name="toolTip"> | ||
<string>Edit rule</string> | ||
</property> | ||
<property name="text"> | ||
<string/> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../../images/images.qrc"> | ||
<normaloff>:/images/themes/default/symbologyEdit.png</normaloff>:/images/themes/default/symbologyEdit.png</iconset> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="btnRemoveRule"> | ||
<property name="toolTip"> | ||
<string>Remove rule</string> | ||
</property> | ||
<property name="text"> | ||
<string/> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../../images/images.qrc"> | ||
<normaloff>:/images/themes/default/symbologyRemove.svg</normaloff>:/images/themes/default/symbologyRemove.svg</iconset> | ||
</property> | ||
</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> | ||
</layout> | ||
</widget> | ||
<resources> | ||
<include location="../../images/images.qrc"/> | ||
</resources> | ||
<connections/> | ||
</ui> |