VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtModelPreloadWidget.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 
12 #include <vrvCoreQt/vrvCoreQt.h>
14 
15 #include <QtWidgets/QWidget>
16 #include <QtCore/QString>
17 
18 class QVBoxLayout;
19 class QHBoxLayout;
20 class QToolButton;
21 class QPushButton;
22 class QFrame;
23 class QLabel;
24 class QListWidget;
25 
26 namespace makVrv
27 {
32  : public QWidget
34  {
35  Q_OBJECT;
36 
37  public:
39  DtModelPreloadWidget(DtDe& de, QWidget* parent);
40 
42  virtual ~DtModelPreloadWidget();
43 
45  virtual void setModelDefinitionList(std::vector<std::string>& modelDefList);
46 
48  virtual void setPreloadModelDefintionList(std::vector<std::string>& preloadModelDefList);
49 
50  protected slots:
51 
53  void setupGui();
54 
58 
60  virtual void slot_addToPreloadListClicked();
61 
63  virtual void slot_removeFromPreloadListClicked();
64 
66  virtual void slot_clearPreloadModelsClicked();
67 
69  virtual void slot_loadPreloadModelsClicked();
70 
72 
73  protected:
74 
76 
78  QString myLastFilePath;
79 
80  QVBoxLayout *myMainLayout;
81 
83  QVBoxLayout* myMoveButtonLayout;
86 
88 
90  QListWidget* myModelDefinitionList;
91 
94 
97 
100 
102  };
103 
104 }
QVBoxLayout * myModelDefinitionListLayout
Definition: DtModelPreloadWidget.h:82
DtModelPreloadWidget is the widget displayed that shows utilities for building a model preloading lis...
Definition: DtModelPreloadWidget.h:31
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
QHBoxLayout * myMoveBetweenListsHorizontalLayout
Definition: DtModelPreloadWidget.h:87
Contains DLL export macros.
QString myLastFilePath
Last file path used for import/export.
Definition: DtModelPreloadWidget.h:78
QListWidget * myPreloadModelDefinitionList
Definition: DtModelPreloadWidget.h:96
QVBoxLayout * myMoveButtonLayout
Definition: DtModelPreloadWidget.h:83
Contains makVrv::DtModelPreloadInterface class.
QFrame * mySeparator
Definition: DtModelPreloadWidget.h:101
QLabel * myPreloadModelDefinitionLabel
Definition: DtModelPreloadWidget.h:95
QVBoxLayout * myMainLayout
Definition: DtModelPreloadWidget.h:80
QListWidget * myModelDefinitionList
Definition: DtModelPreloadWidget.h:90
QHBoxLayout * myClearAndLoadPreloadButtonsLayout
Definition: DtModelPreloadWidget.h:85
QToolButton * myRemoveFromPreloadListButton
Definition: DtModelPreloadWidget.h:93
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
QPushButton * myLoadPreloadListButton
Definition: DtModelPreloadWidget.h:99
QLabel * myModelDefinitionLabel
Definition: DtModelPreloadWidget.h:89
DtModelPreloadInterface is the interface allowing the DtModelPreloadPageLogic and DtModelPreloadWidge...
Definition: DtModelPreloadInterface.h:20
QToolButton * myAddToPreloadListButton
Definition: DtModelPreloadWidget.h:92
QVBoxLayout * myPreloadModelDefinitionListLayout
Definition: DtModelPreloadWidget.h:84
DtDe & myDe
Definition: DtModelPreloadWidget.h:75
QPushButton * myClearPreloadListButton
Definition: DtModelPreloadWidget.h:98

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)