VR-Forces Developer's Guide
Home
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCoreQt
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
21
class
DT_DLL_VRVCOREQT
DtErrorMessagesPage
:
public
DtPage
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
81
DtSignalConnectionManager
myConnections;
82
83
QTextEdit* myTextEdit;
84
QColor myCriticalErrorColor;
85
QColor myNonCriticalErrorColor;
86
};
87
90
typedef
DtPageCreatorTemplate
<DtErrorMessagesPage>
91
DtErrorMessagesPageCreator
;
92
}
DtDeError.h
Contains makVrv::DtDeError class.
makVrv::DtDeError
The DtDeError instance.
Definition:
DtDeError.h:20
DtPage.h
Contains makVrv::DtPage class.
DT_DLL_VRVCOREQT
#define DT_DLL_VRVCOREQT
Definition:
vrvCoreQt.h:20
makVrv::DtPageCreatorTemplate
Definition:
DtPage.h:150
makVrv::DtSignalConnectionManager
Class to manage disconnection of boost connections on deletion.
Definition:
DtSignalConnectionManager.h:20
makVrv::DtPage
The page is a single widget component which is viewed in a page collection.
Definition:
DtPage.h:30
makVrv::DtErrorMessagesPage
A dialog page error messages.
Definition:
DtErrorMessagesPage.h:21
makVrv::DtDe
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
makVrv::DtQIconConfigurations
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition:
DtQIconConfiguration.h:131
Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (
www.mak.com
)