~ubuntu-branches/ubuntu/karmic/rosegarden/karmic

« back to all changes in this revision

Viewing changes to src/gui/editors/segment/segmentcanvas/CompositionView.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-05-02 00:33:44 UTC
  • mfrom: (1.1.7 upstream) (6.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080502003344-67vbfhgqx2yl0ksi
Tags: 1:1.7.0-1ubuntu1
* Merge from Debian unstable. (LP: #225849) Remaining Ubuntu changes:
  - Add usr/share/doc/kde/HTML to rosegarden-data, to provide online
    help documentation.
  - Change fftw3-dev to libfftw3-dev.
  - Update maintainer field as per spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
    Rosegarden
6
6
    A MIDI and audio sequencer and musical notation editor.
7
7
 
8
 
    This program is Copyright 2000-2007
 
8
    This program is Copyright 2000-2008
9
9
        Guillaume Laurent   <glaurent@telegraph-road.org>,
10
10
        Chris Cannam        <cannam@all-day-breakfast.com>,
11
11
        Richard Bown        <richard.bown@ferventsoftware.com>
113
113
    bool isFineGrain() const { return m_fineGrain; }
114
114
 
115
115
    /**
 
116
     * Find out whether the user is requesting to draw over an existing segment
 
117
     * with the pencil, by holding the Ctrl key.  This is used by the segment
 
118
     * pencil to decide whether to abort or not if a user attempts to draw over
 
119
     * an existing segment, and this is all necessary in order to avoid breaking
 
120
     * the double-click-to-open behavior.
 
121
     */
 
122
    bool pencilOverExisting() const { return m_pencilOverExisting; }
 
123
 
 
124
    /**
116
125
     * Set whether the segment items contain previews or not
117
126
     */
118
127
    void setShowPreviews(bool previews) { m_showPreviews = previews; }
172
181
    void slotSetSelectCopy(bool value);
173
182
 
174
183
    void slotSetFineGrain(bool value);
 
184
    void slotSetPencilOverExisting(bool value);
175
185
 
176
186
    // Show and hige the splitting line on a Segment
177
187
    //
303
313
    bool         m_showPreviews;
304
314
    bool         m_showSegmentLabels;
305
315
    bool         m_fineGrain;
 
316
    bool         m_pencilOverExisting;
306
317
 
307
318
    int          m_minWidth;
308
319
 
319
330
    QColor       m_tmpRectFill;
320
331
    QPoint       m_splitLinePos;
321
332
 
 
333
    QColor       m_trackDividerColor;
 
334
 
322
335
    bool         m_drawGuides;
323
336
    QColor       m_guideColor;
324
337
    int          m_topGuidePos;