VR-Exchange 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
findDialog.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portalApp/dllExport.h>
13 
14 #include <QtGui/QDialog>
15 
16 #include <map>
17 
18 class DtString;
19 class QLineEdit;
20 class QPushButton;
21 
22 namespace MAKVrExchange
23 {
24 
28  { Q_OBJECT;
29  public:
30 
32  DtFindDialog( QWidget* parent = 0 );
33 
35  virtual ~DtFindDialog();
36 
38  virtual void selectAll();
39 
41  virtual DtString searchString() const;
42 
43  protected:
44 
47  void setupGui();
48 
51  void connectToSignals();
52 
54  virtual void keyPressEvent( QKeyEvent* event );
55 
57  virtual void keyReleaseEvent( QKeyEvent* event );
58 
59  signals:
60 
62  void onFindNextPressed() const;
63 
65  void onFindPreviousPressed() const;
66 
68  void onSearchStringChanged() const;
69 
70  private:
71 
73  DtFindDialog( DtFindDialog& other );
74 
76  DtFindDialog& operator = ( DtFindDialog& other );
77 
78  protected:
79 
80  QLineEdit* myEntryBox;
81  QPushButton* myPreviousButton;
82  QPushButton* myNextButton;
83 
84  };
85 
86 
87 }

Document ID: Generated on Wed Dec 21 15:05:11 EST 2016 from SVN revision 171891
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)