1 #ifndef uisaveimagedlg_h 2 #define uisaveimagedlg_h 14 #include "uitoolsmod.h" 31 bool withuseparsfld =
true);
50 void setDirName(
const char*);
71 void setSizeInPix(
int width,
int height);
73 virtual void getSupportedFormats(
const char** imgfrmt,
74 const char** frmtdesc,
78 bool filenameOK()
const;
98 void setNotifiers(
bool enable);
99 virtual const char* getExtension();
106 static const char*
sKeyRes() {
return "Resolution"; }
116 void getSupportedFormats(
const char** imgfrmt,
117 const char** frmtdesc,
static const char * sKeyUnit()
Definition: uisaveimagedlg.h:105
#define mExpClass(module)
Definition: commondefs.h:160
float screendpi_
Definition: uisaveimagedlg.h:93
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
bool withuseparsfld_
Definition: uisaveimagedlg.h:68
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiCheckBox * cliboardselfld_
Definition: uisaveimagedlg.h:62
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
virtual void setFldVals(CallBacker *)
Definition: uisaveimagedlg.h:85
The base class for most UI elements.
Definition: uiobj.h:38
Definition: uisaveimagedlg.h:111
Definition: uiparent.h:26
Settings & settings_
Definition: uisaveimagedlg.h:66
uiLabel * pixlable_
Definition: uisaveimagedlg.h:57
Definition: uidialog.h:42
Interval< float > fldranges_
Definition: uisaveimagedlg.h:67
static const char * sKeyType()
Definition: uisaveimagedlg.h:102
Geom::Size2D< float > sizepix_
Definition: uisaveimagedlg.h:89
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: uispinbox.h:128
BufferString selfilter_
Definition: uisaveimagedlg.h:65
static const char * sKeyRes()
Definition: uisaveimagedlg.h:106
Geom::Size2D< float > sizecm_
Definition: uisaveimagedlg.h:91
static const char * sKeyFileType()
Definition: uisaveimagedlg.h:107
static const char * sKeyHeight()
Definition: uisaveimagedlg.h:103
virtual void writeToSettings()
Definition: uisaveimagedlg.h:100
Settings class holds the user settings. It is an IOPar.
Definition: settings.h:34
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
uiLabeledSpinBox * pixheightfld_
Definition: uisaveimagedlg.h:52
uiLabeledSpinBox * pixwidthfld_
Definition: uisaveimagedlg.h:53
BufferString filters_
Definition: uisaveimagedlg.h:64
static BufferString dirname_
Definition: uisaveimagedlg.h:95
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
float aspectratio_
Definition: uisaveimagedlg.h:92
uiGenInput * useparsfld_
Definition: uisaveimagedlg.h:60
uiGenInput * unitfld_
Definition: uisaveimagedlg.h:58
uiLabeledSpinBox * dpifld_
Definition: uisaveimagedlg.h:56
Geom::Size2D< float > sizeinch_
Definition: uisaveimagedlg.h:90
uiLabeledSpinBox * widthfld_
Definition: uisaveimagedlg.h:55
uiCheckBox * lockfld_
Definition: uisaveimagedlg.h:59
Definition: uisaveimagedlg.h:27
uiFileInput * fileinputfld_
Definition: uisaveimagedlg.h:61
Definition: uibutton.h:134
uiLabeledSpinBox * heightfld_
Definition: uisaveimagedlg.h:54
Notifier< uiSaveImageDlg > sizesChanged
Definition: uisaveimagedlg.h:33
static const char * sKeyWidth()
Definition: uisaveimagedlg.h:104