wxLaunchDefaultBrowser(
"https://nlmenterprise.co1.qualtrics.com/jfe/form/SV_5iL6W3r2A7vY52R?ncbi_app=GB");
79 LOG_POST(
Info<<
"FEEDBACK: Preparing feedback report...");
86 boolopt_out_feedback =
87reg.
GetBool(
"GBENCH.Application.Feedback.OptOut",
false);
88 if(opt_out_feedback) {
95 if(
nullptr!= problem_description)
98 LOG_POST(
Info<<
"FEEDBACK START: Submitting feedback report...");
101 LOG_POST(
Info<<
"FEEDBACK END: Submitted feedback report");
104 LOG_POST(
Info<<
"FEEDBACK END: Canceled feedback report");
110 catch(std::exception& e) {
133: m_LineReader( &line_reader, ownership )
142 if( bytes_read ) *bytes_read = 0;
148 m_Line= *(*m_LineReader);
153 const char* line_str =
m_Line.c_str();
154 size_tline_to_go = strlen( line_str ) -
m_LineRead;
156 if(
count< line_to_go ){
158 if( bytes_read ) *bytes_read =
count;
163 if( bytes_read ) *bytes_read = line_to_go;
222line.find(
"_PROXY_USER") == string::npos
223&& line.find(
"_PROXY_PASS") == string::npos
228 autoeqix = line.find(
"=");
229 if( eqix == string::npos ){
238 const string&
msg,
const string& email_addr,
240vector<wxString>& attach_names,
247req->SetVersion().Assign(
version);
248req->SetEmail_addr(email_addr);
249req->EncodeDesc(
msg);
251 if( !app_log.empty() ){
252unique_ptr<CNcbiIstream> app_log_istr(
255req->EncodeApp_log( *app_log_istr );
258 if( !sys_config.empty() ){
259unique_ptr<CNcbiIstream> sys_config_istr(
262req->EncodeSys_config( *sys_config_istr );
267 ITERATE( vector<wxString>, attach_name_iter, attach_names ){
268 constwxString& attach_name = *attach_name_iter;
270wxFileName fname(attach_name);
271 const string basename(fname.GetFullName().ToAscii());
274fb_attach->SetFile_path(
basename+
".txt");
276unique_ptr<CNcbiIstream> attach_istr;
277 if( fname.FileExists() ){
291 static const string str(
"{empty}");
295fb_attach->EncodeData( *attach_istr );
297attachments.push_back( fb_attach );
301 if( !attachments.empty() ){
302req->SetAttachments() = attachments;
306req->SetSubscribe( subscribe );
321wxString applog_path;
326vector<wxString> attach_names;
329 wxT(
"<home>/gbench_user.ini, <std>/etc/gbench.ini")
331 if( !config_path.empty() ){
332attach_names.push_back( config_path );
378ostr <<
"Report by: ";
382ostr <<
"Report Description:"<< endl;
383ostr <<
string(72,
'-') << endl;
384ostr << (
m_Descr.empty() ?
"No description provided.":
m_Descr) << endl;
385ostr <<
string(72,
'-') << endl;
389ostr <<
"Genome Workbench Version"<< endl;
390ostr <<
string(72,
'-') << endl;
392 size_tver_major = 0;
393 size_tver_minor = 0;
394 size_tver_patch_level = 0;
397ostr <<
"Major version: "<< ver_major << endl;
398ostr <<
"Minor version: "<< ver_minor << endl;
399ostr <<
"Patch level: "<< ver_patch_level << endl;
400ostr <<
"Build date: "<< build_date.
AsString() << endl;
407ostr <<
"System Information:"<< endl;
408ostr <<
string(72,
'-') << endl;
409ostr <<
"System information withheld."<< endl;
413ostr <<
"Application log:"<< endl;
414ostr <<
string(72,
'-') << endl;
420ostr << line << endl;
424ostr <<
"Application log withheld."<< endl;
470SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
471wxBitmap wizardBitmap(wxNullBitmap);
472wxWizard::Create( parent,
id,
_(
"Quality Feedback Wizard"), wizardBitmap, pos, wxDEFAULT_DIALOG_STYLE|wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|
wxCLOSE_BOX);
480title +=
wxT(
" (") + wxString::FromUTF8(inst.c_str()) +
wxT(
")");
521itemWizard1->GetPageAreaSizer()->Add(itemWizardPageSimple2);
524itemWizard1->GetPageAreaSizer()->Add(itemWizardPageSimple10);
527itemWizard1->GetPageAreaSizer()->Add(itemWizardPageSimple15);
530itemWizard1->GetPageAreaSizer()->Add(itemWizardPageSimple26);
533itemWizard1->GetPageAreaSizer()->Add(itemWizardPageSimple31);
535wxWizardPageSimple* lastPage =
NULL;
537wxWizardPageSimple::Chain(lastPage, itemWizardPageSimple2);
538lastPage = itemWizardPageSimple2;
540wxWizardPageSimple::Chain(lastPage, itemWizardPageSimple10);
541lastPage = itemWizardPageSimple10;
543wxWizardPageSimple::Chain(lastPage, itemWizardPageSimple15);
544lastPage = itemWizardPageSimple15;
546wxWizardPageSimple::Chain(lastPage, itemWizardPageSimple26);
547lastPage = itemWizardPageSimple26;
549wxWizardPageSimple::Chain(lastPage, itemWizardPageSimple31);
550lastPage = itemWizardPageSimple31;
561wxWindowList::compatibility_iterator node = GetChildren().GetFirst();
564wxWizardPage* startPage = wxDynamicCast(node->GetData(), wxWizardPage);
565 if(startPage)
returnRunWizard(startPage);
566node = node->GetNext();
575wxWindowList::compatibility_iterator node = GetChildren().GetFirst();
591node = node->GetNext();
599wxWindowList::compatibility_iterator node = GetChildren().GetFirst();
606node = node->GetNext();
650IMPLEMENT_DYNAMIC_CLASS(
WizardPage, wxWizardPageSimple )
657BEGIN_EVENT_TABLE(
WizardPage, wxWizardPageSimple )
690wxBitmap wizardBitmap(wxNullBitmap);
691wxWizardPageSimple::Create( parent,
NULL,
NULL, wizardBitmap );
695GetSizer()->Fit(
this);
733wxBoxSizer* itemBoxSizer3 =
newwxBoxSizer(wxVERTICAL);
734itemWizardPageSimple2->SetSizer(itemBoxSizer3);
736wxStaticText* itemStaticText4 =
newwxStaticText( itemWizardPageSimple2, wxID_STATIC,
_(
" Welcome to the Genome Workbench Feedback Wizard "), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT|wxSUNKEN_BORDER );
737itemStaticText4->SetBackgroundColour(wxColour(128, 128, 128));
738itemStaticText4->SetFont(wxFont(14, wxNORMAL_FONT->GetFamily(), wxNORMAL_FONT->GetStyle(), wxNORMAL_FONT->GetWeight(), wxNORMAL_FONT->GetUnderlined(), wxNORMAL_FONT->GetFaceName()));
739itemBoxSizer3->Add(itemStaticText4, 0, wxGROW|wxALL, 5);
741wxStaticText* itemStaticText5 =
newwxStaticText( itemWizardPageSimple2, wxID_STATIC,
_(
"The Genome Workbench Feedback wizard will guide you through the steps of submitting feedback to the Genome Workbench team. This process involves collecting some information about any specific issues you see with Genome Workbench, and providing a means of contacting you if you wish."), wxDefaultPosition, wxDefaultSize, 0 );
742itemStaticText5->Wrap(500);
743itemBoxSizer3->Add(itemStaticText5, 0, wxALIGN_LEFT|wxALL, 5);
745itemBoxSizer3->Add(5, 5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
747wxStaticText* itemStaticText7 =
newwxStaticText( itemWizardPageSimple2, wxID_STATIC,
_(
"At any time, you can click 'Cancel' to abandon this process."), wxDefaultPosition, wxDefaultSize, 0 );
748itemBoxSizer3->Add(itemStaticText7, 0, wxALIGN_LEFT|wxALL, 5);
750itemBoxSizer3->Add(5, 5, 1, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
752wxCheckBox* itemCheckBox9 =
newwxCheckBox( itemWizardPageSimple2,
ID_CHECKBOX4,
_(
"Do not show this dialog in the future"), wxDefaultPosition, wxDefaultSize, 0 );
753itemCheckBox9->SetValue(
false);
754itemBoxSizer3->Add(itemCheckBox9, 0, wxALIGN_LEFT|wxALL, 5);
757itemCheckBox9->SetValidator( wxGenericValidator(&
m_OptOut) );
768reg.
Set(
"GBENCH.Application.Feedback.OptOut", event.IsChecked());
812IMPLEMENT_DYNAMIC_CLASS(
WizardPage1, wxWizardPageSimple )
819BEGIN_EVENT_TABLE(
WizardPage1, wxWizardPageSimple )
854wxBitmap wizardBitmap(wxNullBitmap);
855wxWizardPageSimple::Create( parent,
NULL,
NULL, wizardBitmap );
859GetSizer()->Fit(
this);
897wxBoxSizer* itemBoxSizer11 =
newwxBoxSizer(wxVERTICAL);
898itemWizardPageSimple10->SetSizer(itemBoxSizer11);
900wxStaticText* itemStaticText12 =
newwxStaticText( itemWizardPageSimple10, wxID_STATIC,
_(
" Step 1: Privacy Policy"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT|wxSUNKEN_BORDER );
901itemStaticText12->SetBackgroundColour(wxColour(128, 128, 128));
902itemStaticText12->SetFont(wxFont(14, wxNORMAL_FONT->GetFamily(), wxNORMAL_FONT->GetStyle(), wxNORMAL_FONT->GetWeight(), wxNORMAL_FONT->GetUnderlined(), wxNORMAL_FONT->GetFaceName()));
903itemBoxSizer11->Add(itemStaticText12, 0, wxGROW|wxALL, 5);
905wxTextCtrl* itemTextCtrl13 =
newwxTextCtrl( itemWizardPageSimple10,
ID_TEXTCTRL1,
_(
"NCBI respects the privacy of the users of its services. The intention of the feedback service is to provide the users of NCBI's services with the highest quality support possible. Neither NCBI nor the Genome Workbench Team will share any information provided through this service with any other parties.\n\nMore information about the NLM's privacy policy can be found at https://www.nlm.nih.gov/privacy.html"), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxTE_LEFT );
906itemBoxSizer11->Add(itemTextCtrl13, 1, wxGROW|wxALL, 5);
908 m_AcceptPolicy=
newwxCheckBox( itemWizardPageSimple10,
ID_ACKNOWLEDGE,
_(
"I acknowledge the privacy policy"), wxDefaultPosition, wxDefaultSize, 0 );
958 if(event.IsChecked())
969wxMessageBox(
wxT(
"You have to acknowledge the privacy policy."),
wxT(
""),
970wxICON_WARNING | wxOK,
this);
980IMPLEMENT_DYNAMIC_CLASS(
WizardPage2, wxWizardPageSimple )
987BEGIN_EVENT_TABLE(
WizardPage2, wxWizardPageSimple )
1024wxBitmap wizardBitmap(wxNullBitmap);
1025wxWizardPageSimple::Create( parent,
NULL,
NULL, wizardBitmap );
1029GetSizer()->Fit(
this);
1055 m_ProblemDescr=
wxT(
"Well, that was embarrassing... \nPlease help us with your comments or instructions.");
1069 static const char*
kEMailRegEx=
"^ *[A-Za-z0-9_\\.\\-]+@([A-Za-z0-9_\\.\\-]+\\.[A-Za-z]{2,4}|here) *$";
1077wxBoxSizer* itemBoxSizer16 =
newwxBoxSizer(wxVERTICAL);
1078itemWizardPageSimple15->SetSizer(itemBoxSizer16);
1080wxStaticText* itemStaticText17 =
newwxStaticText( itemWizardPageSimple15, wxID_STATIC,
_(
" Step 2: Problem Report"), wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
1081itemStaticText17->SetBackgroundColour(wxColour(128, 128, 128));
1082itemStaticText17->SetFont(wxFont(14, wxNORMAL_FONT->GetFamily(), wxNORMAL_FONT->GetStyle(), wxNORMAL_FONT->GetWeight(), wxNORMAL_FONT->GetUnderlined(), wxNORMAL_FONT->GetFaceName()));
1083itemBoxSizer16->Add(itemStaticText17, 0, wxGROW|wxALL, 5);
1085wxBoxSizer* itemBoxSizer18 =
newwxBoxSizer(wxHORIZONTAL);
1086itemBoxSizer16->Add(itemBoxSizer18, 0, wxGROW|wxALL, 0);
1088wxStaticText* itemStaticText19 =
newwxStaticText( itemWizardPageSimple15, wxID_STATIC,
_(
"E-Mail address (optional)"), wxDefaultPosition, wxDefaultSize, 0 );
1089itemBoxSizer18->Add(itemStaticText19, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
1091 m_EMailCtrl=
newwxTextCtrl( itemWizardPageSimple15,
ID_EMAILCTRL, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1092itemBoxSizer18->Add(
m_EMailCtrl, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);
1098wxStaticText* itemStaticText22 =
newwxStaticText( itemWizardPageSimple15, wxID_STATIC,
_(
"Problem description:"), wxDefaultPosition, wxDefaultSize, 0 );
1099itemBoxSizer16->Add(itemStaticText22, 0, wxALIGN_LEFT|wxALL, 5);
1101wxTextCtrl* itemTextCtrl23 =
newwxTextCtrl( itemWizardPageSimple15,
ID_DESCRCTRL, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
1102itemBoxSizer16->Add(itemTextCtrl23, 1, wxGROW|wxALL, 5);
1104wxCheckBox* itemCheckBox24 =
newwxCheckBox( itemWizardPageSimple15,
ID_CHECK_SENDLOG,
_(
"Send the Genome Workbench application log with this report (recommended)"), wxDefaultPosition, wxDefaultSize, 0 );
1105itemCheckBox24->SetValue(
false);
1106itemBoxSizer16->Add(itemCheckBox24, 0, wxALIGN_LEFT|wxALL, 5);
1108 m_SubChbx=
newwxCheckBox( itemWizardPageSimple15,
ID_CHECK_SUBSCRIBE,
_(
"Subscribe to Genome Workbench announce mailing list"), wxDefaultPosition, wxDefaultSize, 0 );
1110itemBoxSizer16->Add(
m_SubChbx, 0, wxALIGN_LEFT|wxALL, 5);
1114itemTextCtrl23->SetValidator( wxTextValidator(wxFILTER_NONE, &
m_ProblemDescr) );
1115itemCheckBox24->SetValidator( wxGenericValidator(&
m_IncludeLog) );
1133 if(event.GetDirection()) {
1146 if(event.IsChecked()) {
1176 returnwxNullBitmap;
1198IMPLEMENT_DYNAMIC_CLASS(
WizardPage3, wxWizardPageSimple )
1205BEGIN_EVENT_TABLE(
WizardPage3, wxWizardPageSimple )
1238wxBitmap wizardBitmap(wxNullBitmap);
1239wxWizardPageSimple::Create( parent,
NULL,
NULL, wizardBitmap );
1243GetSizer()->Fit(
this);
1275:
CGLCanvas(parent, id, wxDefaultPosition, wxSize(4,4))
1291wxBoxSizer* itemBoxSizer27 =
newwxBoxSizer(wxVERTICAL);
1292itemWizardPageSimple26->SetSizer(itemBoxSizer27);
1294wxStaticText* itemStaticText28 =
newwxStaticText( itemWizardPageSimple26, wxID_STATIC,
_(
" Step 3: System Information"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT|wxSUNKEN_BORDER );
1295itemStaticText28->SetBackgroundColour(wxColour(128, 128, 128));
1296itemStaticText28->SetFont(wxFont(14, wxNORMAL_FONT->GetFamily(), wxNORMAL_FONT->GetStyle(), wxNORMAL_FONT->GetWeight(), wxNORMAL_FONT->GetUnderlined(), wxNORMAL_FONT->GetFaceName()));
1297itemBoxSizer27->Add(itemStaticText28, 0, wxGROW|wxALL, 5);
1299wxCheckBox* itemCheckBox29 =
newwxCheckBox( itemWizardPageSimple26,
ID_CHECKBOX3,
_(
"Include the following information about my computer"), wxDefaultPosition, wxDefaultSize, 0 );
1300itemCheckBox29->SetValue(
false);
1301itemBoxSizer27->Add(itemCheckBox29, 0, wxALIGN_LEFT|wxALL, 5);
1303wxTextCtrl* itemTextCtrl30 =
newwxTextCtrl( itemWizardPageSimple26,
ID_TEXTCTRL4, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL );
1304itemTextCtrl30->SetFont(wxFont(wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_MODERN, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL,
false,
wxT(
"")));
1305itemBoxSizer27->Add(itemTextCtrl30, 1, wxGROW|wxALL, 5);
1309itemTextCtrl30->SetValidator( wxTextValidator(wxFILTER_NONE, &
m_SysInfo) );
1315 if(
m_SysInfo.empty() && event.IsShown()) {
1322glWindow->Destroy();
1323TransferDataToWindow();
1346 returnwxNullBitmap;
1368IMPLEMENT_DYNAMIC_CLASS(
WizardPage4, wxWizardPageSimple )
1375BEGIN_EVENT_TABLE(
WizardPage4, wxWizardPageSimple )
1408wxBitmap wizardBitmap(wxNullBitmap);
1409wxWizardPageSimple::Create( parent,
NULL,
NULL, wizardBitmap );
1413GetSizer()->Fit(
this);
1450wxBoxSizer* itemBoxSizer32 =
newwxBoxSizer(wxVERTICAL);
1451itemWizardPageSimple31->SetSizer(itemBoxSizer32);
1453wxStaticText* itemStaticText33 =
newwxStaticText( itemWizardPageSimple31, wxID_STATIC,
_(
"Step 4: Review and Submit"), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT|wxSUNKEN_BORDER );
1454itemStaticText33->SetBackgroundColour(wxColour(128, 128, 128));
1455itemStaticText33->SetFont(wxFont(14, wxNORMAL_FONT->GetFamily(), wxNORMAL_FONT->GetStyle(), wxNORMAL_FONT->GetWeight(), wxNORMAL_FONT->GetUnderlined(), wxNORMAL_FONT->GetFaceName()));
1456itemBoxSizer32->Add(itemStaticText33, 0, wxGROW|wxALL, 5);
1458wxStaticText* itemStaticText34 =
newwxStaticText( itemWizardPageSimple31, wxID_STATIC,
_(
"Thank you for completing the feedback process!"), wxDefaultPosition, wxDefaultSize, 0 );
1459itemBoxSizer32->Add(itemStaticText34, 0, wxALIGN_LEFT|wxALL, 5);
1461wxStaticText* itemStaticText35 =
newwxStaticText( itemWizardPageSimple31, wxID_STATIC,
_(
"Clicking 'Finish' will send the following information to the Genome Workbench team:"), wxDefaultPosition, wxDefaultSize, 0 );
1462itemBoxSizer32->Add(itemStaticText35, 0, wxALIGN_LEFT|wxALL, 5);
1464wxTextCtrl* itemTextCtrl36 =
newwxTextCtrl( itemWizardPageSimple31,
ID_TEXTCTRL5, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL );
1465itemTextCtrl36->SetFont(wxFont(wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_MODERN, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL,
false,
wxT(
"")));
1466itemBoxSizer32->Add(itemTextCtrl36, 1, wxGROW|wxALL, 5);
1477wxTextCtrl* textCtrl = (wxTextCtrl*)FindWindow(
ID_TEXTCTRL5);
1479textCtrl->SetValue(wxString::FromUTF8(
str.c_str()));
1500 returnwxNullBitmap;
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX, CAdjustFeaturesForGaps::OnKnownUnknownSelected) EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX1
static void DumpSystemInfo(CNcbiOstream &ostr)
Dump a text formatted report of the current system configuration.
class CFeedbackReport serves as a data model for all pages and coordinates the submission of a report
void SetDescr(const string &str)
void SetEmailAddr(const string &str)
void Format(CNcbiOstream &ostr) const
void SetSubscribe(bool b)
void SetSysInfo(const string &str)
void SetIncludeLog(bool b)
void CreateControls()
Creates the controls and sizers.
static bool ShowToolTips()
Should we show tooltips?
bool Run()
Runs the wizard.
bool Create(wxWindow *parent, wxWindowID id=ID_CFEEDBACKWIZARD, const wxPoint &pos=wxDefaultPosition)
Creation.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
~CFeedbackWizard()
Destructor.
CFeedbackReport GetReport() const
CFeedbackWizard()
Constructors.
void SetProblemDescription(const char *description)
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void Init()
Initialises member variables.
CGlInfoWindow(wxWindow *parent, wxWindowID id)
static CGuiRegistry & GetInstance()
access the application-wide singleton
void Set(const string &key, int val)
set specific values
string GetString(const string &key, const string &default_val=kEmptyStr) const
bool GetBool(const string &key, bool default_val=false) const
CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage:
Note about the "buf_size" parameter for streams in this API.
AutoPtr< ILineReader > m_LineReader
CReaderOfLines(ILineReader &line_reader, EOwnership ownership=eNoOwnership)
virtual ERW_Result Read(void *buf, size_t count, size_t *bytes_read=0)
Read as many as "count" bytes into a buffer pointed to by the "buf" argument.
virtual ~CReaderOfLines()
virtual ERW_Result PendingCount(size_t *count)
Via parameter "count" (which is guaranteed to be supplied non-NULL) return the number of bytes that a...
void SetName(const string &name)
Simple implementation of ILineReader for i(o)streams.
static wxString ResolvePath(const wxString &path, const wxString &rel_name)
Utility function to hide the platform specifics of locating our standard directories and files.
static wxString ResolvePathExisting(const wxString &path, const wxString &delim=wxT(","))
Utility function to hide the platform specifics of locating our standard directories.
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
CTranslatingLineReader(CNcbiIstream &is, EOwnership ownership=eNoOwnership)
virtual void x_TranslateLine()
This fills m_TranslatedLine.
~CTranslatingLineReader()
CStreamLineReader & operator++(void)
Make a line available.
CTempString operator*(void) const
Return the current line, minus its terminator.
Abstract base class for lightweight line-by-line reading.
A very basic data-read interface.
wxCheckBox * m_AcceptPolicy
void Init()
Initialises member variables.
void OnAcknowledgePolicy(wxCommandEvent &event)
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ACKNOWLEDGE
void OnWizardpagePolicyChanging(wxWizardEvent &event)
wxEVT_WIZARD_PAGE_CHANGING event handler for ID_WIZARDPAGE2
void CreateControls()
Creates the controls and sizers.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
static bool ShowToolTips()
Should we show tooltips?
~WizardPage1()
Destructor.
bool Create(wxWizard *parent)
Creation.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
WizardPage1()
Constructors.
wxString GetEMail() const
void OnProblemPageChanging(wxWizardEvent &event)
wxEVT_WIZARD_PAGE_CHANGING event handler for ID_WIZARDPAGE3
bool GetSendAnonymously() const
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void OnEmailCtrlTextUpdated(wxCommandEvent &event)
wxEVT_COMMAND_TEXT_UPDATED event handler for ID_EMAILCTRL
bool Create(wxWizard *parent)
Creation.
bool GetIncludeLog() const
wxCheckBox * m_SendAnonymouslyCtrl
static bool ShowToolTips()
Should we show tooltips?
~WizardPage2()
Destructor.
void CreateControls()
Creates the controls and sizers.
void Init()
Initialises member variables.
void OnSendAnonymously(wxCommandEvent &event)
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX
wxString GetProblemDescr() const
WizardPage2()
Constructors.
void SetProblemDescr(wxString value)
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
bool GetSubscribe() const
void CreateControls()
Creates the controls and sizers.
static bool ShowToolTips()
Should we show tooltips?
WizardPage3()
Constructors.
wxString GetSysInfo() const
bool GetIncludeSysInfo() const
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
~WizardPage3()
Destructor.
void Init()
Initialises member variables.
bool Create(wxWizard *parent)
Creation.
void OnShow(wxShowEvent &event)
bool Create(wxWizard *parent)
Creation.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void Init()
Initialises member variables.
void OnWizardpageSubmitChanged(wxWizardEvent &event)
wxEVT_WIZARD_PAGE_CHANGED event handler for ID_WIZARDPAGE5
static bool ShowToolTips()
Should we show tooltips?
void CreateControls()
Creates the controls and sizers.
~WizardPage4()
Destructor.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
WizardPage4()
Constructors.
static bool ShowToolTips()
Should we show tooltips?
bool Create(wxWizard *parent)
Creation.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
void CreateControls()
Creates the controls and sizers.
void Init()
Initialises member variables.
void OnOptOutClick(wxCommandEvent &event)
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX4
~WizardPage()
Destructor.
WizardPage()
Constructors.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char * kEMailRegEx
static CRef< CGBenchFeedbackRequest > s_CreateFeedbackRequest(const string &msg, const string &email_addr, const CGBenchVersionInfo &version, vector< wxString > &attach_names, wxString &app_log, string &sys_config, bool subscribe)
static const char * kEMailExample
void ShowFeedbackDialog(bool opt_out, const char *problem_description)
single callable function that will show the feedback wizard, collect information, and file a report.
void ShowFeedbackURL()
Open the feedback URL, using the default browser.
#define SYMBOL_CFEEDBACKWIZARD_IDNAME
static const char * str(char *buf, int n)
User-defined methods of the data storage class.
void GetGBenchVersionInfo(size_t &ver_major, size_t &ver_minor, size_t &ver_patch_level, CTime &build_date)
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
@ eTakeOwnership
An object can take ownership of another.
@ eNoOwnership
No ownership is assumed.
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
void Error(CExceptionArgs_Base &args)
const string & GetMsg(void) const
Get message string.
virtual const char * what(void) const noexcept
Standard report (includes full backlog).
void Info(CExceptionArgs_Base &args)
CStreamLineReader & operator++(void)
Make a line available.
CTempString operator*(void) const
Return the current line, minus its terminator.
virtual bool AtEOF(void) const =0
Indicates (negatively) whether there is any more input.
NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)
uint64_t Uint8
8-byte (64-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
ERW_Result
Result codes for I/O operations.
CNcbiIstream & NcbiGetlineEOL(CNcbiIstream &is, string &str, string::size_type *count=NULL)
Read from "is" to "str" the next line (taking into account platform specifics of End-of-Line)
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
IO_PREFIX::ifstream CNcbiIfstream
Portable alias for ifstream.
@ eRW_Eof
End of data, should be considered permanent.
@ eRW_Success
Everything is okay, I/O completed.
static string TruncateSpaces(const string &str, ETrunc where=eTrunc_Both)
Truncate whitespace in a string.
string AsString(const CTimeFormat &format=kEmptyStr, TSeconds out_tz=eCurrentTimeZone) const
Transform time to string.
@ eCurrent
Use current time. See also CCurrentTime.
enum ENcbiOwnership EOwnership
Ownership relations between objects.
list< CRef< CGBenchFeedbackAttachment > > TAttachments
virtual void AskFeedback(const CGBenchFeedbackRequest &req, TReply *reply=0)
Lightweight interface for getting lines of data with minimal memory copying.
const string version
version string
Defines: CTimeFormat - storage class for time format.
Reader-writer based streams.
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
static void SetTitle(CRef< CSeq_entry > entry, string title)
wxString ToWxString(const string &s)
string ToStdString(const wxString &s)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4