Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

painter.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2002 by Yann Hodique                                    *
00003  *   Yann.Hodique@lifl.fr                                                  *
00004  *   Copyright (C) 1992-2000 Trolltech AS                                  *
00005  *                                                                         *
00006  *   This program is free software; you can redistribute it and/or modify  *
00007  *   it under the terms of the GNU General Public License as published by  *
00008  *   the Free Software Foundation; either version 2 of the License, or     *
00009  *   (at your option) any later version.                                   *
00010  ***************************************************************************/
00011 
00012 #ifndef PAINTER_H
00013 #define PAINTER_H
00014 
00015 #include <qvariant.h>
00016 #include <qpixmap.h>
00017 
00018 #include "master.h"
00019 #include "page.h"
00020 
00021 class QVBoxLayout;
00022 class QHBoxLayout;
00023 class QGridLayout;
00024 class Canvas;
00025 class QComboBox;
00026 class QSpinBox;
00027 class QToolButton;
00028 
00029 class Painter : public Page {
00030     Q_OBJECT
00031 
00032 public:
00033     Painter( QWidget* parent = 0, const char* name = 0, Master * session = 0 );
00034     ~Painter();
00035 
00036     Canvas* canvas;
00037     QToolButton* color_button;
00038     QSpinBox* size_box;
00039     QComboBox* shape_combo;
00040 
00041 public slots:
00042     void slotColor();
00043     void slotWidth(int);
00044     void slotShape(int);
00045     void append(const QString &);
00046     void sendOutput(const QString&);
00047 
00048 protected:
00049     QGridLayout* PainterLayout;
00050 
00051 protected slots:
00052     virtual void languageChange();
00053 
00054 };
00055 
00056 #endif // PAINTER_H

Generated on Sat May 10 15:09:27 2003 for qnet by doxygen1.3