Skip to content


add checkbox for "-dstalpha" option in GDALTools Clipper tool
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 2, 2012
1 parent 1621bc8 commit 98ad0f8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion python/plugins/GdalTools/tools/
Expand Up @@ -28,7 +28,8 @@ def __init__(self, iface):
(self.outSelector, SIGNAL("filenameChanged()") ),
(self.noDataSpin, SIGNAL("valueChanged(int)"), self.noDataCheck, "1.7.0"),
(self.maskSelector, SIGNAL("filenameChanged()"), self.maskModeRadio, "1.6.0"),
(self.extentSelector, [SIGNAL("selectionStarted()"), SIGNAL("newExtentDefined()")], self.extentModeRadio),
(self.alphaBandCheck, SIGNAL( "stateChanged( int )") ),
(self.extentSelector, [SIGNAL("selectionStarted()"), SIGNAL("newExtentDefined()")], self.extentModeRadio),
(self.modeStackedWidget, SIGNAL("currentIndexChanged(int)"))
Expand Down
13 changes: 10 additions & 3 deletions python/plugins/GdalTools/tools/widgetClipper.ui
Expand Up @@ -7,7 +7,7 @@
<property name="sizePolicy">
Expand Down Expand Up @@ -93,7 +93,7 @@
<item row="1" column="0" colspan="2">
<widget class="QStackedWidget" name="modeStackedWidget">
<property name="currentIndex">
<widget class="QWidget" name="page">
<layout class="QGridLayout" name="gridLayout_3">
Expand All @@ -110,7 +110,7 @@
<property name="margin">
<item row="1" column="0">
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
Expand All @@ -133,6 +133,13 @@
<item row="0" column="1">
<widget class="GdalToolsInOutSelector" name="maskSelector" native="true"/>
<item row="1" column="0">
<widget class="QCheckBox" name="alphaBandCheck">
<property name="text">
<string>Create an output alpha band</string>
Expand Down

0 comments on commit 98ad0f8

Please sign in to comment.