MAK Data Logger API Documentation for DIS
lgrRemoteLoggerView.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #ifndef lgrRemoteLoggerView_H_
10 #define lgrRemoteLoggerView_H_
11 
12 #include "lgrRemoteGui.h"
13 #include <QtCore/QObject>
14 #include <QtCore/QPoint>
15 #include <QtGui/QAction>
16 #include <QtGui/QFrame>
17 
18 class DtFilename;
19 class QFrame;
20 class QPushButton;
21 class QTreeWidget;
22 class QTreeWidgetItem;
23 class QTreeView;
24 class QSignalMapper;
25 class QStandardItemModel;
26 
27 namespace MAKLogger
28 {
30  class DtLgrRemoteMainWindow;
32  {
33  Q_OBJECT
34  public:
37 
39  virtual ~DtLgrRemoteLoggerView();
40 
42  virtual void addItem( QString id, QString state, DtFilename filename, QString protocol, QColor color );
43 
45  virtual bool canUpdateItem( QString id, QString state, DtFilename filename, QString protocol, QColor color );
46 
48  virtual void removeItem(QString id);
49 
51  QWidget* setupButton( QPushButton* button, QWidget* buttonWidget, QColor color );
52 
53  protected:
54 
55  void initializeContextMenu();
56 
57  public slots:
59  virtual void postWindowUpdate(DtLgrRemoteMainWindow &window);
60 
62  virtual void onButtonClicked(const QString& id);
63 
65  virtual void contextMenuHandler( const QPoint& pnt );
66 
67  protected:
69  QTreeView* myTreeView;
70  QStandardItemModel* myItemModel;
71  QFrame* myFrame;
73  QPainter* myPainter;
74  QSignalMapper* mySignalMapper;
75 
76  private:
79 
81  DtLgrRemoteLoggerView& operator=(const DtLgrRemoteLoggerView& orig);
82  };
83 
84 }
85 
86 #endif

Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)