Seamly2D
Code documentation
VSeamlyMeSettings Class Reference

#include <vseamlymesettings.h>

Inheritance diagram for VSeamlyMeSettings:
Collaboration diagram for VSeamlyMeSettings:

Public Member Functions

 VSeamlyMeSettings (Format format, Scope scope, const QString &organization, const QString &application=QString(), QObject *parent=nullptr)
 
QByteArray getDataBaseGeometry () const
 
void setDataBaseGeometry (const QByteArray &value)
 
void SetDefHeight (int value)
 
int GetDefHeight () const
 
void SetDefSize (int value)
 
int GetDefSize () const
 
- Public Member Functions inherited from VCommonSettings
 VCommonSettings (Format format, Scope scope, const QString &organization, const QString &application=QString(), QObject *parent=nullptr)
 
QString GetPathIndividualMeasurements () const
 
void SetPathIndividualMeasurements (const QString &value)
 
QString GetPathMultisizeMeasurements () const
 
void SetPathMultisizeMeasurements (const QString &value)
 
QString GetPathTemplate () const
 
void SetPathTemplate (const QString &value)
 
QString GetPathLabelTemplate () const
 
void SetPathLabelTemplate (const QString &value)
 
QString getDefaultPatternTemplate () const
 
void setDefaultPatternTemplate (const QString &text)
 
QString getDefaultPieceTemplate () const
 
void setDefaultPieceTemplate (const QString &text)
 
bool GetOsSeparator () const
 
void SetOsSeparator (const bool &value)
 
bool GetAutosaveState () const
 
void SetAutosaveState (const bool &value)
 
int getAutosaveInterval () const
 
void setAutosaveInterval (const int &value)
 
bool useModeType () const
 
void setUseModeType (const bool &value)
 
bool useLastExportFormat () const
 
void setUseLastExportFormat (const bool &value)
 
QString getExportFormat () const
 
void setExportFormat (const QString &value)
 
bool GetSendReportState () const
 
void SetSendReportState (const bool &value)
 
QString GetLocale () const
 
void SetLocale (const QString &value)
 
QString GetPMSystemCode () const
 
void SetPMSystemCode (const QString &value)
 
QString GetUnit () const
 
void SetUnit (const QString &value)
 
bool getConfirmItemDelete () const
 
void setConfirmItemDelete (const bool &value)
 
bool getConfirmFormatRewriting () const
 
void setConfirmFormatRewriting (const bool &value)
 
QString getMoveSuffix () const
 
void setMoveSuffix (const QString &value)
 
QString getRotateSuffix () const
 
void setRotateSuffix (const QString &value)
 
QString getMirrorByAxisSuffix () const
 
void setMirrorByAxisSuffix (const QString &value)
 
QString getMirrorByLineSuffix () const
 
void setMirrorByLineSuffix (const QString &value)
 
bool getToolBarStyle () const
 
void setToolBarStyle (const bool &value)
 
bool getShowToolsToolBar () const
 
void setShowToolsToolBar (const bool &value)
 
bool getShowPointToolBar () const
 
void setShowPointToolBar (const bool &value)
 
bool getShowLineToolBar () const
 
void setShowLineToolBar (const bool &value)
 
bool getShowCurveToolBar () const
 
void setShowCurveToolBar (const bool &value)
 
bool getShowArcToolBar () const
 
void setShowArcToolBar (const bool &value)
 
bool getShowOpsToolBar () const
 
void setShowOpsToolBar (const bool &value)
 
bool getShowPieceToolBar () const
 
void setShowPieceToolBar (const bool &value)
 
bool getShowDetailsToolBar () const
 
void setShowDetailsToolBar (const bool &value)
 
bool getShowLayoutToolBar () const
 
void setShowLayoutToolBar (const bool &value)
 
bool getShowScrollBars () const
 
void setShowScrollBars (const bool &value)
 
int getScrollBarWidth () const
 
void setScrollBarWidth (const int &width)
 
int getScrollDuration () const
 
void setScrollDuration (const int &duration)
 
int getScrollUpdateInterval () const
 
void setScrollUpdateInterval (const int &interval)
 
int getScrollSpeedFactor () const
 
void setScrollSpeedFactor (const int &factor)
 
bool getZoomModKey () const
 
void setZoomModKey (const bool &value)
 
bool isZoomDoubleClick () const
 
void setZoomDoubleClick (const bool &value)
 
bool isPanActiveSpaceKey () const
 
void setPanActiveSpaceKey (const bool &value)
 
int getZoomSpeedFactor () const
 
void setZoomSpeedFactor (const int &factor)
 
int getExportQuality () const
 
void setExportQuality (const int &value)
 
QString getZoomRBPositiveColor () const
 
void setZoomRBPositiveColor (const QString &value)
 
QString getZoomRBNegativeColor () const
 
void setZoomRBNegativeColor (const QString &value)
 
QString getPointNameColor () const
 
void setPointNameColor (const QString &value)
 
QString getPointNameHoverColor () const
 
void setPointNameHoverColor (const QString &value)
 
QString getAxisOrginColor () const
 
void setAxisOrginColor (const QString &value)
 
QString getDefaultLineColor () const
 
void setDefaultLineColor (const QString &value)
 
qreal getDefaultLineWeight () const
 
void setDefaultLineWeight (const qreal &value)
 
QString getDefaultLineType () const
 
void setDefaultLineType (const QString &value)
 
QString getPrimarySupportColor () const
 
void setPrimarySupportColor (const QString &value)
 
QString getSecondarySupportColor () const
 
void setSecondarySupportColor (const QString &value)
 
QString getTertiarySupportColor () const
 
void setTertiarySupportColor (const QString &value)
 
qreal getConstrainValue () const
 
void setConstrainValue (const qreal &value)
 
bool getConstrainModKey () const
 
void setConstrainModKey (const bool &value)
 
int GetUndoCount () const
 
void SetUndoCount (const int &value)
 
QString getSound () const
 
QString getSelectionSound () const
 
void setSelectionSound (const QString &value)
 
QStringList GetRecentFileList () const
 
void SetRecentFileList (const QStringList &value)
 
QStringList GetRestoreFileList () const
 
void SetRestoreFileList (const QStringList &value)
 
QByteArray GetGeometry () const
 
void SetGeometry (const QByteArray &value)
 
QByteArray GetWindowState () const
 
void SetWindowState (const QByteArray &value)
 
QByteArray GetToolbarsState () const
 
void SetToolbarsState (const QByteArray &value)
 
QSize getPreferenceDialogSize () const
 
void setPreferenceDialogSize (const QSize &sz)
 
QSize getPatternPieceDialogSize () const
 
void setPatternPieceDialogSize (const QSize &sz)
 
QSize GetFormulaWizardDialogSize () const
 
void SetFormulaWizardDialogSize (const QSize &sz)
 
QSize GetIncrementsDialogSize () const
 
void SetIncrementsDialogSize (const QSize &sz)
 
int GetLatestSkippedVersion () const
 
void SetLatestSkippedVersion (int value)
 
QDate GetDateOfLastRemind () const
 
void SetDateOfLastRemind (const QDate &date)
 
bool getForbidPieceFlipping () const
 
void setForbidPieceFlipping (bool value)
 
bool isHideSeamLine () const
 
void setHideSeamLine (bool value)
 
bool showSeamlineNotch () const
 
void setShowSeamlineNotch (bool value)
 
bool showSeamAllowanceNotch () const
 
void setShowSeamAllowanceNotch (bool value)
 
qreal getDefaultNotchLength () const
 
void setDefaultNotchLength (const qreal &value)
 
qreal getDefaultNotchWidth () const
 
void setDefaultNotchWidth (const qreal &value)
 
QString getDefaultNotchType () const
 
void setDefaultNotchType (const QString &value)
 
QString getDefaultNotchColor () const
 
void setDefaultNotchColor (const QString &value)
 
void SetCSVWithHeader (bool withHeader)
 
bool GetCSVWithHeader () const
 
bool GetDefCSVWithHeader () const
 
void SetCSVCodec (int mib)
 
int GetCSVCodec () const
 
int GetDefCSVCodec () const
 
void SetCSVSeparator (const QChar &separator)
 
QChar GetCSVSeparator () const
 
QChar GetDefCSVSeparator () const
 
void SetDefaultSeamAllowance (double value)
 
double GetDefaultSeamAllowance ()
 returns the default seam allowance. The corresponding unit is the default unit. More...
 
QString getDefaultSeamColor () const
 
void setDefaultSeamColor (const QString &value)
 
QString getDefaultSeamLinetype () const
 
void setDefaultSeamLinetype (const QString &value)
 
qreal getDefaultSeamLineweight () const
 
void setDefaultSeamLineweight (const qreal &value)
 
QString getDefaultCutColor () const
 
void setDefaultCutColor (const QString &value)
 
QString getDefaultCutLinetype () const
 
void setDefaultCutLinetype (const QString &value)
 
qreal getDefaultCutLineweight () const
 
void setDefaultCutLineweight (const qreal &value)
 
QString getDefaultInternalColor () const
 
void setDefaultInternalColor (const QString &value)
 
QString getDefaultInternalLinetype () const
 
void setDefaultInternalLinetype (const QString &value)
 
qreal getDefaultInternalLineweight () const
 
void setDefaultInternalLineweight (const qreal &value)
 
QString getDefaultCutoutColor () const
 
void setDefaultCutoutColor (const QString &value)
 
QString getDefaultCutoutLinetype () const
 
void setDefaultCutoutLinetype (const QString &value)
 
qreal getDefaultCutoutLineweight () const
 
void setDefaultCutoutLineweight (const qreal &value)
 
bool showSeamAllowances () const
 
void setShowSeamAllowances (const bool &value)
 
bool getDefaultSeamAllowanceVisibilty () const
 
void setDefaultSeamAllowanceVisibilty (const bool &value)
 
bool showGrainlines () const
 
void setShowGrainlines (const bool &value)
 
bool getDefaultGrainlineVisibilty () const
 
void setDefaultGrainlineVisibilty (const bool &value)
 
qreal getDefaultGrainlineLength () const
 
void setDefaultGrainlineLength (const qreal &value)
 
QString getDefaultGrainlineColor () const
 
void setDefaultGrainlineColor (const QString &value)
 
qreal getDefaultGrainlineLineweight () const
 
void setDefaultGrainlineLineweight (const qreal &value)
 
bool showLabels () const
 
void setShowLabels (const bool &value)
 
bool showPatternLabels () const
 
void setShowPatternLabels (const bool &value)
 
bool showPieceLabels () const
 
void setShowPieceLabels (const bool &value)
 
qreal getDefaultLabelWidth () const
 
void setDefaultLabelWidth (const qreal &value)
 
qreal getDefaultLabelHeight () const
 
void setDefaultLabelHeight (const qreal &value)
 
QString getDefaultLabelColor () const
 
void setDefaultLabelColor (const QString &value)
 
QFont getLabelFont () const
 
void setLabelFont (const QFont &f)
 
QFont getGuiFont () const
 
void setGuiFont (const QFont &f)
 
QFont getPointNameFont () const
 
void setPointNameFont (const QFont &f)
 
int getPointNameSize () const
 
void setPointNameSize (int value)
 
bool getHidePointNames () const
 
void setHidePointNames (bool value)
 
bool getShowAxisOrigin () const
 
void setShowAxisOrigin (bool value)
 
bool isWireframe () const
 
void setWireframe (bool value)
 
bool getShowControlPoints () const
 
void setShowControlPoints (bool value)
 
bool getShowAnchorPoints () const
 
void setShowAnchorPoints (bool value)
 
bool getUseToolColor () const
 
void setUseToolColor (bool value)
 
int getGuiFontSize () const
 
void setGuiFontSize (int value)
 
QString GetLabelDateFormat () const
 
void SetLabelDateFormat (const QString &format)
 
QStringList GetUserDefinedDateFormats () const
 
void SetUserDefinedDateFormats (const QStringList &formats)
 
QString GetLabelTimeFormat () const
 
void SetLabelTimeFormat (const QString &format)
 
QStringList GetUserDefinedTimeFormats () const
 
void SetUserDefinedTimeFormats (const QStringList &formats)
 

Additional Inherited Members

- Static Public Member Functions inherited from VCommonSettings
static QString SharePath (const QString &shareItem)
 
static QString MultisizeTablesPath ()
 
static QString StandardTemplatesPath ()
 
static QString PrepareStandardTemplates (const QString &currentPath)
 
static QString PrepareMultisizeTables (const QString &currentPath)
 
static QString GetDefPathIndividualMeasurements ()
 
static QString GetDefPathMultisizeMeasurements ()
 
static QString GetDefPathTemplate ()
 
static QString GetDefPathLabelTemplate ()
 
static QStringList PredefinedDateFormats ()
 
static QStringList PredefinedTimeFormats ()
 
- Static Public Attributes inherited from VCommonSettings
static const QString unixStandardSharePath = QStringLiteral("/usr/share/seamly2d")
 

Detailed Description

Definition at line 65 of file vseamlymesettings.h.

Constructor & Destructor Documentation

◆ VSeamlyMeSettings()

VSeamlyMeSettings::VSeamlyMeSettings ( Format  format,
Scope  scope,
const QString &  organization,
const QString &  application = QString(),
QObject *  parent = nullptr 
)

Definition at line 65 of file vseamlymesettings.cpp.

Member Function Documentation

◆ getDataBaseGeometry()

QByteArray VSeamlyMeSettings::getDataBaseGeometry ( ) const

Definition at line 72 of file vseamlymesettings.cpp.

References settingDataBaseGeometry.

◆ GetDefHeight()

int VSeamlyMeSettings::GetDefHeight ( ) const

Definition at line 90 of file vseamlymesettings.cpp.

References settingDefHeight.

Referenced by DialogNewMeasurements::DialogNewMeasurements().

◆ GetDefSize()

int VSeamlyMeSettings::GetDefSize ( ) const

Definition at line 102 of file vseamlymesettings.cpp.

References settingDefSize.

Referenced by DialogNewMeasurements::DialogNewMeasurements().

◆ setDataBaseGeometry()

void VSeamlyMeSettings::setDataBaseGeometry ( const QByteArray &  value)

Definition at line 78 of file vseamlymesettings.cpp.

References settingDataBaseGeometry.

◆ SetDefHeight()

void VSeamlyMeSettings::SetDefHeight ( int  value)

Definition at line 84 of file vseamlymesettings.cpp.

References settingDefHeight.

Referenced by SeamlyMePreferencesConfigurationPage::Apply().

◆ SetDefSize()

void VSeamlyMeSettings::SetDefSize ( int  value)

Definition at line 96 of file vseamlymesettings.cpp.

References settingDefSize.

Referenced by SeamlyMePreferencesConfigurationPage::Apply().


The documentation for this class was generated from the following files: