#include <OpenMS/VISUAL/DIALOGS/SaveImageDialog.h>
Public Slots | |
void | xSizeChanged (const QString &s) |
changes width keeping proprotions | |
void | ySizeChanged (const QString &s) |
changes height keeping proprotions | |
void | proportionsActivated (bool state) |
set size ratio when proportions checkbox is activated | |
void | checkSize () |
checks if the values for width and heigth are ok before accepting the dialog | |
Public Member Functions | |
SaveImageDialog (QWidget *parent=0) | |
Constructor. | |
void | setSize (int x, int y) |
set size and size ratio | |
int | getXSize () |
accessors for the width | |
int | getYSize () |
accessors for the height | |
QString | getFormat () |
accessors for the format | |
Private Member Functions | |
void | setSizeRatio_ (float r) |
Private Attributes | |
QComboBox * | format_ |
QLineEdit * | size_x_ |
QLineEdit * | size_y_ |
QCheckBox * | size_proportions_ |
float | size_ratio_ |
SaveImageDialog | ( | QWidget * | parent = 0 |
) |
Constructor.
void setSize | ( | int | x, | |
int | y | |||
) |
set size and size ratio
int getXSize | ( | ) |
accessors for the width
int getYSize | ( | ) |
accessors for the height
QString getFormat | ( | ) |
accessors for the format
void xSizeChanged | ( | const QString & | s | ) | [slot] |
changes width keeping proprotions
void ySizeChanged | ( | const QString & | s | ) | [slot] |
changes height keeping proprotions
void proportionsActivated | ( | bool | state | ) | [slot] |
set size ratio when proportions checkbox is activated
void checkSize | ( | ) | [slot] |
checks if the values for width and heigth are ok before accepting the dialog
void setSizeRatio_ | ( | float | r | ) | [private] |
QComboBox* format_ [private] |
QLineEdit* size_x_ [private] |
QLineEdit* size_y_ [private] |
QCheckBox* size_proportions_ [private] |
float size_ratio_ [private] |
Generated Tue Apr 1 15:36:48 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |