VR-Forces 4.0.4 Class Documentation
examples/exampleHumbleDialog/HumbleDialogWidget.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002 * Copyright (c) 2012 MAK Technologies, Inc.
00003 * All rights reserved.
00004 *****************************************************************************/
00005 
00009 
00010 #pragma once
00011 
00012 #include "exampleHumbleDialogPlugin.h"
00013 #include "HumbleDialogWidgetInterface.h"
00014 
00015 #include <QtGui/QWidget>     // Qt headers must be include last due to signals
00016 #include <QtGui/QLineEdit>
00017 
00018 
00031 class HumbleDialogWidget
00032     : public QWidget
00033     , public HumbleDialogWidgetInterface
00034 {
00035     Q_OBJECT
00036 
00037 public:
00038 
00040     HumbleDialogWidget(QWidget* parent = 0, Qt::WindowFlags f = Qt::Widget);
00041 
00043     virtual ~HumbleDialogWidget();
00044 
00047     virtual void setText(const std::string& text);
00048 
00049     public slots:
00050 
00056         void slot_onReturnPressed();
00057 
00058 private:
00059     QLineEdit* myTextBox;
00060 };
00061 
00062 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)