Skip to content

Commit ce5ce78

Browse files
author
Koen Deforche
committed
see Changelog
1 parent d8443d0 commit ce5ce78

File tree

27 files changed

+393
-221
lines changed

27 files changed

+393
-221
lines changed

Changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
03-03-2010:
2+
* WCalendar: add HorizontalHeaderFormat enum (long day name support),
3+
currentPageChanged signal, clicked signal, activated signal,
4+
SelectionMode enum (NoSelection mode support), renderCell() virtual
5+
method
6+
17
01-03-2010:
28
* WGridLayout, WBoxLayout: add support for user resizing ('splitter')
39
functionality

doc/doxygen.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ A.codeRef:visited { font-weight: normal; color: #0000FF}
8080
A:hover { text-decoration: none; background-color: #f2f2ff }
8181
DL.el { margin-left: -1cm }
8282
.fragment {
83-
font-family: monospace, fixed;
83+
font-family: monospace;
8484
font-size: 95%;
8585
}
8686
PRE.fragment {

examples/treeview/TreeViewExample.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ WStandardItem *TreeViewExample::continentItem(const std::string& continent)
140140
WStandardItem *TreeViewExample::countryItem(const std::string& country,
141141
const std::string& code)
142142
{
143-
WStandardItem *result = new WStandardItem(country);
143+
WStandardItem *result = new WStandardItem(WString::fromUTF8(country));
144144
result->setIcon("icons/flag_" + code + ".png");
145145

146146
return result;

examples/widgetgallery/FormWidgets.C

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,15 @@ WWidget *FormWidgets::wCalendar()
244244
WContainerWidget *result = new WContainerWidget();
245245

246246
topic("WCalendar", result);
247+
247248
new WText(tr("formwidgets-WCalendar"), result);
248-
WCalendar *c = new WCalendar(false, result);
249+
250+
WCalendar *c = new WCalendar(result);
249251
ed_->mapConnect(c->selectionChanged(), "First calendar selectionChanged");
250252
new WText("<p>A flag indicates if multiple dates can be selected...</p>",
251253
result);
252-
WCalendar *c2 = new WCalendar(false, result);
253-
c2->setMultipleSelection(true);
254+
WCalendar *c2 = new WCalendar(result);
255+
c2->setSelectionMode(ExtendedSelection);
254256
ed_->mapConnect(c2->selectionChanged(), "Second calendar selectionChanged");
255257

256258
return result;

resources/themes/default/wt.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030

3131
.Wt-cal table.d1 {
32-
width: 150px;
32+
width: 170px;
3333
}
3434

3535
.Wt-cal table.d1 td {
@@ -44,6 +44,14 @@
4444
width: 30px;
4545
}
4646

47+
.Wt-cal table.dlong {
48+
width: 560px;
49+
}
50+
51+
.Wt-cal table.dlong td {
52+
width: 80px;
53+
}
54+
4755
.Wt-cal caption {
4856
margin: 0;
4957
padding: 0;

resources/themes/polished/wt.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
}
7878

7979
.Wt-cal table.d1 {
80-
width: 150px;
80+
width: 155px;
8181
}
8282

8383
.Wt-cal table.d1 td {
@@ -92,6 +92,14 @@
9292
width: 30px;
9393
}
9494

95+
.Wt-cal table.dlong {
96+
width: 490px;
97+
}
98+
99+
.Wt-cal table.dlong td {
100+
width: 70px;
101+
}
102+
95103
.Wt-cal caption {
96104
margin: 0;
97105
padding: 0;

src/Wt/Ext/FormField

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ protected:
100100

101101
virtual WFormWidget *formWidget() const = 0;
102102

103-
virtual void render();
103+
virtual void render(WFlags<RenderFlag> flags);
104104

105105
private:
106106
MessageLocation errorMessageLocation_;

src/Wt/Ext/FormField.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ void FormField::setFocus()
8989
focusWhenRendered_ = true;
9090
}
9191

92-
void FormField::render()
92+
void FormField::render(WFlags<RenderFlag> flags)
9393
{
94-
Component::render();
94+
Component::render(flags);
9595

9696
if (focusWhenRendered_) {
9797
WApplication::instance()->doJavaScript(elVar() + ".focus(true);");

0 commit comments

Comments
 (0)