Move directories, fix a bug into month generation (tree), add tooltips
This commit is contained in:
46
src/view/PreferencesPanel.h
Normal file
46
src/view/PreferencesPanel.h
Normal file
@@ -0,0 +1,46 @@
|
||||
#ifndef PREFERENCESPANEL_H
|
||||
#define PREFERENCESPANEL_H
|
||||
|
||||
#include <wx/wx.h>
|
||||
#include <wx/grid.h>
|
||||
#include <wx/treectrl.h>
|
||||
#include <wx/statbox.h>
|
||||
#include <wx/gbsizer.h>
|
||||
#include <wx/stattext.h>
|
||||
#include <wx/textctrl.h>
|
||||
|
||||
#include <controller/KissCount.h>
|
||||
#include "wxUI.h"
|
||||
#include <model/model.h>
|
||||
#include "PasswordDialog.h"
|
||||
|
||||
class wxUI;
|
||||
class KissCount;
|
||||
|
||||
class PreferencesPanel: public wxPanel
|
||||
{
|
||||
public:
|
||||
PreferencesPanel(KissCount* kiss, wxUI *parent);
|
||||
void ChangeUser();
|
||||
|
||||
void OnAccountModified(wxGridEvent& event);
|
||||
void OnCategoryModified(wxGridEvent& event);
|
||||
void OnChangeName(wxCommandEvent& event);
|
||||
void OnChangePassword(wxCommandEvent& event);
|
||||
void OnShow(wxShowEvent& event);
|
||||
void OnKillMe(wxCommandEvent& event);
|
||||
|
||||
private:
|
||||
KissCount* _kiss;
|
||||
wxUI* _wxUI;
|
||||
wxGrid* _accountsGrid;
|
||||
wxGrid* _categoriesGrid;
|
||||
wxTextCtrl* _name;
|
||||
|
||||
void InitAccounts(User* user);
|
||||
void InitCategories(User* user);
|
||||
|
||||
DECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user