File: datatable.h

package info (click to toggle)
fityk 1.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,772 kB
  • sloc: cpp: 34,595; ansic: 4,676; python: 963; makefile: 384; sh: 119; xml: 91; java: 31; ruby: 27; perl: 25
file content (36 lines) | stat: -rw-r--r-- 914 bytes parent folder | download | duplicates (5)
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_