void QmvListItem::setValue( const QString &v ) { if ( !comb ) return; setText( 1, combo()->currentText() ); QmvItem::setValue( combo()->currentText() ); notifyValueChange(); oldInt = currentIntItem(); oldString = currentItem(); }
void QmvBoolItem::setValue() { if ( !comb ) return; setText( 1, combo()->currentText() ); if ( combo()->currentItem() == 0 ) QmvItem::setValue( str_true ); else QmvItem::setValue( str_false ); notifyValueChange(); }
void QmvTextItem::setValue() { setText( 1, lined()->text() ); QString v; if ( accel ) v = QAccel::stringToKey( lined()->text() ); else v = lined()->text(); QmvItem::setValue( v ); notifyValueChange(); }
void QmvTextItem::getText() { QString txt = QString("Hello there"); //TextEditor::getText( listview, value().toString() ); if ( !txt.isEmpty() ) { setText( 1, txt ); QmvItem::setValue( txt ); notifyValueChange(); lined()->blockSignals( TRUE ); lined()->setText( txt ); lined()->blockSignals( FALSE ); } }
void ossimQtPropertyNumericItem::setValue() { if(theLineEditor->text() == getOssimProperty()->valueToString().c_str()) { return; } if(getOssimProperty().valid()) { getOssimProperty()->setValue(theLineEditor->text().ascii()); setText( 1, theLineEditor->text().ascii()); notifyValueChange(); } }