WIP. Switching to the WTemplateFormView/WFormModel for settings

This commit is contained in:
emeric
2014-07-23 12:58:57 +02:00
parent 3a5126f339
commit d4c0806f7a
20 changed files with 1533 additions and 1573 deletions
+34
View File
@@ -0,0 +1,34 @@
#ifndef UI_SETTINGS_DB_FORM_VIEW_HPP
#define UI_SETTINGS_DB_FORM_VIEW_HPP
#include <Wt/WContainerWidget>
#include <Wt/WTemplateFormView>
#include <Wt/WText>
#include "common/SessionData.hpp"
namespace UserInterface {
namespace Settings {
class DatabaseFormModel;
class DatabaseFormView : public Wt::WTemplateFormView
{
public:
DatabaseFormView(SessionData& sessionData, Wt::WContainerWidget *parent = 0);
private:
void processSave();
void processDiscard();
Wt::WText *applyInfo;
DatabaseFormModel *model;
};
} // namespace Settings
} // namespace UserInterface
#endif