21 #include <odinqt/ldrwidget.h>
22 #include <odinqt/ldrblockwidget.h>
24 #include <odinpara/ldrarrays.h>
28 #include "odindebugger.h"
29 #include "odinmethod.h"
33 #define ODIN_MINWIDTH 600
34 #define MESSAGES_HEIGHT 200
36 #define IMAGEVIEWER "miview"
40 class ProgressDisplayDialog;
51 OdinView(QWidget *parent);
54 void initOdinView(
GuiToolBar* action_toolbar,
bool has_debug_cmdline);
67 bool plot() {
return create_seqplot();}
105 void recalc_method();
109 int load_prefs(
bool ignore_debugLevels);
110 int react_on_changed_prefs();
122 void newCaption(
const char* text);
123 void newStatus(
bool,
const char* text);
128 void bruker_scan(
bool autorg);
132 bool prepare_method();
133 bool prepare_acquisition();
135 bool do_odinreco(
const STD_string& outprefix);
137 void update_methodsel();
139 bool switch_to_platform(
odinPlatform pF,
bool ask=
true);
141 STD_string get_samplefile();
143 bool create_seqplot(
bool for_simulation=
false);
147 void report(
bool status,
const STD_string& trans_label,
const STD_string& message);
148 void create_widgets();
149 void delete_widgets();
151 static void odintracefunction(
const LogMessage& msg);
171 ProgressDisplayDialog* progress;
181 NewMethDialog* mewmethwizzard;
182 bool newmethlabel_modified;
184 STD_list<Process> subprocs;
186 OdinDebugger debugger;
187 void change_debugger();