~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to krita/ui/kis_config.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    bool undoEnabled() const;
40
40
    void setUndoEnabled(bool undo);
41
41
 
42
 
    qint32 defImgWidth() const;
43
 
    void defImgWidth(qint32 width);
44
 
 
45
 
    qint32 defImgHeight() const;
46
 
    void defImgHeight(qint32 height);
47
 
 
48
 
    double defImgResolution() const;
49
 
    void defImgResolution(double res);
 
42
    int undoStackLimit() const;
 
43
    void setUndoStackLimit(int limit);
 
44
 
 
45
    qint32 defImageWidth() const;
 
46
    void defImageWidth(qint32 width);
 
47
 
 
48
    qint32 defImageHeight() const;
 
49
    void defImageHeight(qint32 height);
 
50
 
 
51
    double defImageResolution() const;
 
52
    void defImageResolution(double res);
50
53
 
51
54
    enumCursorStyle cursorStyle() const;
52
55
    enumCursorStyle getDefaultCursorStyle() const;
99
102
 
100
103
    quint32 getGridMainStyle();
101
104
    void setGridMainStyle(quint32 v);
 
105
 
102
106
    quint32 getGridSubdivisionStyle();
103
107
    void setGridSubdivisionStyle(quint32 v);
 
108
 
104
109
    QColor getGridMainColor();
105
110
    void setGridMainColor(const QColor & v);
 
111
 
106
112
    QColor getGridSubdivisionColor();
107
113
    void setGridSubdivisionColor(const QColor & v);
 
114
 
108
115
    quint32 getGridHSpacing();
109
116
    void setGridHSpacing(quint32 v);
 
117
 
110
118
    quint32 getGridVSpacing();
111
119
    void setGridVSpacing(quint32 v);
 
120
 
 
121
    bool getGridSpacingAspect();
 
122
    void setGridSpacingAspect(bool v);
 
123
 
112
124
    quint32 getGridSubdivisions();
113
125
    void setGridSubdivisions(quint32 v);
 
126
 
114
127
    quint32 getGridOffsetX();
115
128
    void setGridOffsetX(quint32 v);
 
129
 
116
130
    quint32 getGridOffsetY();
117
131
    void setGridOffsetY(quint32 v);
118
132
 
 
133
    bool getGridOffsetAspect();
 
134
    void setGridOffsetAspect(bool v);
 
135
 
119
136
    qint32 checkSize();
120
137
    void setCheckSize(qint32 checkSize);
121
138
 
125
142
    QColor checkersColor();
126
143
    void setCheckersColor(const QColor & v);
127
144
 
 
145
    bool antialiasCurves();
 
146
    void setAntialiasCurves(bool v);
 
147
 
128
148
    int numProjectionThreads();
129
149
    void setNumProjectThreads(int num);
130
150
 
172
192
    bool showRootLayer();
173
193
    void setShowRootLayer(bool showRootLayer);
174
194
 
 
195
    int autoSaveInterval();
 
196
    void setAutoSaveInterval(int seconds);
 
197
 
175
198
    // in megapixels -- above 5, we will no longer use the
176
199
    // memory-guzzling qimage canvas cache
177
200
    quint32 maxCachedImageSize();
180
203
    bool showFilterGallery();
181
204
    void setShowFilterGallery(bool showFilterGallery);
182
205
 
 
206
    bool showFilterGalleryLayerMaskDialog();
 
207
    void setShowFilterGalleryLayerMaskDialog(bool showFilterGallery);
 
208
    
 
209
    QString defaultPainterlyColorModelId();
 
210
    void setDefaultPainterlyColorModelId(const QString& def);
 
211
 
 
212
    QString defaultPainterlyColorDepthId();
 
213
    void setDefaultPainterlyColorDepthId(const QString& def);
 
214
 
 
215
    // OPENGL_SUCCESS, TRY_OPENGL, OPENGL_NOT_TRIED, OPENGL_FAILED
 
216
    QString canvasState() const;
 
217
    void setCanvasState(const QString& state);
 
218
 
 
219
    bool paintopPopupDetached() const;
 
220
    void setPaintopPopupDetached(bool detached);
183
221
 
184
222
private:
185
223
    KisConfig(const KisConfig&);