Kaydet (Commit) 7af02324 authored tarafından Cao Cuong Ngo's avatar Cao Cuong Ngo Kaydeden (comit) Cédric Bosdonnat

CMIS properties dialog

Set ReadOnly depends on CMIS properties

Change-Id: I8aa29ab01d8a7f3ba2f71f17623a970dd9df8af4
üst beff419a
......@@ -2455,7 +2455,7 @@ void CmisPropertiesWindow::updateLineWidth()
}
void CmisPropertiesWindow::AddLine( const OUString& /*sId*/, const OUString& sName,
const bool /*bUpdatable*/, const bool /*bRequired*/,
const bool bUpdatable, const bool /*bRequired*/,
Any& rAny )
{
CmisPropertyLine* pNewLine = new CmisPropertyLine( this );
......@@ -2464,6 +2464,9 @@ void CmisPropertiesWindow::AddLine( const OUString& /*sId*/, const OUString& sNa
pNewLine->m_aName.SetAccessibleName(m_aName.GetAccessibleName());
pNewLine->m_aType.SetAccessibleName(m_aType.GetAccessibleName());
pNewLine->m_aValueEdit.SetAccessibleName(m_aValueEdit.GetAccessibleName());
pNewLine->m_aValueEdit.SetReadOnly( !bUpdatable );
pNewLine->m_aDateField.SetReadOnly( !bUpdatable );
pNewLine->m_aTimeField.SetReadOnly( !bUpdatable );
m_nLineHeight = m_aValueEdit.GetSizePixel().Height() ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment