Properly export sleep_timer_call from main_menu.c in exported_menus.h
[kugel-rb.git] / rbutil / rbutilqt / comboboxviewdelegate.h
blob91edbe395807033a06fa8a27cd748576b23605f9
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2011 by Dominik Riebeling
10 * $Id$
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #include <QtGui>
22 class ComboBoxViewDelegate : public QStyledItemDelegate
24 Q_OBJECT
25 public:
26 ComboBoxViewDelegate(QObject* parent = 0) : QStyledItemDelegate(parent) { }
28 void paint(QPainter *painter, const QStyleOptionViewItem &option,
29 const QModelIndex &index) const;