VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiListBoxElement.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
13 
14 class QListWidgetItem;
15 
17 {
18 public:
19 
22 
24  virtual ~DtUiListBoxElement();
25 
27 
30  virtual void setComboElements(const std::vector<std::string>&);
31 
32  virtual void elementChanged();
33 
34 protected:
35  virtual void createControls(QWidget* parent);
36  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
37 
38 protected:
39  std::vector<std::string> myComboElements;
40  std::map<std::string, QListWidgetItem*> myListItems;
41 };
virtual void createControls(QWidget *parent)
If additional widgets or connections need to be made do it here. The parent is the myWidget member...
virtual void setFromParameters(DtReaderWriter *parentRw)
Calls setFromParameters with std::vector of parameter.
std::vector< std::string > myComboElements
Definition: uiListBoxElement.h:39
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:174
Definition: uiListBoxElement.h:16
virtual void elementChanged()
std::map< std::string, QListWidgetItem * > myListItems
Definition: uiListBoxElement.h:40
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:32
Base class of the ui element class chain.
Definition: uiElement.h:169

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)