stringbox.h
1 /***************************************************************************
2  intedit.h - description
3  -------------------
4  begin : Sun Aug 27 2000
5  copyright : (C) 2000-2015 by Thies Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef STRINGBOX_H
19 #define STRINGBOX_H
20 
21 #include <qgroupbox.h>
22 
23 #include "odinqt.h"
24 
29 class stringBox : public QGroupBox {
30  Q_OBJECT
31 
32  public:
33  stringBox(const char* text, QWidget *parent, const char *name, const char *buttontext=0);
34  ~stringBox();
35 
36  public slots:
37  void setstringBoxText( const char* text );
38 
39 
40  private slots:
41  void reportTextChanged();
42  void reportButtonClicked();
43 
44 
45  signals:
46  void stringBoxTextEntered( const char* text );
47  void stringBoxButtonPressed();
48 
49  private:
50  GuiGridLayout* grid;
51  GuiLineEdit* le;
52  GuiButton* pb;
53 
54 };
55 
56 
57 #endif