ImageDialog Class Reference

#include <ImageDialog.h>

List of all members.


Detailed Description

Image geometry dialog.

Signals

void setGeometry (int, int, int, int)

Public Member Functions

 ImageDialog (QWidget *parent=0, Qt::WFlags fl=0)
void setOrigin (const QPoint &o)
void setSize (const QSize &size)

Protected Slots

void accept ()
void adjustHeight (int width)
void adjustWidth (int height)
void update ()

Protected Attributes

double aspect_ratio

Private Attributes

QSpinBox * boxHeight
QSpinBox * boxWidth
QSpinBox * boxX
QSpinBox * boxY
QPushButton * buttonApply
QPushButton * buttonCancel
QPushButton * buttonOk
QCheckBox * keepRatioBox

Constructor & Destructor Documentation

ImageDialog::ImageDialog ( QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)


Member Function Documentation

void ImageDialog::accept (  )  [protected, slot]

References update().

Referenced by ImageDialog().

void ImageDialog::adjustHeight ( int  width  )  [protected, slot]

References adjustWidth(), aspect_ratio, boxHeight, and keepRatioBox.

Referenced by adjustWidth(), and setSize().

void ImageDialog::adjustWidth ( int  height  )  [protected, slot]

References adjustHeight(), aspect_ratio, boxWidth, and keepRatioBox.

Referenced by adjustHeight(), and setSize().

void ImageDialog::setGeometry ( int  ,
int  ,
int  ,
int   
) [signal]

Referenced by update().

void ImageDialog::setOrigin ( const QPoint &  o  ) 

References boxX, and boxY.

void ImageDialog::setSize ( const QSize &  size  ) 

void ImageDialog::update (  )  [protected, slot]

References boxHeight, boxWidth, boxX, boxY, and setGeometry().

Referenced by accept(), and ImageDialog().


Member Data Documentation

double ImageDialog::aspect_ratio [protected]

Referenced by adjustHeight(), adjustWidth(), and setSize().

QSpinBox * ImageDialog::boxHeight [private]

QSpinBox * ImageDialog::boxWidth [private]

QSpinBox* ImageDialog::boxX [private]

Referenced by ImageDialog(), setOrigin(), and update().

QSpinBox * ImageDialog::boxY [private]

Referenced by ImageDialog(), setOrigin(), and update().

QPushButton* ImageDialog::buttonApply [private]

Referenced by ImageDialog().

QPushButton* ImageDialog::buttonCancel [private]

Referenced by ImageDialog().

QPushButton* ImageDialog::buttonOk [private]

Referenced by ImageDialog().

QCheckBox* ImageDialog::keepRatioBox [private]


The documentation for this class was generated from the following files:

Generated on Sun Jun 15 21:32:23 2008 for QtiPlot by  doxygen 1.5.6