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

Painter Class Reference

#include <painter.h>

Inheritance diagram for Painter:

Inheritance graph
[legend]
Collaboration diagram for Painter:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotColor ()
void slotWidth (int)
void slotShape (int)
void append (const QString &)
void sendOutput (const QString &)

Public Member Functions

 Painter (QWidget *parent=0, const char *name=0, Master *session=0)
 ~Painter ()

Public Attributes

Canvascanvas
QToolButton * color_button
QSpinBox * size_box
QComboBox * shape_combo

Protected Slots

virtual void languageChange ()

Protected Attributes

QGridLayout * PainterLayout

Constructor & Destructor Documentation

Painter::Painter QWidget *  parent = 0,
const char *  name = 0,
Master session = 0
 

Definition at line 32 of file painter.cpp.

References canvas, color_button, languageChange(), PainterLayout, sendOutput(), shape_combo, size_box, slotColor(), slotShape(), and slotWidth().

Painter::~Painter  ) 
 

Definition at line 71 of file painter.cpp.


Member Function Documentation

void Painter::append const QString &   )  [virtual, slot]
 

Implements Page.

Definition at line 102 of file painter.cpp.

References canvas, Canvas::CIRCLE, Canvas::draw(), Canvas::LINE, and Canvas::TEXT.

void Painter::languageChange  )  [protected, virtual, slot]
 

Definition at line 79 of file painter.cpp.

References color_button, and shape_combo.

Referenced by Painter().

void Painter::sendOutput const QString &   )  [slot]
 

Definition at line 140 of file painter.cpp.

References Master::context(), Page::getMaster(), MtpContext::getValue(), and Master::send().

Referenced by Painter().

void Painter::slotColor  )  [slot]
 

Definition at line 88 of file painter.cpp.

References canvas, Canvas::penColor(), and Canvas::setPenColor().

Referenced by Painter().

void Painter::slotShape int   )  [slot]
 

Definition at line 98 of file painter.cpp.

References canvas, Canvas::setDrawingShape(), and Canvas::Shape.

Referenced by Painter().

void Painter::slotWidth int   )  [slot]
 

Definition at line 94 of file painter.cpp.

References canvas, and Canvas::setPenWidth().

Referenced by Painter().


Member Data Documentation

Canvas* Painter::canvas
 

Definition at line 36 of file painter.h.

Referenced by append(), Painter(), slotColor(), slotShape(), and slotWidth().

QToolButton* Painter::color_button
 

Definition at line 37 of file painter.h.

Referenced by languageChange(), and Painter().

QGridLayout* Painter::PainterLayout [protected]
 

Definition at line 49 of file painter.h.

Referenced by Painter().

QComboBox* Painter::shape_combo
 

Definition at line 39 of file painter.h.

Referenced by languageChange(), and Painter().

QSpinBox* Painter::size_box
 

Definition at line 38 of file painter.h.

Referenced by Painter().


The documentation for this class was generated from the following files:
Generated on Sat May 10 15:10:03 2003 for qnet by doxygen1.3