Added block write to socket tools

This commit is contained in:
Magne Sjaastad
2014-04-01 15:31:13 +02:00
parent af6d92d64e
commit 4ab5e28cf7
7 changed files with 67 additions and 9 deletions

View File

@@ -61,6 +61,7 @@ RiaPreferences::RiaPreferences(void)
CAF_PDM_InitField(&autocomputeDepthRelatedProperties,"autocomputeDepth", true, "DEPTH related properties", "", "DEPTH, DX, DY, DZ, TOP, BOTTOM", "");
CAF_PDM_InitField(&useStreamTransfer, "useStreamTransfer", true, "Use stream transfer to Octave", "", "", "");
CAF_PDM_InitField(&blockSize, "blockSize", 10000, "blockSize", "", "", "");
}
//--------------------------------------------------------------------------------------------------

View File

@@ -60,6 +60,7 @@ public: // Pdm Fields
caf::PdmField<bool> useStreamTransfer;
caf::PdmField<int> blockSize;
protected:
virtual void defineEditorAttribute(const caf::PdmFieldHandle* field, QString uiConfigName, caf::PdmUiEditorAttribute* attribute);