/***************************************************************************
                          kdrawchemview.h  -  description
                             -------------------
    begin                : Mon Jul 15 12:24:12 CDT 2002
    copyright            : (C) 2002 by Adam Tenderholt
    email                : a-tenderholt@northwestern.edu
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef KDRAWCHEMVIEW_H
#define KDRAWCHEMVIEW_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif 

// include files for Qt
#include <qwidget.h>
#include "render2d.h"

class KDrawChemDoc;

/** The KDrawChemView class provides the view widget for the KDrawChemApp instance.	
 * The View instance inherits QWidget as a base class and represents the view object of a KTMainWindow. As KDrawChemView is part of the
 * docuement-view model, it needs a reference to the document object connected with it by the KDrawChemApp class to manipulate and display
 * the document structure provided by the KDrawChemDoc class.
 * 	
 * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team.
 * @version KDevelop version 0.4 code generation
 */
class KDrawChemView : public Render2D
//class KDrawChemView : public QWidget
{
  Q_OBJECT
  public:
    /** Constructor for the main view */
    KDrawChemView(QWidget *parent = 0, const char *name=0);
    /** Destructor for the main view */
    ~KDrawChemView();

    /** returns a pointer to the document connected to the view instance. Mind that this method requires a KDrawChemApp instance as a parent
     * widget to get to the window document pointer by calling the KDrawChemApp::getDocument() method.
     *
     * @see KDrawChemApp#getDocument
     */
    KDrawChemDoc *getDocument() const;

    /** contains the implementation for printing functionality */
    void print(QPrinter *pPrinter);
  /** No descriptions */

	
  private:
	
};

#endif // KDRAWCHEMVIEW_H
