~ubuntu-branches/ubuntu/raring/muse/raring-proposed

« back to all changes in this revision

Viewing changes to muse/liste/editevent.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-11-22 01:16:59 UTC
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: package-import@ubuntu.com-20121122011659-a2fwbf33ceqe1s0t
Tags: upstream-2.1~rc1
ImportĀ upstreamĀ versionĀ 2.1~rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
class EditCtrlDialog : public QDialog, public Ui::EditCtrlBase  {
113
113
      Q_OBJECT
114
114
 
115
 
      int num;          // controller number
116
 
      int val;          // controller value (for prog. changes)
117
 
 
118
115
      const MusECore::MidiPart* part;
119
 
 
120
 
      void updatePatch();
 
116
      void updatePatch(int val);
121
117
 
122
118
   private slots:
123
119
      void ctrlListClicked(QListWidgetItem*);
128
124
   protected:
129
125
      QGridLayout* layout;
130
126
 
131
 
 
132
127
   public:
133
128
      EditCtrlDialog(int tick, const MusECore::Event&,
134
129
         const MusECore::MidiPart*, QWidget* parent=0);
169
164
      virtual MusECore::Event event();
170
165
      };
171
166
 
172
 
//---------------------------------------------------------
173
 
//   EditCAfterDialog
174
 
//---------------------------------------------------------
175
 
 
176
 
class EditCAfterDialog : public EditEventDialog {
177
 
      Q_OBJECT
178
 
 
179
 
      Awl::PosEdit* epos;
180
 
      MusEGui::IntLabel* il2;
181
 
 
182
 
   protected:
183
 
      QGridLayout* layout;
184
 
 
185
 
   public:
186
 
      EditCAfterDialog(int tick, const MusECore::Event&,
187
 
         QWidget* parent=0);
188
 
      static MusECore::Event getEvent(int tick, const MusECore::Event&,
189
 
         QWidget* parent = 0);
190
 
      virtual MusECore::Event event();
191
 
      };
192
 
 
193
 
//---------------------------------------------------------
194
 
//   EditPAfterDialog
195
 
//---------------------------------------------------------
196
 
 
197
 
class EditPAfterDialog : public EditEventDialog {
198
 
      Q_OBJECT
199
 
 
200
 
      Awl::PosEdit* epos;
201
 
      MusEGui::PitchEdit* pl;
202
 
      MusEGui::IntLabel* il2;
203
 
 
204
 
   protected:
205
 
      QGridLayout* layout;
206
 
 
207
 
   public:
208
 
      EditPAfterDialog(int tick, const MusECore::Event&,
209
 
         QWidget* parent=0);
210
 
      static MusECore::Event getEvent(int tick, const MusECore::Event&,
211
 
         QWidget* parent = 0);
212
 
      virtual MusECore::Event event();
213
 
      };
214
 
 
215
167
} // namespace MusEGui
216
168
 
217
169
#endif