62 myThreadEvent.setTarget(
this);
73 headerFrame->setPadLeft(0);
74 headerFrame->setPadRight(0);
80 myText =
new FXText(textFrame, 0, 0, (TEXT_READONLY | LAYOUT_FILL_X | LAYOUT_FILL_Y));
83 myText->setStyled(
true);
95 new FXSeparator(contentFrame);
125 setTitle((tool->
getToolName() +
" output").c_str());
131 MFXDialogBox::show(PLACEMENT_SCREEN);
154 MFXDialogBox::update();
163 if (logFile.size() > 0) {
165 dev <<
myText->getText().text();
183 std::string line(
"-------------------------------------------\n");
184 myText->appendStyledText(line.c_str(), (
int)line.length(), 4, TRUE);
185 myText->appendStyledText(
"rerun tool\n", 1, TRUE);
241 myText->appendStyledText(ec->
getMsg().c_str(), (int)ec->
getMsg().length(), style, TRUE);
@ MID_GNE_OPENPYTHONTOOLDIALOG
call tool
@ MID_GNE_POSTPROCESSINGPYTHONTOOL
call tool for post processing
@ MID_GNE_BUTTON_RERUN
rerun button
@ MID_GNE_BUTTON_ABORT
abort button
@ MID_GNE_BUTTON_SAVE
save button
@ ID_LOADTHREAD_EVENT
The loading thread.
@ MID_GNE_BUTTON_BACK
back button
@ MID_GNE_BUTTON_ACCEPT
accept button
#define GUIDesignFrameThick
Thick frame extended over frame parent.
#define GUIDesignButtonIcon
button only with icon
#define GUIDesignButtonAccept
Accept Button.
#define GUIDesignAuxiliarHorizontalFrame
design for auxiliar (Without borders) horizontal frame used to pack another frames
#define GUIDesignLabelThick(justify)
label extended over frame with thick and with text justify to left
#define GUIDesignAuxiliarDialogBoxResizable
design for standard dialog box (for example, about dialog)
#define GUIDesignButtonReset
Reset Button.
#define GUIDesignAuxiliarFrame
design for auxiliar (Without borders) frame extended in all directions
#define GUIDesignHorizontalFrame
Horizontal frame extended over frame parent with padding and spacing.
@ MESSAGE_OCCURRED
send when a message occured
@ ERROR_OCCURRED
send when a error occured
@ OUTPUT_OCCURRED
send when a tool produces output
@ TOOL_ENDED
send when a tool finishes
The main window of Netedit.
static FXButton * buildFXButton(FXComposite *p, const std::string &text, const std::string &tip, const std::string &help, FXIcon *ic, FXObject *tgt, FXSelector sel, FXuint opts=BUTTON_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD)
build button
const std::string & getMsg() const
Returns the message.
GUIEventType getOwnType() const
returns the event type
static FXIcon * getIcon(const GUIIcon which)
returns a icon previously defined in the enum GUIIcon
static FXHiliteStyle * getStyles()
The text colors used.
dialog arguments (used for certain functions that opens modal dialogs)
Static storage of an output device and its base (abstract) implementation.
void close()
Closes the device and removes it from the dictionary.
static OutputDevice & getDevice(const std::string &name, bool usePrefix=true)
Returns the described OutputDevice.
static std::string saveToolLog(FXWindow *window)
open tool file dialog