Use new emacs indentation rules (4 spaces instead of tabs and braces position)~
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
/*
|
||||
Copyright 2010 Grégory Soutadé
|
||||
Copyright 2010 Grégory Soutadé
|
||||
|
||||
This file is part of KissCount.
|
||||
This file is part of KissCount.
|
||||
|
||||
KissCount is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
KissCount is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
KissCount is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
KissCount is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KissCount. If not, see <http://www.gnu.org/licenses/>.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KissCount. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef STATSPANEL_H
|
||||
@@ -43,34 +43,34 @@ class KissCount;
|
||||
|
||||
class StatsPanel: public wxPanel //public wxScrolledWindow
|
||||
{
|
||||
public:
|
||||
StatsPanel(KissCount* kiss, wxUI *parent);
|
||||
//~StatsPanel();
|
||||
public:
|
||||
StatsPanel(KissCount* kiss, wxUI *parent);
|
||||
//~StatsPanel();
|
||||
|
||||
void OnShow(wxShowEvent& event);
|
||||
void OnShow(wxShowEvent& event);
|
||||
|
||||
private:
|
||||
KissCount* _kiss;
|
||||
wxUI* _wxUI;
|
||||
wxCalendarCtrl* _calendarFrom, *_calendarTo;
|
||||
wxChoice* _monthFrom, *_yearFrom, *_monthTo, *_yearTo;
|
||||
wxGrid *_statsGrid;
|
||||
PiePlot* _pie;
|
||||
double *_categoriesValues;
|
||||
CategorySimpleDataset* _dataset;
|
||||
XYPlot *_plot ;
|
||||
wxString* _categories;
|
||||
std::map<wxString, int> _categoriesIndexes;
|
||||
wxBoxSizer *_hbox2, *_vbox2;
|
||||
wxChartPanel* _chart;
|
||||
wxCheckListBox* _account;
|
||||
private:
|
||||
KissCount* _kiss;
|
||||
wxUI* _wxUI;
|
||||
wxCalendarCtrl* _calendarFrom, *_calendarTo;
|
||||
wxChoice* _monthFrom, *_yearFrom, *_monthTo, *_yearTo;
|
||||
wxGrid *_statsGrid;
|
||||
PiePlot* _pie;
|
||||
double *_categoriesValues;
|
||||
CategorySimpleDataset* _dataset;
|
||||
XYPlot *_plot ;
|
||||
wxString* _categories;
|
||||
std::map<wxString, int> _categoriesIndexes;
|
||||
wxBoxSizer *_hbox2, *_vbox2;
|
||||
wxChartPanel* _chart;
|
||||
wxCheckListBox* _account;
|
||||
|
||||
void UpdateStats(int monthFrom, int yearFrom, int monthTo, int yearTo);
|
||||
void UpdateStats(int monthFrom, int yearFrom, int monthTo, int yearTo);
|
||||
|
||||
void OnRangeChange(wxCommandEvent& event);
|
||||
void OnAccountsChange(wxCommandEvent& event);
|
||||
void OnRangeChange(wxCommandEvent& event);
|
||||
void OnAccountsChange(wxCommandEvent& event);
|
||||
|
||||
DECLARE_EVENT_TABLE();
|
||||
DECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user