00001 /* 00002 ** This file is part of Vidalia, and is subject to the license terms in the 00003 ** LICENSE file, found in the top level directory of this distribution. If you 00004 ** did not receive the LICENSE file with this file, you may obtain it from the 00005 ** Vidalia source package distributed by the Vidalia Project at 00006 ** http://www.vidalia-project.net/. No part of Vidalia, including this file, 00007 ** may be copied, modified, propagated, or distributed except according to the 00008 ** terms described in the LICENSE file. 00009 */ 00010 00011 /* 00012 ** \file logheaderview.h 00013 ** \version $Id: logheaderview.h 2922 2008-08-03 01:19:40Z edmanm $ 00014 ** \brief Header for the message log QTreeView 00015 */ 00016 00017 #ifndef _LOGHEADERVIEW_H 00018 #define _LOGHEADERVIEW_H 00019 00020 #include <QHeaderView> 00021 00022 00023 class LogHeaderView : public QHeaderView 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 /** Default constructor. */ 00029 LogHeaderView(QWidget *parent); 00030 00031 /** Resets all column widths back to their defaults. */ 00032 void resetColumnWidths(); 00033 }; 00034 00035 #endif 00036