mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-23 05:47:11 +01:00
updated table
This commit is contained in:
@@ -2,6 +2,8 @@ Microsoft Visual Studio Solution File, Format Version 10.00
|
|||||||
# Visual Studio 2008
|
# Visual Studio 2008
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Server_VS90", "Server\Server_vs90.vcproj", "{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Server_VS90", "Server\Server_vs90.vcproj", "{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Picross_VS90", "Picross\Picross_VS90.vcproj", "{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
debug_shared|Win32 = debug_shared|Win32
|
debug_shared|Win32 = debug_shared|Win32
|
||||||
@@ -18,6 +20,14 @@ Global
|
|||||||
{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}.release_shared|Win32.Build.0 = release_shared|Win32
|
{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}.release_shared|Win32.Build.0 = release_shared|Win32
|
||||||
{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}.release_static|Win32.ActiveCfg = release_static|Win32
|
{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}.release_static|Win32.ActiveCfg = release_static|Win32
|
||||||
{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}.release_static|Win32.Build.0 = release_static|Win32
|
{B0FFA5DF-1420-460F-8E87-E4DEBE801A05}.release_static|Win32.Build.0 = release_static|Win32
|
||||||
|
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.debug_shared|Win32.ActiveCfg = debug_shared|Win32
|
||||||
|
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.debug_shared|Win32.Build.0 = debug_shared|Win32
|
||||||
|
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.debug_static|Win32.ActiveCfg = debug_shared|Win32
|
||||||
|
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.debug_static|Win32.Build.0 = debug_shared|Win32
|
||||||
|
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.release_shared|Win32.ActiveCfg = release_shared|Win32
|
||||||
|
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.release_shared|Win32.Build.0 = release_shared|Win32
|
||||||
|
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.release_static|Win32.ActiveCfg = release_shared|Win32
|
||||||
|
{0D0ED3CF-2841-412A-A9AC-F07F9E61341C}.release_static|Win32.Build.0 = release_shared|Win32
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
@@ -361,6 +361,10 @@ void TableRenderer::renderProperties(const Table* pTable, const RenderContext& c
|
|||||||
if ((*it) && (*it)->getCell())
|
if ((*it) && (*it)->getCell())
|
||||||
editable |= (*it)->isEditable();
|
editable |= (*it)->isEditable();
|
||||||
}
|
}
|
||||||
|
if (!pTable->showBorder())
|
||||||
|
ostr << ",border:false, bodyBorder:false";
|
||||||
|
if (pTable->hideHeaders())
|
||||||
|
ostr << ",hideHeaders:true";
|
||||||
ostr << ",listeners:{";
|
ostr << ",listeners:{";
|
||||||
bool written = false;
|
bool written = false;
|
||||||
if (editable)
|
if (editable)
|
||||||
@@ -572,8 +576,11 @@ void TableRenderer::renderColumn(const Table* pTable, const TableColumn& tc, int
|
|||||||
// {header: "Last updated", width: 135, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'}
|
// {header: "Last updated", width: 135, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'}
|
||||||
ostr << "{";
|
ostr << "{";
|
||||||
std::string hdr(Utility::safe(tc.getHeader()));
|
std::string hdr(Utility::safe(tc.getHeader()));
|
||||||
|
ostr << "dataIndex:'" << idx << "'";
|
||||||
ostr << "header:'" << hdr << "',dataIndex:'" << idx << "'";
|
if (!tc.resizable())
|
||||||
|
ostr << ",resizable:false";
|
||||||
|
if (!hdr.empty())
|
||||||
|
ostr << ",header:'" << hdr << "'";
|
||||||
|
|
||||||
if (tc.getWidth() > 0)
|
if (tc.getWidth() > 0)
|
||||||
ostr << ",width:" << tc.getWidth();
|
ostr << ",width:" << tc.getWidth();
|
||||||
|
|||||||
@@ -104,10 +104,6 @@ public:
|
|||||||
bool collapsed() const;
|
bool collapsed() const;
|
||||||
/// Returns how the Frame should be rendered initially
|
/// Returns how the Frame should be rendered initially
|
||||||
|
|
||||||
void showBorder(bool show);
|
|
||||||
|
|
||||||
bool showBorder() const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Frame(const std::type_info& type);
|
Frame(const std::type_info& type);
|
||||||
/// Creates an unnamed Frame.
|
/// Creates an unnamed Frame.
|
||||||
@@ -129,7 +125,6 @@ private:
|
|||||||
std::string _title;
|
std::string _title;
|
||||||
bool _collapsible;
|
bool _collapsible;
|
||||||
bool _collapsed;
|
bool _collapsed;
|
||||||
bool _showBorder;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -191,18 +186,6 @@ inline bool Frame::collapsed() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline void Frame::showBorder(bool show)
|
|
||||||
{
|
|
||||||
_showBorder = show;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
inline bool Frame::showBorder() const
|
|
||||||
{
|
|
||||||
return _showBorder;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
} } // namespace Poco::WebWidgets
|
} } // namespace Poco::WebWidgets
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -115,10 +115,6 @@ public:
|
|||||||
|
|
||||||
bool enabled() const;
|
bool enabled() const;
|
||||||
|
|
||||||
void showBorder(bool show);
|
|
||||||
|
|
||||||
bool showBorder() const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
~Panel();
|
~Panel();
|
||||||
/// Destroys the Panel.
|
/// Destroys the Panel.
|
||||||
@@ -130,7 +126,6 @@ private:
|
|||||||
bool _showCloseIcon;
|
bool _showCloseIcon;
|
||||||
bool _showHeader;
|
bool _showHeader;
|
||||||
bool _enabled;
|
bool _enabled;
|
||||||
bool _showBorder;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -216,18 +211,6 @@ inline bool Panel::enabled() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline void Panel::showBorder(bool show)
|
|
||||||
{
|
|
||||||
_showBorder = show;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
inline bool Panel::showBorder() const
|
|
||||||
{
|
|
||||||
return _showBorder;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
} } // namespace Poco::WebWidgets
|
} } // namespace Poco::WebWidgets
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -218,6 +218,11 @@ public:
|
|||||||
|
|
||||||
SortedTableModel::Ptr getSortedModel(std::size_t col, bool sortAscending) const;
|
SortedTableModel::Ptr getSortedModel(std::size_t col, bool sortAscending) const;
|
||||||
|
|
||||||
|
void hideHeaders(bool val);
|
||||||
|
// hides the top headers
|
||||||
|
|
||||||
|
bool hideHeaders() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Table(const std::string& name, const std::type_info& type, const TableColumns& tc, TableModel::Ptr pModel);
|
Table(const std::string& name, const std::type_info& type, const TableColumns& tc, TableModel::Ptr pModel);
|
||||||
/// Creates a Table and assigns it the given name.
|
/// Creates a Table and assigns it the given name.
|
||||||
@@ -238,6 +243,7 @@ private:
|
|||||||
SelectionModel _sm;
|
SelectionModel _sm;
|
||||||
bool _dragAndDrop;
|
bool _dragAndDrop;
|
||||||
bool _autoEdit;
|
bool _autoEdit;
|
||||||
|
bool _hideHeaders;
|
||||||
int _maxRowsPerPage;
|
int _maxRowsPerPage;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -338,6 +344,18 @@ inline bool Table::autoEdit() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline void Table::hideHeaders(bool val)
|
||||||
|
{
|
||||||
|
_hideHeaders = val;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline bool Table::hideHeaders() const
|
||||||
|
{
|
||||||
|
return _hideHeaders;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
} } // namespace Poco::WebWidgets
|
} } // namespace Poco::WebWidgets
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -109,6 +109,12 @@ public:
|
|||||||
bool isHidden() const;
|
bool isHidden() const;
|
||||||
/// Returns the hidden status of the TableColumn
|
/// Returns the hidden status of the TableColumn
|
||||||
|
|
||||||
|
void resizable(bool val);
|
||||||
|
/// Sets if th ecolumn is resizable
|
||||||
|
|
||||||
|
bool resizable() const;
|
||||||
|
/// Returns if the column is resizable
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual ~TableColumn();
|
virtual ~TableColumn();
|
||||||
/// Destroys the TableColumn.
|
/// Destroys the TableColumn.
|
||||||
@@ -117,6 +123,7 @@ private:
|
|||||||
Cell::Ptr _pCell;
|
Cell::Ptr _pCell;
|
||||||
bool _sortable;
|
bool _sortable;
|
||||||
bool _hidden;
|
bool _hidden;
|
||||||
|
bool _resizable;
|
||||||
std::string _header;
|
std::string _header;
|
||||||
std::string _customRenderer;
|
std::string _customRenderer;
|
||||||
};
|
};
|
||||||
@@ -217,6 +224,18 @@ inline bool TableColumn::isHidden() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline void TableColumn::resizable(bool val)
|
||||||
|
{
|
||||||
|
_resizable = val;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline bool TableColumn::resizable() const
|
||||||
|
{
|
||||||
|
return _resizable;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
} } // namespace Poco::WebWidgets
|
} } // namespace Poco::WebWidgets
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -172,6 +172,12 @@ public:
|
|||||||
bool hasClass() const;
|
bool hasClass() const;
|
||||||
/// Checks if a css value is set
|
/// Checks if a css value is set
|
||||||
|
|
||||||
|
void showBorder(bool show);
|
||||||
|
/// Show the border around the view
|
||||||
|
|
||||||
|
bool showBorder() const;
|
||||||
|
/// Returns if view border is shown
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
View(const std::string& name, const std::type_info& type);
|
View(const std::string& name, const std::type_info& type);
|
||||||
/// Creates a View and assigns it the given name.
|
/// Creates a View and assigns it the given name.
|
||||||
@@ -203,6 +209,7 @@ private:
|
|||||||
std::string _name;
|
std::string _name;
|
||||||
View* _pParent;
|
View* _pParent;
|
||||||
bool _visible;
|
bool _visible;
|
||||||
|
bool _showBorder;
|
||||||
Poco::UInt32 _width;
|
Poco::UInt32 _width;
|
||||||
Poco::UInt32 _height;
|
Poco::UInt32 _height;
|
||||||
Pos _pos;
|
Pos _pos;
|
||||||
@@ -325,6 +332,17 @@ inline bool View::hasClass() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline void View::showBorder(bool show)
|
||||||
|
{
|
||||||
|
_showBorder = show;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline bool View::showBorder() const
|
||||||
|
{
|
||||||
|
return _showBorder;
|
||||||
|
}
|
||||||
|
|
||||||
} } // namespace Poco::WebWidgets
|
} } // namespace Poco::WebWidgets
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -46,8 +46,7 @@ Frame::Frame():
|
|||||||
_pChild(),
|
_pChild(),
|
||||||
_title(),
|
_title(),
|
||||||
_collapsible(false),
|
_collapsible(false),
|
||||||
_collapsed(false),
|
_collapsed(false)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,8 +56,7 @@ Frame::Frame(const std::string& name):
|
|||||||
_pChild(),
|
_pChild(),
|
||||||
_title(),
|
_title(),
|
||||||
_collapsible(false),
|
_collapsible(false),
|
||||||
_collapsed(false),
|
_collapsed(false)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -68,8 +66,7 @@ Frame::Frame(const std::string& name, const std::string& title):
|
|||||||
_pChild(),
|
_pChild(),
|
||||||
_title(title),
|
_title(title),
|
||||||
_collapsible(false),
|
_collapsible(false),
|
||||||
_collapsed(false),
|
_collapsed(false)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -79,8 +76,7 @@ Frame::Frame(View::Ptr pChild):
|
|||||||
_pChild(),
|
_pChild(),
|
||||||
_title(),
|
_title(),
|
||||||
_collapsible(false),
|
_collapsible(false),
|
||||||
_collapsed(false),
|
_collapsed(false)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
setChild(pChild);
|
setChild(pChild);
|
||||||
}
|
}
|
||||||
@@ -91,8 +87,7 @@ Frame::Frame(const std::string& name, View::Ptr pChild):
|
|||||||
_pChild(),
|
_pChild(),
|
||||||
_title(),
|
_title(),
|
||||||
_collapsible(false),
|
_collapsible(false),
|
||||||
_collapsed(false),
|
_collapsed(false)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
setChild(pChild);
|
setChild(pChild);
|
||||||
}
|
}
|
||||||
@@ -103,8 +98,7 @@ Frame::Frame(const std::string& name, const std::string& title, View::Ptr pChild
|
|||||||
_pChild(),
|
_pChild(),
|
||||||
_title(title),
|
_title(title),
|
||||||
_collapsible(false),
|
_collapsible(false),
|
||||||
_collapsed(false),
|
_collapsed(false)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
setChild(pChild);
|
setChild(pChild);
|
||||||
}
|
}
|
||||||
@@ -115,8 +109,7 @@ Frame::Frame(const std::type_info& type):
|
|||||||
_pChild(),
|
_pChild(),
|
||||||
_title(),
|
_title(),
|
||||||
_collapsible(false),
|
_collapsible(false),
|
||||||
_collapsed(false),
|
_collapsed(false)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -126,8 +119,7 @@ Frame::Frame(const std::string& name, const std::type_info& type):
|
|||||||
_pChild(),
|
_pChild(),
|
||||||
_title(),
|
_title(),
|
||||||
_collapsible(false),
|
_collapsible(false),
|
||||||
_collapsed(false),
|
_collapsed(false)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -137,8 +129,7 @@ Frame::Frame(View::Ptr pChild, const std::type_info& type):
|
|||||||
_pChild(),
|
_pChild(),
|
||||||
_title(),
|
_title(),
|
||||||
_collapsible(false),
|
_collapsible(false),
|
||||||
_collapsed(false),
|
_collapsed(false)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
setChild(pChild);
|
setChild(pChild);
|
||||||
}
|
}
|
||||||
@@ -149,8 +140,7 @@ Frame::Frame(const std::string& name, View::Ptr pChild, const std::type_info& ty
|
|||||||
_pChild(),
|
_pChild(),
|
||||||
_title(),
|
_title(),
|
||||||
_collapsible(false),
|
_collapsible(false),
|
||||||
_collapsed(false),
|
_collapsed(false)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
setChild(pChild);
|
setChild(pChild);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,8 +48,7 @@ Panel::Panel():
|
|||||||
_modal(false),
|
_modal(false),
|
||||||
_showCloseIcon(true),
|
_showCloseIcon(true),
|
||||||
_showHeader(true),
|
_showHeader(true),
|
||||||
_enabled(true),
|
_enabled(true)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,8 +60,7 @@ Panel::Panel(const std::string& name):
|
|||||||
_modal(false),
|
_modal(false),
|
||||||
_showCloseIcon(true),
|
_showCloseIcon(true),
|
||||||
_showHeader(true),
|
_showHeader(true),
|
||||||
_enabled(true),
|
_enabled(true)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -74,8 +72,7 @@ Panel::Panel(const std::string& name, const std::string& title):
|
|||||||
_modal(false),
|
_modal(false),
|
||||||
_showCloseIcon(true),
|
_showCloseIcon(true),
|
||||||
_showHeader(true),
|
_showHeader(true),
|
||||||
_enabled(true),
|
_enabled(true)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -87,8 +84,7 @@ Panel::Panel(View::Ptr pChild):
|
|||||||
_modal(false),
|
_modal(false),
|
||||||
_showCloseIcon(true),
|
_showCloseIcon(true),
|
||||||
_showHeader(true),
|
_showHeader(true),
|
||||||
_enabled(true),
|
_enabled(true)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
setChild(pChild);
|
setChild(pChild);
|
||||||
}
|
}
|
||||||
@@ -101,8 +97,7 @@ Panel::Panel(const std::string& name, View::Ptr pChild):
|
|||||||
_modal(false),
|
_modal(false),
|
||||||
_showCloseIcon(true),
|
_showCloseIcon(true),
|
||||||
_showHeader(true),
|
_showHeader(true),
|
||||||
_enabled(true),
|
_enabled(true)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
setChild(pChild);
|
setChild(pChild);
|
||||||
}
|
}
|
||||||
@@ -115,8 +110,7 @@ Panel::Panel(const std::string& name, const std::string& title, View::Ptr pChild
|
|||||||
_modal(false),
|
_modal(false),
|
||||||
_showCloseIcon(true),
|
_showCloseIcon(true),
|
||||||
_showHeader(true),
|
_showHeader(true),
|
||||||
_enabled(true),
|
_enabled(true)
|
||||||
_showBorder(true)
|
|
||||||
{
|
{
|
||||||
setChild(pChild);
|
setChild(pChild);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ Table::Table(const TableColumns& tc, TableModel::Ptr pModel):
|
|||||||
_sm(SM_CELL),
|
_sm(SM_CELL),
|
||||||
_dragAndDrop(false),
|
_dragAndDrop(false),
|
||||||
_autoEdit(false),
|
_autoEdit(false),
|
||||||
|
_hideHeaders(false),
|
||||||
_maxRowsPerPage(0)
|
_maxRowsPerPage(0)
|
||||||
{
|
{
|
||||||
checkValidConfig();
|
checkValidConfig();
|
||||||
@@ -85,6 +86,8 @@ Table::Table(const std::string& name, const TableColumns& tc, TableModel::Ptr pM
|
|||||||
_columns(tc),
|
_columns(tc),
|
||||||
_sm(SM_CELL),
|
_sm(SM_CELL),
|
||||||
_dragAndDrop(false),
|
_dragAndDrop(false),
|
||||||
|
_autoEdit(false),
|
||||||
|
_hideHeaders(false),
|
||||||
_maxRowsPerPage(0)
|
_maxRowsPerPage(0)
|
||||||
{
|
{
|
||||||
checkValidConfig();
|
checkValidConfig();
|
||||||
@@ -97,6 +100,8 @@ Table::Table(const std::string& name, const std::type_info& type, const TableCol
|
|||||||
_columns(tc),
|
_columns(tc),
|
||||||
_sm(SM_CELL),
|
_sm(SM_CELL),
|
||||||
_dragAndDrop(false),
|
_dragAndDrop(false),
|
||||||
|
_autoEdit(false),
|
||||||
|
_hideHeaders(false),
|
||||||
_maxRowsPerPage(0)
|
_maxRowsPerPage(0)
|
||||||
{
|
{
|
||||||
checkValidConfig();
|
checkValidConfig();
|
||||||
@@ -109,6 +114,8 @@ Table::Table(const std::type_info& type, const TableColumns& tc, TableModel::Ptr
|
|||||||
_columns(tc),
|
_columns(tc),
|
||||||
_sm(SM_CELL),
|
_sm(SM_CELL),
|
||||||
_dragAndDrop(false),
|
_dragAndDrop(false),
|
||||||
|
_autoEdit(false),
|
||||||
|
_hideHeaders(false),
|
||||||
_maxRowsPerPage(0)
|
_maxRowsPerPage(0)
|
||||||
{
|
{
|
||||||
checkValidConfig();
|
checkValidConfig();
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ TableColumn::TableColumn(Cell::Ptr pCellFormat):
|
|||||||
_pCell(pCellFormat),
|
_pCell(pCellFormat),
|
||||||
_sortable(false),
|
_sortable(false),
|
||||||
_hidden(false),
|
_hidden(false),
|
||||||
|
_resizable(true),
|
||||||
_header()
|
_header()
|
||||||
{
|
{
|
||||||
if (_pCell)
|
if (_pCell)
|
||||||
@@ -58,6 +59,7 @@ TableColumn::TableColumn(Cell::Ptr pCellFormat, const std::string& name, int wid
|
|||||||
_pCell(pCellFormat),
|
_pCell(pCellFormat),
|
||||||
_sortable(sortable),
|
_sortable(sortable),
|
||||||
_hidden(false),
|
_hidden(false),
|
||||||
|
_resizable(true),
|
||||||
_header(name)
|
_header(name)
|
||||||
{
|
{
|
||||||
setWidth(width);
|
setWidth(width);
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ View::View(const std::string& name, const std::type_info& type):
|
|||||||
_name(name),
|
_name(name),
|
||||||
_pParent(0),
|
_pParent(0),
|
||||||
_visible(true),
|
_visible(true),
|
||||||
|
_showBorder(true),
|
||||||
_width(0),
|
_width(0),
|
||||||
_height(0)
|
_height(0)
|
||||||
{
|
{
|
||||||
@@ -57,6 +58,7 @@ View::View(const std::type_info& type):
|
|||||||
_name(),
|
_name(),
|
||||||
_pParent(0),
|
_pParent(0),
|
||||||
_visible(true),
|
_visible(true),
|
||||||
|
_showBorder(true),
|
||||||
_width(0),
|
_width(0),
|
||||||
_height(0)
|
_height(0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user