~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): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    double defImageResolution() const;
52
52
    void defImageResolution(double res);
53
53
 
 
54
    /**
 
55
     * @return the id of the default color model used for creating new images.
 
56
     */
 
57
    QString defColorModel() const;
 
58
    /**
 
59
     * set the id of the default color model used for creating new images.
 
60
     */
 
61
    void defColorModel(const QString & model);
 
62
 
 
63
    /**
 
64
     * @return the id of the default color depth used for creating new images.
 
65
     */
 
66
    QString defColorDepth() const;
 
67
    /**
 
68
     * set the id of the default color depth used for creating new images.
 
69
     */
 
70
    void defColorDepth(const QString & depth);
 
71
 
 
72
    /**
 
73
     * @return the id of the default color profile used for creating new images.
 
74
     */
 
75
    QString defColorProfile() const;
 
76
    /**
 
77
     * set the id of the default color profile used for creating new images.
 
78
     */
 
79
    void defColorProfile(const QString & depth);
 
80
 
54
81
    enumCursorStyle cursorStyle() const;
55
82
    enumCursorStyle getDefaultCursorStyle() const;
56
83
    void setCursorStyle(enumCursorStyle style);
88
115
    bool useOpenGLShaders() const;
89
116
    void setUseOpenGLShaders(bool useOpenGLShaders);
90
117
 
 
118
    bool useOpenGLToolOutlineWorkaround() const;
 
119
    void setUseOpenGLToolOutlineWorkaround(bool useWorkaround);
 
120
 
91
121
    qint32 maxNumberOfThreads();
92
122
    void setMaxNumberOfThreads(qint32 numberOfThreads);
93
123
 
142
172
    QColor checkersColor();
143
173
    void setCheckersColor(const QColor & v);
144
174
 
 
175
    QColor canvasBorderColor();
 
176
    void setCanvasBorderColor(const QColor &color);
 
177
 
145
178
    bool antialiasCurves();
146
179
    void setAntialiasCurves(bool v);
147
180
 
164
197
    bool useNearestNeighbour();
165
198
    void setUseNearestNeighbour(bool useNearestNeigbour);
166
199
 
167
 
    // Use Mipmapping (KisImagePyramid) in KisPrescaledProjection
168
 
    bool useMipmapping();
169
 
    void setUseMipmapping(bool useMipmapping);
170
 
 
171
200
    // Use Blitz sampling on a QImage
172
201
    bool useSampling();
173
202
    void setSampling(bool sampling);
192
221
    bool showRootLayer();
193
222
    void setShowRootLayer(bool showRootLayer);
194
223
 
 
224
    bool showOutlineWhilePainting();
 
225
    void setShowOutlineWhilePainting(bool showOutlineWhilePainting);
 
226
 
195
227
    int autoSaveInterval();
196
228
    void setAutoSaveInterval(int seconds);
197
229
 
 
230
    bool backupFile();
 
231
    void setBackupFile(bool backupFile);
 
232
 
198
233
    // in megapixels -- above 5, we will no longer use the
199
234
    // memory-guzzling qimage canvas cache
200
235
    quint32 maxCachedImageSize();
205
240
 
206
241
    bool showFilterGalleryLayerMaskDialog();
207
242
    void setShowFilterGalleryLayerMaskDialog(bool showFilterGallery);
208
 
    
 
243
 
209
244
    QString defaultPainterlyColorModelId();
210
245
    void setDefaultPainterlyColorModelId(const QString& def);
211
246
 
219
254
    bool paintopPopupDetached() const;
220
255
    void setPaintopPopupDetached(bool detached);
221
256
 
 
257
    QString pressureTabletCurve() const;
 
258
    void setPressureTabletCurve(const QString& curveString) const;
 
259
 
 
260
    bool zoomWithWheel() const;
 
261
    void setZoomWithWheel(const bool zoom) const;
 
262
 
 
263
    qreal vastScrolling() const;
 
264
    void setVastScrolling(const qreal factor) const;
 
265
 
 
266
    int presetChooserViewMode() const;
 
267
    void setPresetChooserViewMode(const int mode);
 
268
 
 
269
    bool firstRun() const;
 
270
    void setFirstRun(const bool firstRun) const;
 
271
 
 
272
    bool clicklessSpacePan() const;
 
273
    void setClicklessSpacePan(const bool toggle) const;
 
274
 
222
275
private:
223
276
    KisConfig(const KisConfig&);
224
277
    KisConfig& operator=(const KisConfig&);