QAdvanced Item View  0.4
The QAIV (Qt Advanced Item Views) library provides GUI and utility classes extending the capabilities of the Qt item views.
 All Classes Functions Variables Enumerations Enumerator Properties Groups Pages
qadvancedheaderview.h
1 /******************************************************************************
2 ** This file is part of qadvanceditemviews.
3 **
4 ** Copyright (c) 2011-2012 Martin Hoppe martin@2x2hoppe.de
5 **
6 ** qadvanceditemviews is free software: you can redistribute it
7 ** and/or modify it under the terms of the GNU Lesser General
8 ** Public License as published by the Free Software Foundation,
9 ** either version 3 of the License, or (at your option) any
10 ** later version.
11 **
12 ** qadvanceditemviews is distributed in the hope that it will be
13 ** useful, but WITHOUT ANY WARRANTY; without even the implied
14 ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 ** See the GNU General Public License for more details.
16 **
17 ** You should have received a copy of the GNU Lesser General Public
18 ** License along with qadvanceditemviews.
19 ** If not, see <http://www.gnu.org/licenses/>.
20 ******************************************************************************/
21 #ifndef QADVANCEDHEADERVIEW_H
22 #define QADVANCEDHEADERVIEW_H
23 
24 #include <QHeaderView>
25 
26 #include <qaivlib_global.h>
27 
29 
38 class QAIVLIBSHARED_EXPORT QAdvancedHeaderView : public QHeaderView
39 {
40  Q_OBJECT
41 public:
45  QAdvancedHeaderView(Qt::Orientation orientation, QWidget* parent = 0);
50 public slots:
54  void showAllColumns();
55 private slots:
56  void addFilterSetActionTriggered();
57 
58  void hideFilterActionTriggered();
59 
60  void filterModeActionTriggered();
61 
62  void hideSectionActionTriggered();
63 
64  void highlightModeActionTriggered();
65 
66  void invertedMatchModeActionTriggered();
67 
68  void moreColumnsActionTriggered();
69 
70  void removeFilterSetActionTriggered();
71 
72  void renameFilterActionTriggered();
73 
74  void sectionToggled( bool on );
75 
76  void showFilterActionTriggered();
77 
78  void toggleSortOrderActionTriggered();
79 protected:
80  void contextMenuEvent( QContextMenuEvent * event );
81 };
82 
83 #endif // QADVANCEDHEADERVIEW_H
The QAdvancedHeaderView class provides a header view to manage to appearance of the related view...
Definition: qadvancedheaderview.h:38