#ifndef __DISPLAYSTATEPARAMEDITOR_H
#define __DISPLAYSTATEPARAMEDITOR_H

/*@@@**************************************************************************
** \file  displayStateParamEditor
* \date   Mon Apr 27 14:47:12 EDT 2009
* \author Hernan Badino
* \notes  
*******************************************************************************
******************************************************************************/

/* INCLUDES */
#include "baseParamEditorWidget.h"

#include "displayStateParam.h"

/* PROTOTYPES */
class QSpinBox;
class QCheckBox;

namespace VIC
{
    /* PROTOTYPES */

    class CDisplayStateParameterEditor : public CBaseParamEditorWidget
    {
        Q_OBJECT
        public:
        
        /// Constructors/Destructor
        CDisplayStateParameterEditor ( CDisplayStateParameter *  f_parameter_p,
                                       QWidget *                 f_parent_p = NULL );

        virtual ~CDisplayStateParameterEditor ();

        virtual bool updateWidget();
                             
    public slots:
        void updateParameter();

    /// Protected members
    protected:

        /// Stored value.
        QSpinBox *               m_qsb_p[2];

        /// Buttom to open displayState dialog.
        QCheckBox *              m_qcb_p;

        /// Associated DisplayState parameter
        CDisplayStateParameter * m_parameter_p;
    };
}

#endif // __DISPLAYSTATEPARAMEDITOR_H

/* ////////////  Version History ///////////////
 *  $Log: displayStateParamEditor.h,v $
 *  Revision 1.2  2009/11/18 15:51:01  badino
 *  badino: documentation added. Some other global changes.
 *
 *//////////////////////////////////////////////
