Dialog for saving an image. More...
#include <OpenMS/VISUAL/DIALOGS/SaveImageDialog.h>
Public Slots | |
| void | xSizeChanged (const QString &s) |
| changes width keeping proprotions More... | |
| void | ySizeChanged (const QString &s) |
| changes height keeping proprotions More... | |
| void | proportionsActivated (bool state) |
| set size ratio when proportions checkbox is activated More... | |
| void | checkSize () |
| checks if the values for width and heigth are ok before accepting the dialog More... | |
Public Member Functions | |
| SaveImageDialog (QWidget *parent=0) | |
| Constructor. More... | |
| void | setSize (int x, int y) |
| set size and size ratio More... | |
| int | getXSize () |
| accessors for the width More... | |
| int | getYSize () |
| accessors for the height More... | |
| QString | getFormat () |
| accessors for the format More... | |
Private Member Functions | |
| void | setSizeRatio_ (float r) |
Private Attributes | |
| QComboBox * | format_ |
| QLineEdit * | size_x_ |
| QLineEdit * | size_y_ |
| QCheckBox * | size_proportions_ |
| float | size_ratio_ |
Dialog for saving an image.
| SaveImageDialog | ( | QWidget * | parent = 0 | ) |
Constructor.
|
slot |
checks if the values for width and heigth are ok before accepting the dialog
| QString getFormat | ( | ) |
accessors for the format
| int getXSize | ( | ) |
accessors for the width
| int getYSize | ( | ) |
accessors for the height
|
slot |
set size ratio when proportions checkbox is activated
| void setSize | ( | int | x, |
| int | y | ||
| ) |
set size and size ratio
|
private |
|
slot |
changes width keeping proprotions
|
slot |
changes height keeping proprotions
|
private |
|
private |
|
private |
|
private |
|
private |
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:35 using doxygen 1.8.5 |