-
Notifications
You must be signed in to change notification settings - Fork 388
Expand file tree
/
Copy pathWBreak.h
More file actions
38 lines (32 loc) · 865 Bytes
/
WBreak.h
File metadata and controls
38 lines (32 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2008 Emweb bv, Herent, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef WBREAK_H_
#define WBREAK_H_
#include <Wt/WWebWidget.h>
namespace Wt {
/*! \class WBreak Wt/WBreak.h Wt/WBreak.h
* \brief A widget that provides a line break between inline widgets.
*
* This is an \link WWidget::setInline(bool) inline \endlink widget
* that provides a line break inbetween its sibling widgets (such as WText).
*
* <h3>CSS</h3>
*
* The widget corresponds to the HTML <tt><br /></tt> tag and
* does not provide styling. Styling through CSS is not applicable.
*/
class WT_API WBreak : public WWebWidget
{
public:
/*! \brief Construct a line break.
*/
WBreak();
protected:
virtual DomElementType domElementType() const override;
};
}
#endif // WBREAK_H_