OpendTect-6_4  6.4
uiissuereporter.h
Go to the documentation of this file.
1 #ifndef uiissuereporter_h
2 #define uiissuereporter_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Bril
9  Date: 21/9/2000
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uitoolsmod.h"
16 #include "uidialog.h"
17 
18 #include "issuereporter.h"
19 
20 class uiTextEdit;
21 class uiGenInput;
22 
27 public:
28 
30 
31  System::IssueReporter& reporter() { return reporter_; }
32  const char* errMsg() const;
33 
35  { return "Allow sending of issue-reports"; }
36 
37 protected:
38  bool allowSending() const;
39  void viewReportCB(CallBacker*);
40  void viewReport(const uiString& caption);
41  void copyToClipBoardCB(CallBacker*);
42  void proxySetCB(CallBacker*);
43 
44  bool acceptOK(CallBacker*);
45  void setButSensitive(bool);
46  void getReport(BufferString&) const;
47 
48  static uiString sSendReport() { return tr("Send report"); }
49  static uiString sDontSendReport() { return tr("Do not send"); }
50 
53 
56 
57 };
58 
59 
60 #endif
#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
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
OD::String that holds an existing text string.
Definition: fixedstring.h:29
static FixedString sKeyAllowSending()
Definition: uiissuereporter.h:34
Definition: uistring.h:89
Definition: uiparent.h:26
Definition: uidialog.h:42
General Input Element.
Definition: uigeninput.h:58
System::IssueReporter reporter_
Definition: uiissuereporter.h:54
static uiString sSendReport()
Definition: uiissuereporter.h:48
Definition: issuereporter.h:25
static uiString sDontSendReport()
Definition: uiissuereporter.h:49
uiGenInput * emailfld_
Definition: uiissuereporter.h:52
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferString filename_
Definition: uiissuereporter.h:55
System::IssueReporter & reporter()
Definition: uiissuereporter.h:31
const char * errMsg() const
Definition: horizontracker.h:61
reports issues to opendtect.org. Usually crash reports.
Definition: uiissuereporter.h:25
uiTextEdit * commentfld_
Definition: uiissuereporter.h:51

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