diff options
| author | Peter Penz <[email protected]> | 2011-09-19 16:38:07 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-09-19 16:39:08 +0200 |
| commit | f9bcd0a47cbdf0806c35a82856efdbe06279fb82 (patch) | |
| tree | bc23a8f97413d6f910031fca2446df9428cfb999 /src/kitemviews/kitemlistheader_p.h | |
| parent | 8879f5e7527caee52966f352af7fa9585fe58192 (diff) | |
Rough draft for getting back the header for the details-view
Diffstat (limited to 'src/kitemviews/kitemlistheader_p.h')
| -rw-r--r-- | src/kitemviews/kitemlistheader_p.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/kitemviews/kitemlistheader_p.h b/src/kitemviews/kitemlistheader_p.h new file mode 100644 index 000000000..6f04ac94b --- /dev/null +++ b/src/kitemviews/kitemlistheader_p.h @@ -0,0 +1,42 @@ +/*************************************************************************** + * Copyright (C) 2011 by Peter Penz <[email protected]> * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * + ***************************************************************************/ + +#ifndef KITEMLISTHEADER_H +#define KITEMLISTHEADER_H + +#include <libdolphin_export.h> +#include <QGraphicsWidget> + +/** + * @brief Header for KItemListView that shows the currently used roles. + */ +class LIBDOLPHINPRIVATE_EXPORT KItemListHeader : public QGraphicsWidget +{ + Q_OBJECT + +public: + KItemListHeader(QGraphicsWidget* parent = 0); + virtual ~KItemListHeader(); + + virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); +}; + +#endif + + |
