|  | OpenMS
    2.6.0
    | 
Dialog for saving an image. More...
#include <OpenMS/VISUAL/DIALOGS/SaveImageDialog.h>
| Public Slots | |
| void | xSizeChanged (const QString &s) | 
| changes width keeping proportions  More... | |
| void | ySizeChanged (const QString &s) | 
| changes height keeping proportions  More... | |
| void | proportionsActivated (bool state) | 
| set size ratio when proportions checkbox is activated  More... | |
| void | checkSize () | 
| checks if the values for width and height are ok before accepting the dialog  More... | |
| Public Member Functions | |
| SaveImageDialog (QWidget *parent=nullptr) | |
| 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 = nullptr | ) | 
Constructor.
| 
 | slot | 
checks if the values for width and height 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
| 
 | private | 
| 
 | slot | 
changes width keeping proportions
| 
 | slot | 
changes height keeping proportions
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
 1.8.16
 1.8.16