VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtErrorMessagesPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCoreQt/DtPage.h>
12 #include <vrvUtil/DtDeError.h>
13 
14 class QTextEdit;
15 
16 namespace makVrv
17 {
18 
22  {
23  Q_OBJECT
24  Q_PROPERTY(QColor CriticalErrorColor MEMBER myCriticalErrorColor USER true)
25  Q_PROPERTY(QColor NonCriticalErrorColor MEMBER myNonCriticalErrorColor USER true)
26 
27  public:
28 
30  DtErrorMessagesPage(DtDe& de, QWidget* parent,
31  Qt::WindowFlags f = Qt::Widget);
32 
34  virtual ~DtErrorMessagesPage();
35 
37  virtual QIcon icon();
38 
41  virtual DtQIconConfigurations qIconConfigurations() const;
42 
44  virtual QString title();
45 
47  virtual const std::string& pageClassName() const;
48 
50  static const std::string& thePageClassName();
51 
52  public slots:
53 
55  virtual void slot_onIgError(const DtDeError& igError, bool criticalError);
56 
58  virtual void addMessage( const DtDeError& igError, bool criticalError);
59 
60  protected:
61 
63  virtual void setupGui();
64 
67  virtual void slot_currentStyleSheetsPathAboutToBeChanged();
68 
71  virtual void slot_postCurrentStyleSheetsPathChanged();
72 
74  virtual void populateWithDeErrorMessages();
75 
76  virtual void activate();
77  virtual void deactivate();
78 
79  protected:
80 
82 
83  QTextEdit* myTextEdit;
84  QColor myCriticalErrorColor;
85  QColor myNonCriticalErrorColor;
86  };
87 
90  typedef DtPageCreatorTemplate<DtErrorMessagesPage>
92 }
Contains makVrv::DtDeError class.
The DtDeError instance.
Definition: DtDeError.h:20
Contains makVrv::DtPage class.
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Definition: DtPage.h:150
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:30
A dialog page error messages.
Definition: DtErrorMessagesPage.h:21
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:131

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)