Vidalia  0.3.1
LogHeaderView.h
Go to the documentation of this file.
1 /*
2 ** This file is part of Vidalia, and is subject to the license terms in the
3 ** LICENSE file, found in the top level directory of this distribution. If you
4 ** did not receive the LICENSE file with this file, you may obtain it from the
5 ** Vidalia source package distributed by the Vidalia Project at
6 ** http://www.torproject.org/projects/vidalia.html. No part of Vidalia,
7 ** including this file, may be copied, modified, propagated, or distributed
8 ** except according to the terms described in the LICENSE file.
9 */
10 
11 /*
12 ** \file LogHeaderView.h
13 ** \brief Header for the message log QTreeView
14 */
15 
16 #ifndef _LOGHEADERVIEW_H
17 #define _LOGHEADERVIEW_H
18 
19 #include <QHeaderView>
20 
21 
22 class LogHeaderView : public QHeaderView
23 {
24  Q_OBJECT
25 
26 public:
27  /** Default constructor. */
28  LogHeaderView(QWidget *parent);
29 
30  /** Resets all column widths back to their defaults. */
31  void resetColumnWidths();
32 };
33 
34 #endif
35 
void resetColumnWidths()
LogHeaderView(QWidget *parent)