mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-14 06:55:49 +02:00
added readonly flag
This commit is contained in:
@@ -71,6 +71,8 @@ void ToggleButtonCellRenderer::renderProperties(const ToggleButtonCell* pToggleB
|
|||||||
if (!pToggleButtonCell->getLabel().empty())
|
if (!pToggleButtonCell->getLabel().empty())
|
||||||
ostr << "boxLabel:'" << Utility::safe(pToggleButtonCell->getLabel()) << "',";
|
ostr << "boxLabel:'" << Utility::safe(pToggleButtonCell->getLabel()) << "',";
|
||||||
ostr << "checked:" << (pToggleButtonCell->isChecked()?"true":"false") << ",";
|
ostr << "checked:" << (pToggleButtonCell->isChecked()?"true":"false") << ",";
|
||||||
|
if (!pToggleButtonCell->isEditable())
|
||||||
|
ostr << "readOnly:true,";
|
||||||
|
|
||||||
Utility::writeCellProperties(pToggleButtonCell, ostr);
|
Utility::writeCellProperties(pToggleButtonCell, ostr);
|
||||||
//tooltip is not supported by togglebutton
|
//tooltip is not supported by togglebutton
|
||||||
|
Reference in New Issue
Block a user