38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
40 #include <QtWidgets/QDialog>
41 #include <QtWidgets/QComboBox>
42 #include <QtWidgets/QLineEdit>
43 #include <QtWidgets/QCheckBox>
Dialog for saving an image.
Definition: SaveImageDialog.h:56
int getXSize()
accessors for the width
QComboBox * format_
Definition: SaveImageDialog.h:83
QCheckBox * size_proportions_
Definition: SaveImageDialog.h:87
void ySizeChanged(const QString &s)
changes height keeping proportions
QLineEdit * size_x_
Definition: SaveImageDialog.h:85
void xSizeChanged(const QString &s)
changes width keeping proportions
float size_ratio_
Definition: SaveImageDialog.h:89
QLineEdit * size_y_
Definition: SaveImageDialog.h:86
void checkSize()
checks if the values for width and height are ok before accepting the dialog
SaveImageDialog(QWidget *parent=nullptr)
Constructor.
void setSize(int x, int y)
set size and size ratio
QString getFormat()
accessors for the format
int getYSize()
accessors for the height
void proportionsActivated(bool state)
set size ratio when proportions checkbox is activated
void setSizeRatio_(float r)
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48