OpendTect-6_4  6.4
uiodsysadm.h
Go to the documentation of this file.
1 #ifndef uiodsysadm_h
2 #define uiodsysadm_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert Bril
8  Date: Jul 2006
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 
15 #include "uisysadmmod.h"
16 #include "uidialog.h"
17 #include "uistring.h"
18 class uiODSysAdm;
19 class uiListBox;
20 class uiTextEdit;
21 
22 
25 
30 mExpClass(uiSysAdm) uiODSysAdm : public uiDialog
32 public:
33 
35  ~uiODSysAdm();
36  struct TaskEntry
37  {
38  TaskEntry( const char* nm, const CallBack& cb,
39  const char* comm=0 )
40  : name_(nm)
41  , comment_(comm)
42  , cb_(cb) {}
43 
47  };
48  struct GroupEntry
49  {
50  GroupEntry( const char* nm )
51  : name_(nm) {}
52 
55  };
56 
58 
59  GroupEntry* getGroupEntry(const char*);
60  TaskEntry* getTaskEntry(GroupEntry*,const char*);
61 
64  const bool haveas_;
65  const bool swwritable_;
66  const bool aswritable_;
67 
68 protected:
69 
73 
74  TaskEntry* getCurTaskEntry();
75 
76  bool acceptOK(CallBacker*);
77  void setInitial(CallBacker*);
78  void grpChg(CallBacker*);
79  void taskChg(CallBacker*);
80  void taskDClick(CallBacker*);
81 
82  void doColorTabs(CallBacker*);
83  void doShortcuts(CallBacker*);
84  void doIconSets(CallBacker*);
85  void doBatchHosts(CallBacker*);
86  void doBatchProgs(CallBacker*);
87  void doInstLicFile(CallBacker*);
88  void doStartLic(CallBacker*);
89  void doAttribSets(CallBacker*);
90 
91 };
92 
93 
94 #endif
OpendTect System Administration application top level object.
Definition: uiodsysadm.h:30
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: uitextedit.h:74
BufferString comment_
Definition: uiodsysadm.h:45
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
const BufferString asdir_
GetApplSetupDir()
Definition: uiodsysadm.h:63
Definition: uiodsysadm.h:48
GroupEntry(const char *nm)
Definition: uiodsysadm.h:50
Definition: uiparent.h:26
TaskEntry(const char *nm, const CallBack &cb, const char *comm=0)
Definition: uiodsysadm.h:38
Definition: uiodsysadm.h:36
Definition: uidialog.h:42
List Box.
Definition: uilistbox.h:75
Set of pointers to objects.
Definition: commontypes.h:32
const bool swwritable_
Is swdir_ writable?
Definition: uiodsysadm.h:65
ObjectSet< TaskEntry > tasks_
Definition: uiodsysadm.h:54
const bool haveas_
Does asdir_ exist?
Definition: uiodsysadm.h:64
uiODSysAdm & ODSysAdmMainWin()
Top-level access.
const BufferString swdir_
GetSoftwareDir()
Definition: uiodsysadm.h:62
uiTextEdit * commentfld
Definition: uiodsysadm.h:72
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
uiListBox * taskfld
Definition: uiodsysadm.h:71
ObjectSet< GroupEntry > groups_
Definition: uiodsysadm.h:57
CallBack cb_
Definition: uiodsysadm.h:46
const bool aswritable_
Is asdir_ writable?
Definition: uiodsysadm.h:66
CallBacks object-oriented (object + method).
Definition: callback.h:57
BufferString name_
Definition: uiodsysadm.h:44
uiListBox * grpfld
Definition: uiodsysadm.h:70
BufferString name_
Definition: uiodsysadm.h:53

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