Skip to content
Permalink
Browse files

[processing] more fixes to GdalAlgorithm dialog (followup 47d46bb)

  • Loading branch information
alexbruy committed Feb 10, 2017
1 parent 40dfdd7 commit 5c8c53c397e856adf9f5445228f24950fd95a58f
Showing with 17 additions and 2 deletions.
  1. +17 −2 python/plugins/processing/algs/gdal/GdalAlgorithmDialog.py
@@ -25,7 +25,18 @@

__revision__ = '$Format:%H$'

from qgis.PyQt.QtWidgets import QWidget, QVBoxLayout, QPushButton, QLabel, QPlainTextEdit, QLineEdit, QComboBox, QCheckBox
from qgis.PyQt.QtWidgets import (QWidget,
QVBoxLayout,
QPushButton,
QLabel,
QPlainTextEdit,
QLineEdit,
QComboBox,
QCheckBox,
QSizePolicy)

from qgis.gui import QgsMessageBar

from processing.gui.AlgorithmDialog import AlgorithmDialog
from processing.gui.AlgorithmDialogBase import AlgorithmDialogBase
from processing.gui.ParametersPanel import ParametersPanel
@@ -36,10 +47,14 @@
class GdalAlgorithmDialog(AlgorithmDialog):

def __init__(self, alg):
AlgorithmDialog.__init__(self, alg)
AlgorithmDialogBase.__init__(self, alg)

self.alg = alg

self.bar = QgsMessageBar()
self.bar.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
self.layout().insertWidget(0, self.bar)

self.setMainWidget(GdalParametersPanel(self, alg))

cornerWidget = QWidget()

0 comments on commit 5c8c53c

Please sign in to comment.
You can’t perform that action at this time.