VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiPushButtonElement.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
19 
21 {
22  Q_OBJECT
23 
24 public:
25 
26  typedef boost::function<void (makVrv::DtDe&, DtUiPushButtonElement*)> PushButtonSlot;
27 
30 
32  virtual ~DtUiPushButtonElement();
33 
34  virtual void createControls(QWidget*);
35 
37 
38  virtual void setSlot(const QString&);
39  virtual QString slot() const;
40 
41  static void addSlot(const std::string&, PushButtonSlot);
42 
43 protected slots:
44  virtual void buttonPressed();
45 
46 protected:
47  QString mySlot;
48 };

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)