File indexing completed on 2024-04-28 15:35:04
0001 /*************************************************************************** 0002 dlgstatistics.h - Statistics dialog 0003 ------------------- 0004 begin : Pi mar 14 2003 0005 copyright : (C) 2003 by Tomas Mecir 0006 email : kmuddy@kmuddy.com 0007 ***************************************************************************/ 0008 0009 /*************************************************************************** 0010 * * 0011 * This program is free software; you can redistribute it and/or modify * 0012 * it under the terms of the GNU General Public License as published by * 0013 * the Free Software Foundation; either version 2 of the License, or * 0014 * (at your option) any later version. * 0015 * * 0016 ***************************************************************************/ 0017 0018 #ifndef DLGSTATISTICS_H 0019 #define DLGSTATISTICS_H 0020 0021 #include <QDockWidget> 0022 #include "cactionbase.h" 0023 0024 class QTimer; 0025 class QTreeWidget; 0026 0027 /** 0028 Connection statistics dialog box. 0029 *@author Tomas Mecir 0030 */ 0031 0032 class dlgStatistics : public QDockWidget, public cActionBase { 0033 Q_OBJECT 0034 public: 0035 dlgStatistics (QWidget *parent=nullptr); 0036 ~dlgStatistics () override; 0037 /** update information in the dialog */ 0038 public slots: 0039 void update (); 0040 protected: 0041 void eventIntHandler (QString event, int, int, int) override; 0042 0043 QTimer *updateTimer; 0044 0045 QTreeWidget *view; 0046 }; 0047 0048 #endif