12#include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
14#include <QtWidgets/QDialog>
15#include <QtWidgets/QComboBox>
16#include <QtWidgets/QLineEdit>
17#include <QtWidgets/QCheckBox>
Dialog for saving an image.
Definition SaveImageDialog.h:30
int getXSize()
accessors for the width
QComboBox * format_
Definition SaveImageDialog.h:57
QCheckBox * size_proportions_
Definition SaveImageDialog.h:61
void ySizeChanged(const QString &s)
changes height keeping proportions
QLineEdit * size_x_
Definition SaveImageDialog.h:59
void xSizeChanged(const QString &s)
changes width keeping proportions
float size_ratio_
Definition SaveImageDialog.h:63
QLineEdit * size_y_
Definition SaveImageDialog.h:60
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 openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19