ToolMap
Loading...
Searching...
No Matches
logwindow_dlg.h
Go to the documentation of this file.
1/***************************************************************************
2 logwindow_dlg.h
3 Display the log windows
4 -------------------
5 copyright : (C) 2007 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17/***************************************************************************/
24#ifndef LOGWINDOW_DLG_H
25#define LOGWINDOW_DLG_H
26
27// For compilers that support precompilation, includes "wx/wx.h".
28#include <wx/wxprec.h>
29
30// Include wxWidgets' headers
31#ifndef WX_PRECOMP
32#include <wx/wx.h>
33#endif
34
35#define ID_DLGLOG 10157
36#define ID_DLGLOG_TXT 10158
37#define SYMBOL_IMPORTLOG_STYLE wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU | wxCLOSE_BOX | wxFRAME_FLOAT_ON_PARENT
38#define SYMBOL_IMPORTLOG_TITLE _("Log window")
39#define SYMBOL_IMPORTLOG_IDNAME ID_DLGLOG
40#define SYMBOL_IMPORTLOG_SIZE wxDefaultSize
41#define SYMBOL_IMPORTLOG_POSITION wxDefaultPosition
42
43/***************************************************************************/
49class ImportLogDLG : public wxDialog {
50 private:
51 void OnCloseLogWindow(wxCommandEvent& event);
52
53 DECLARE_DYNAMIC_CLASS(ImportLog);
54 DECLARE_EVENT_TABLE();
55
56 public:
59
61 ImportLogDLG(wxWindow* parent, wxWindowID id = SYMBOL_IMPORTLOG_IDNAME,
62 const wxString& caption = SYMBOL_IMPORTLOG_TITLE, const wxPoint& pos = SYMBOL_IMPORTLOG_POSITION,
63 const wxSize& size = SYMBOL_IMPORTLOG_SIZE, long style = SYMBOL_IMPORTLOG_STYLE);
64
66 bool Create(wxWindow* parent, wxWindowID id = SYMBOL_IMPORTLOG_IDNAME,
67 const wxString& caption = SYMBOL_IMPORTLOG_TITLE, const wxPoint& pos = SYMBOL_IMPORTLOG_POSITION,
68 const wxSize& size = SYMBOL_IMPORTLOG_SIZE, long style = SYMBOL_IMPORTLOG_STYLE);
69
72
74 void Init();
75
77 void CreateControls();
78};
79
80#endif
Definition of the Log window dialog.
Definition logwindow_dlg.h:49
~ImportLogDLG()
Destructor.
Definition logwindow_dlg.cpp:62
void Init()
Initialises member variables.
Definition logwindow_dlg.cpp:67
ImportLogDLG()
Default Constructors.
Definition logwindow_dlg.cpp:32
bool Create(wxWindow *parent, wxWindowID id=SYMBOL_IMPORTLOG_IDNAME, const wxString &caption=SYMBOL_IMPORTLOG_TITLE, const wxPoint &pos=SYMBOL_IMPORTLOG_POSITION, const wxSize &size=SYMBOL_IMPORTLOG_SIZE, long style=SYMBOL_IMPORTLOG_STYLE)
Window creation.
Definition logwindow_dlg.cpp:45
void CreateControls()
Creates the controls and sizers.
Definition logwindow_dlg.cpp:72