VR-Exchange 2.2 API Documentation
transDiagnosticDialog.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <namespace.h>
13 
14 #include <QtGui/QDialog>
15 
16 #include <vlutil/vlString.h>
17 
18 #include <map>
19 
20 class QTabWidget;
21 class QPlainTextEdit;
22 
23 namespace MAKVrExchange
24 {
25 
26  class DtTranslationDiagnosticWidget;
27 
30  class DT_DLL_LIBPORTALAPP DtTranslationDiagnosticDialog : public QDialog
31  { Q_OBJECT;
32  public:
33 
35  DtTranslationDiagnosticDialog( const DtString& primaryBrokerName,
36  const DtString& objectName, QWidget* parent = 0 );
37 
40 
42  virtual const DtString& primaryBrokerName() const;
43 
45  virtual const DtString& objectName() const;
46 
49  virtual void updateTranslation( const DtString& brokerName,
50  const DtString& incomingState, const DtString& outgoingState );
51 
52  protected:
53 
56  void setupGui();
57 
60  void connectToSignals();
61 
62  private:
63 
66 
69 
70  protected:
71 
72  typedef std::map<DtString,DtTranslationDiagnosticWidget*> BrokerWidgetsMap;
74 
77 
78  QPushButton* myPauseButton;
79  QPushButton* myCloseButton;
80  QTabWidget* myTabFolder;
81 
82  };
83 
84 
88  {
89  public:
90 
94  DtTranslationDiagnosticWidget( bool isPrimary, QWidget* parent = 0 );
95 
98 
100  virtual void setIncomingOutgoingStates( const DtString& incomingState,
101  const DtString& outgoingState );
102 
103  protected:
104 
107  void setupGui();
108 
109  private:
110 
113 
116 
117  protected:
118 
120 
121  QPlainTextEdit* myIncomingTextBox;
122  QPlainTextEdit* myOutgoingTextBox;
123 
124  };
125 
126 }

Document ID: Generated on Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)