213 |
}; |
}; |
214 |
|
|
215 |
|
|
216 |
|
//------------------------------------------------------------------------- |
217 |
|
// qsamplerChannelRoutingComboBox - Custom combo box for routing table. |
218 |
|
// |
219 |
|
|
220 |
|
class qsamplerChannelRoutingComboBox : public QTableItem |
221 |
|
{ |
222 |
|
public: |
223 |
|
|
224 |
|
// Constructor. |
225 |
|
qsamplerChannelRoutingComboBox(QTable *pTable, |
226 |
|
const QStringList& list, const QPixmap& pixmap); |
227 |
|
|
228 |
|
// Public accessors. |
229 |
|
void setCurrentItem(int iCurrentItem); |
230 |
|
int currentItem() const; |
231 |
|
|
232 |
|
protected: |
233 |
|
|
234 |
|
// Virtual implemetations. |
235 |
|
QWidget *createEditor() const; |
236 |
|
void setContentFromEditor(QWidget *pWidget); |
237 |
|
|
238 |
|
private: |
239 |
|
|
240 |
|
// Initial value holders |
241 |
|
QStringList m_list; |
242 |
|
int m_iCurrentItem; |
243 |
|
}; |
244 |
|
|
245 |
|
|
246 |
#endif // __qsamplerChannel_h |
#endif // __qsamplerChannel_h |
247 |
|
|
248 |
|
|