/***************************************************************************
 *   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.                                   *
 *                                                                         *
 *   copyright (C) 2002-2015                                               *
 *   Umbrello UML Modeller Authors <umbrello-devel@kde.org>                *
 ***************************************************************************/

#ifndef NOTEDIALOG_H
#define NOTEDIALOG_H

// kde includes
#include "singlepagedialogbase.h"

class DocumentationWidget;
class NoteWidget;

/**
 * @author Paul Hensgen
 * Bugs and comments to umbrello-devel@kde.org or http://bugs.kde.org
 */
class NoteDialog : public SinglePageDialogBase
{
   Q_OBJECT
public:
    NoteDialog(QWidget *parent, NoteWidget *note);
    ~NoteDialog();

protected:
    DocumentationWidget *m_docWidget; ///< widget holding the documentation
    NoteWidget *m_noteWidget;  ///< note widget to show documentation for

    bool apply();
};

#endif
