1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
// This file is part of fityk program. Copyright 2001-2013 Marcin Wojdyr
// Licence: GNU General Public License ver. 2+
/// DataTableDlg: Data > Table dialog
#ifndef FITYK_WX_DATATABLE_H_
#define FITYK_WX_DATATABLE_H_
#include <wx/dialog.h>
namespace fityk { class Data; }
class GridTable;
class wxGrid;
class wxGridEvent;
class wxCheckBox;
class DataTableDlg : public wxDialog
{
friend class GridTable;
public:
DataTableDlg(wxWindow* parent, wxWindowID id, int data_nr,
fityk::Data* data);
private:
GridTable *grid_table;
wxGrid* grid;
wxCheckBox *cb;
void OnApply(wxCommandEvent& event);
void OnUpdateCheckBox(wxCommandEvent& event);
void OnCellChanged(wxGridEvent& event);
void OnCellRightClick(wxGridEvent& event);
void OnCopy(wxCommandEvent&) { Copy(); }
void Copy();
void OnKeyDown(wxKeyEvent& event);
};
#endif // FITYK_WX_DATATABLE_H_
|