VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
baseComboTaskSetDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 #include <QtCore/QVariant>
17 
18 class QBoxLayout;
19 class QComboBox;
20 class QLabel;
21 
22 namespace makVrf
23 {
25  {
26  Q_OBJECT
27 
28  public:
29  //CTOR
30  DtBaseComboTaskSetDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
31 
32  //DTOR
33  virtual ~DtBaseComboTaskSetDialog();
34 
35  virtual void setSelectedIndex(int);
36  virtual int selectedIndex() const;
37 
38  virtual void setSelectedText(const QString&);
39  virtual QString selectedText() const;
40 
41  virtual void setSelectedData(const QVariant&);
42  virtual QVariant selectedData() const;
43 
44  virtual QVariant itemData(int iIndex) const;
45  virtual QVariant selectedItemData() const;
46 
47  virtual void addItem(const QString&, const QVariant& data = QVariant());
48  virtual void removeItem(const QString&);
49 
51  virtual void clear();
52 
53  protected:
54  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
55  virtual QBoxLayout* createMainLayout();
56 
57  protected slots:
58  virtual void onComboChanged(const QString&);
59 
60  protected:
61 
62  virtual void comboChanged(const QString&);
63 
64  public:
65  QWidget* myCanvas;
66  QBoxLayout* myCanvasLayout;
68  QBoxLayout* myFiltersLayout;
69  QBoxLayout* myComboLayout;
72  };
73 }
Definition: baseTaskSetDialogInterface.h:34
QBoxLayout * myFiltersLayout
layout for an extra set of filter combos – only used in some subclasses
Definition: baseComboTaskSetDialog.h:68
QBoxLayout * myComboLayout
Definition: baseComboTaskSetDialog.h:69
QBoxLayout * myCanvasLayout
Definition: baseComboTaskSetDialog.h:66
Contains makVrf::DtBaseTaskSetDialogInterface class. This is the interface for the dialog used by mos...
QLabel * myLabel
Definition: baseComboTaskSetDialog.h:71
QWidget * myCanvas
Definition: baseComboTaskSetDialog.h:65
Definition: baseComboTaskSetDialog.h:24
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:70
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
QComboBox * myCombo
Definition: baseComboTaskSetDialog.h:70

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)