The threading model should be set from configure, not config.h.
[maemo-rb.git] / rbutil / rbutilqt / comboboxviewdelegate.h
blob40f6b07d027f9d24970f085c0611f0306e0b26a3
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2011 by Dominik Riebeling
11 * All files in this archive are subject to the GNU General Public License.
12 * See the file COPYING in the source tree root for full license agreement.
14 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
15 * KIND, either express or implied.
17 ****************************************************************************/
19 #include <QtGui>
21 class ComboBoxViewDelegate : public QStyledItemDelegate
23 Q_OBJECT
24 public:
25 ComboBoxViewDelegate(QObject* parent = 0) : QStyledItemDelegate(parent) { }
27 void paint(QPainter *painter, const QStyleOptionViewItem &option,
28 const QModelIndex &index) const;