Wtx ~ Wt Extension Library
WtxLib
BaseView.cpp
1 
2 #include <Wt/WStandardItemModel.h>
3 
4 #include "Widget.h"
5 #include "BaseView.h"
6 
7 Wtx::Web::Calendar::BaseView::BaseView( int firstDayOfWeek, Wtx::Web::Calendar::Widget * widget )
8 : m_firstDayOfWeek( firstDayOfWeek ),
9  m_widget( widget )
10 {
11 }
12 
13 void Wtx::Web::Calendar::BaseView::setSelectionMode( Wt::SelectionMode mode )
14 {
15 }
16 
17 void Wtx::Web::Calendar::BaseView::browseToPreviousYear()
18 {
19 }
20 
21 void Wtx::Web::Calendar::BaseView::browseToPreviousMonth()
22 {
23 }
24 
25 void Wtx::Web::Calendar::BaseView::browseToNextYear()
26 {
27 }
28 
29 void Wtx::Web::Calendar::BaseView::browseToNextMonth()
30 {
31 }
32 
33 void Wtx::Web::Calendar::BaseView::browseTo( const Wt::WDate & date )
34 {
35 }
36 
37 const Wt::WDate & Wtx::Web::Calendar::BaseView::selectedDate() const
38 {
39  return m_selectedDate;
40 }
41 
42 void Wtx::Web::Calendar::BaseView::setSelectedDate( const Wt::WDate & value )
43 {
44  m_selectedDate = value;
45 }
46 
47 int Wtx::Web::Calendar::BaseView::currentDay() const
48 {
49  return m_selectedDate.day();
50 }
51 
52 int Wtx::Web::Calendar::BaseView::currentMonth() const
53 {
54  return m_selectedDate.month();
55 }
56 
57 int Wtx::Web::Calendar::BaseView::currentYear() const
58 {
59  return m_selectedDate.year();
60 }
61 
62 void Wtx::Web::Calendar::BaseView::clearSelection()
63 {
64 }
65 
66 void Wtx::Web::Calendar::BaseView::select( const Wt::WDate & value )
67 {
68  m_selectedDate = value;
69 }
70 
71 void Wtx::Web::Calendar::BaseView::select( const std::set< Wt::WDate > & dates )
72 {
73 }
74 
75 void Wtx::Web::Calendar::BaseView:: setFirstDayOfWeek( int dayOfWeek )
76 {
77 }
78 
79 const std::set< Wt::WDate > & Wtx::Web::Calendar::BaseView::selection() const
80 {
81 }
82 
83 Wt::Signal<> & Wtx::Web::Calendar::BaseView::selectionChanged()
84 {
85 }
86 
87 Wt::Signal< Wt::WDate > & Wtx::Web::Calendar::BaseView::activated()
88 {
89 }
90 
91 Wt::Signal< Wt::WDate > & Wtx::Web::Calendar::BaseView::clicked()
92 {
93 }
94 
95 Wt::Signal< int, int > & Wtx::Web::Calendar::BaseView::currentPageChanged()
96 {
97 }
98 
99 void Wtx::Web::Calendar::BaseView::setSingleClickSelect( bool single )
100 {
101 }
102 
103 void Wtx::Web::Calendar::BaseView::setBottom( const Wt::WDate & bottom )
104 {
105 }
106 
107 const Wt::WDate & Wtx::Web::Calendar::BaseView::bottom() const
108 {
109 }
110 
111 void Wtx::Web::Calendar::BaseView::setTop( const Wt::WDate & top )
112 {
113 }
114 
115 const Wt::WDate & Wtx::Web::Calendar::BaseView::top() const
116 {
117 }
118 
119 Wtx::Web::Calendar::Widget * Wtx::Web::Calendar::BaseView::widget()
120 {
121  return m_widget;
122 }
123 
124 std::shared_ptr<Wt::WAbstractItemModel> Wtx::Web::Calendar::BaseView::getModel( const Wt::WDate & date, const std::vector<std::string> & fieldList )
125 {
126  return m_widget-> getModel( date, fieldList );
127 }
128 
129 
Calendar Widget.
Definition: Widget.h:66