VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hostilityMatrixDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 #include "hostilityMatrixWidgetUi.hpp"
16 
17 #include <QtWidgets/QDialog>
18 
19 namespace makVrf
20 {
21  class DtHostilityMatrixDialogLogic;
22 
24  {
25  Q_OBJECT
26 
27  public:
28  //CTOR
29  DtHostilityMatrixDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
30 
31  //DTOR
32  virtual ~DtHostilityMatrixDialog() override;
33 
34  public:
36  virtual void setupGui();
37 
39  virtual bool blockTableSignals(bool) override;
40 
42  virtual void setRowCount(int) override;
43 
45  virtual int rowCount() const override;
46 
48  virtual void setColumnCount(int) override;
49 
51  virtual int columnCount() const override;
52 
54  virtual void showHeaders(bool horiz, bool vert) override;
55 
57  virtual void showRow(int row, bool) override;
58 
60  virtual void showColumn(int col, bool) override;
61 
63  virtual void setCellWidget(int row, int col, QWidget*) override;
64  virtual QWidget* cellWidget(int row, int col) override;
65 
67  virtual void resizeToContents() override;
68 
70  virtual bool hasCheckBox(int row, int col) const override;
71 
73  virtual bool checked(int row, int col) const override;
74 
76  virtual void setChecked(int row, int col, bool) override;
77 
79  virtual void enableApplyButton();
80 
82  virtual void disableApplyButton();
83 
84  protected slots:
85  virtual void apply();
86  virtual void applyAndClose();
87  virtual void cancelAndClose();
88  virtual void setToDefaults();
89  virtual void enableApply();
90 
91  public:
92  Ui_DtHostilityMatrixUi myUiImpl;
93 
94  protected:
97  };
98 }
DtHostilityMatrixDialogLogic * myLogic
Definition: hostilityMatrixDialog.h:96
Definition: hostilityMatrixDialogInterface.h:26
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
Definition: hostilityMatrixDialog.h:23
Ui_DtHostilityMatrixUi myUiImpl
Definition: hostilityMatrixDialog.h:92
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:76
makVrv::DtDe & myDe
Definition: hostilityMatrixDialog.h:95
Definition: hostilityMatrixDialogLogic.h:34

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)