COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
WSFileBrowserParameter.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef WSFILEBROWSERPARAMETER_H
9 #define WSFILEBROWSERPARAMETER_H
10 
11 #include "WSExport.h"
12 #include "WSParameter.h"
13 #include "WSTools.h"
14 
15 namespace covise
16 {
17 
19 {
20 
21  Q_OBJECT
22 
23  Q_PROPERTY(QString value READ getValue WRITE setValue)
24 
25 public:
26  WSFileBrowserParameter(const QString &name, const QString &description, const QString value = QString::null);
27 
28  virtual ~WSFileBrowserParameter();
29 
30 public slots:
36  bool setValue(const QString &inValue);
37 
42  const QString getValue() const;
43 
44  virtual QString toString() const;
45 
46 public:
47  virtual WSParameter *clone() const;
48 
49  virtual const covise::covise__Parameter *getSerialisable();
50 
51 protected:
52  virtual bool setValueFromSerialisable(const covise::covise__Parameter *serialisable);
53 
54  virtual QString toCoviseString() const;
55 
56 private:
57  covise::covise__FileBrowserParameter parameter;
60 };
61 }
62 
63 #endif // WSFILEBROWSERPARAMETER_H
GLuint const GLchar * name
Definition: khronos-glext.h:6722
Definition: WSParameter.h:27
static WSFileBrowserParameter * prototype
Definition: WSFileBrowserParameter.h:59
covise::covise__FileBrowserParameter parameter
Definition: WSFileBrowserParameter.h:57
GLsizei const GLfloat * value
Definition: khronos-glext.h:6760
#define WSLIBEXPORT
Definition: coExport.h:373
Definition: WSFileBrowserParameter.h:18