16 class Ui_AsciiSaveDialog;
Dialog for configuration of ASCII files saving sequence.
bool autoShown() const
Returns whether this dialog automatically appears or not.
void enableSaveColumnsNamesHeader(bool state)
Sets whether columns names should be be saved in header.
bool m_autoShow
Whether this dialog should be automatically shown or not.
virtual ~AsciiSaveDlg()
Destructor.
void acceptAndSaveSettings()
Saves dialog state to persistent settings.
void setSaveAlphaChannel(bool state)
Sets whether to save the alpha (transparency) channel.
int sfPrecision() const
Returns SF precision.
bool saveAlphaChannel() const
Returns whether to save the alpha (transparency) channel.
unsigned char getSeparator() const
Returns separator.
void setSeparatorIndex(int index)
Set separator (index)
bool savePointCountHeader() const
Returns whether the number of points should be saved in header.
bool saveColumnsNamesHeader() const
Returns whether columns names should be be saved in header.
void initFromPersistentSettings()
Inits dialog state from persistent settings.
void setCoordsPrecision(int prec)
Sets coordinates precision.
void enableSavePointCountHeader(bool state)
Sets whether the number of points should be saved in header.
int getSeparatorIndex() const
Returns separator index.
void setAutoShow(bool state)
Sets whether this dialog should appear or not by default.
int coordsPrecision() const
Returns coordinates precision.
Ui_AsciiSaveDialog * m_ui
Associated UI.
void setSfPrecision(int prec)
Sets SF precision.
bool swapColorAndSF() const
Returns whether SF(s) and color should be swapped.
void setSaveFloatColors(bool state)
Sets whether to save colors as float values (instead of unsigned bytes)
void enableSwapColorAndSF(bool state)
Sets whether SF(s) and color should be swapped.
AsciiSaveDlg(QWidget *parent=nullptr)
Default constructor.
bool saveFloatColors() const