Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQImage Class Reference

#include <YQImage.h>

Inheritance diagram for YQImage:

YImage YWidget List of all members.

Public Member Functions

 YQImage (QWidget *parent, const YWidgetOpt &opt, const YCPByteblock &byteblock)
 YQImage (QWidget *parent, const YWidgetOpt &opt, const YCPString &file_name)
long nicesize (YUIDimension dim)
void setSize (long newWidth, long newHeight)

Protected Member Functions

void init (QWidget *parent, const YWidgetOpt &opt)
void yqSetPixmap (const QPixmap &pixmap)

Protected Attributes

bool _zeroWidth
bool _zeroHeight
bool _tiled
bool _animated
int _pixmapWidth
int _pixmapHeight

Constructor & Destructor Documentation

YQImage::YQImage QWidget *  parent,
const YWidgetOpt opt,
const YCPByteblock byteblock
 

Constructors

YQImage::YQImage QWidget *  parent,
const YWidgetOpt opt,
const YCPString file_name
 


Member Function Documentation

void YQImage::init QWidget *  parent,
const YWidgetOpt opt
[protected]
 

Common init method for all constructors

long YQImage::nicesize YUIDimension  dim  )  [virtual]
 

Minimum size the widget should have to make it look and feel nice. Dimension, either YD_HORIZ or YD_VERT

Implements YWidget.

void YQImage::setSize long  newWidth,
long  newHeight
[virtual]
 

Sets the new size of the widget.

Reimplemented from YWidget.

void YQImage::yqSetPixmap const QPixmap &  pixmap  )  [protected]
 

Set the pixmap contents. That weird name is to prevent overwriting a QLabel virtual method of the same name.


Member Data Documentation

bool YQImage::_animated [protected]
 

int YQImage::_pixmapHeight [protected]
 

int YQImage::_pixmapWidth [protected]
 

bool YQImage::_tiled [protected]
 

bool YQImage::_zeroHeight [protected]
 

bool YQImage::_zeroWidth [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 10:59:03 2005 for yast2-qt by  doxygen 1.4.4