Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

dmn::QtImage Class Reference

Widget with a image. More...

#include <qt_image.h>

List of all members.

Public Member Functions

 QtImage (const QString &filename, QWidget *parent=NULL, const char *name=NULL)
 Constructor.

void setSize (int w, int h)
 Convert the widget to W x H pixels.


Protected Member Functions

void paintEvent (QPaintEvent *)
 Paint the image.


Detailed Description

Widget with a image.


Constructor & Destructor Documentation

dmn::QtImage::QtImage const QString &  filename,
QWidget *  parent = NULL,
const char *  name = NULL
 

Constructor.

Parameters:
filename path to the image to show
parent parent widget
name name of the widget


Member Function Documentation

void dmn::QtImage::setSize int  w,
int  h
 

Convert the widget to W x H pixels.

Parameters:
w vertical pixels
h horizontal pixels


The documentation for this class was generated from the following file:
Generated on Fri Dec 26 22:56:19 2003 for dmn by doxygen 1.3.4