VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
objectConsoleInformationStatusItem.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvUtil/signalslib.h>
13 
18 
19 #include <vrvCore/DtUniqueID.h>
20 
21 class QLabel;
22 
23 namespace makVrf
24 {
25  namespace makVrfGuiObjectInformationQt
26  {
27  class DtObjectConsoleInformationStatusWidget;
28 
32  {
33  Q_OBJECT
34 
35  public:
36 
40 
43 
44  virtual QWidget* widgetRepresentation(QWidget* parent, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
45  static std::string creatorName();
46 
47  protected:
48  virtual bool mouseReleaseEvent();
50  virtual void deactivate();
51 
52  virtual void setMessageQueueSize(int);
53  virtual void addMessage(makVrv::DtElementID id, const QString& mess, int notifyLevel);
54  virtual void clearMessages();
55 
56  virtual void setNotifyLevel(int);
57  virtual int notifyLevel() const;
58  virtual void questionStatusChanged(makVrv::DtElementID, int, int);
59  virtual QVariant value(int col, int role, const QTreeWidgetItem*,
61  virtual bool valueNeedsUpdate(int col, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
62  virtual QString formatTextForSingleLine(const QString& text) const;
63  virtual void entityStateChanged(makVrv::DtElementID id, DtSharedVrfVrlApplicationSettings::EntityStates s, bool b);
64 
65  virtual QWidget* widget()
66  {
67  return myContainer;
68  }
69 
70  protected:
72  QPixmap myWarningIcon;
73  QPixmap myQuestionIcon;
76 
77  public:
80  };
81 
83  }
84 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)