2014-11-12 11:42:29 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
"""
|
|
|
|
***************************************************************************
|
|
|
|
AlgorithmDialogBase.py
|
|
|
|
---------------------
|
|
|
|
Date : August 2012
|
|
|
|
Copyright : (C) 2012 by Victor Olaya
|
|
|
|
Email : volayaf at gmail dot com
|
|
|
|
***************************************************************************
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
***************************************************************************
|
|
|
|
"""
|
|
|
|
|
|
|
|
__author__ = 'Victor Olaya'
|
|
|
|
__date__ = 'August 2012'
|
|
|
|
__copyright__ = '(C) 2012, Victor Olaya'
|
|
|
|
|
2015-05-18 21:04:20 +03:00
|
|
|
|
2017-11-29 15:09:19 +10:00
|
|
|
class AlgorithmDialogBase:
|
2016-02-15 00:16:51 +01:00
|
|
|
class InvalidParameterValue(Exception):
|
|
|
|
|
|
|
|
def __init__(self, param, widget):
|
|
|
|
(self.parameter, self.widget) = (param, widget)
|
2019-02-22 20:24:56 +01:00
|
|
|
|
|
|
|
class InvalidOutputExtension(Exception):
|
|
|
|
|
|
|
|
def __init__(self, widget, message):
|
|
|
|
self.widget = widget
|
|
|
|
self.message = message
|