OpendTect-6_4  6.4
uiproxydlg.h
Go to the documentation of this file.
1 #ifndef uiproxydlg_h
2 #define uiproxydlg_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: May 2012
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uitoolsmod.h"
16 #include "uidialog.h"
17 #include "odnetworkaccess.h"
18 
19 class uiCheckBox;
20 class uiGenInput;
21 class uiLabel;
22 class uiLabeledSpinBox;
23 class uiLineEdit;
24 
25 mExpClass(uiTools) uiProxyDlg : public uiDialog
27 public:
29  ~uiProxyDlg();
30 
31  void setHost(const char*);
32  const char* getHost() const;
33  void setPort(int);
34  int getPort() const;
35 
36  bool fillPar(IOPar&,bool) const;
37  bool usePar(const IOPar&);
38 
39 protected:
40 
41  void initFromSettings();
42  bool saveInSettings();
43  void useProxyCB(CallBacker*);
44  bool acceptOK(CallBacker*);
45 
54 };
55 
58 public:
59 
61 
62  bool setFromUser();
63 
64  void setMainWin(uiMainWin* mw) { mainwin_ = mw; }
65 
66 protected:
67 
69 };
70 
71 
72 #endif
uiGenInput * hostfld_
Definition: uiproxydlg.h:52
#define mExpClass(module)
Definition: commondefs.h:160
User interface main window.
Definition: uimainwin.h:36
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiLabel * pwdlabel_
Definition: uiproxydlg.h:49
uiGenInput * usernamefld_
Definition: uiproxydlg.h:47
Definition: odnetworkaccess.h:166
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: uiproxydlg.h:25
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
uiLineEdit * pwdfld_
Definition: uiproxydlg.h:48
void setMainWin(uiMainWin *mw)
Definition: uiproxydlg.h:64
uiCheckBox * savepwdfld_
Definition: uiproxydlg.h:50
Definition: uiparent.h:26
Definition: uidialog.h:42
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: uispinbox.h:128
uiCheckBox * authenticationfld_
Definition: uiproxydlg.h:46
General Input Element.
Definition: uigeninput.h:58
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Definition: uilabel.h:24
uiGenInput * useproxyfld_
Definition: uiproxydlg.h:51
Definition: uiproxydlg.h:56
Definition: uilineedit.h:51
Definition: uibutton.h:134
uiLabeledSpinBox * portfld_
Definition: uiproxydlg.h:53
uiMainWin * mainwin_
Definition: uiproxydlg.h:68

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019