SciDAVis  1.D4
Signals | Public Member Functions | Protected Slots | Protected Attributes | Private Attributes
ImageDialog Class Reference

Image geometry dialog. More...

#include <ImageDialog.h>

List of all members.

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)
 ~ImageDialog ()

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

Detailed Description

Image geometry dialog.


Constructor & Destructor Documentation

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

Member Function Documentation

void ImageDialog::accept ( )
protectedslot

References update().

Referenced by ImageDialog().

void ImageDialog::adjustHeight ( int  width)
protectedslot

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

Referenced by adjustWidth(), and setSize().

void ImageDialog::adjustWidth ( int  height)
protectedslot

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 ( )
protectedslot

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: