VR-Forces 4.3.1 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 
17 
18 class QLabel;
19 
20 namespace makVrf
21 {
22  namespace makVrfGuiObjectInformationQt
23  {
24  class DtObjectConsoleInformationStatusWidget;
25 
29  {
30  Q_OBJECT
31 
32  public:
33 
37 
40 
41  virtual QWidget* widgetRepresentation(QWidget* parent, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
42  static std::string creatorName();
43 
44  protected:
45  virtual bool mouseReleaseEvent();
47  virtual void deactivate();
48 
49  virtual void setMessageQueueSize(int);
50  virtual void addMessage(makVrv::DtElementID id, const QString& mess, int notifyLevel);
51  virtual void clearMessages();
52 
53  virtual void setNotifyLevel(int);
54  virtual int notifyLevel() const;
55  virtual void questionStatusChanged(makVrv::DtElementID, int, int);
56  virtual QVariant value(int col, int role, const QTreeWidgetItem*,
58  virtual bool valueNeedsUpdate(int col, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
59  virtual QString formatTextForSingleLine(const QString& text) const;
60 
61  virtual QWidget* widget()
62  {
63  return myContainer;
64  }
65 
66  protected:
68  QPixmap myWarningIcon;
69  QPixmap myQuestionIcon;
72 
73  public:
76  };
77 
79  }
80 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)