22 : QDialog( parent, fl )
27 setAttribute( Qt::WA_DeleteOnClose );
36 restoreGeometry( settings.value(
"/Windows/MessageViewer/geometry" ).toByteArray() );
42 settings.setValue(
"/Windows/MessageViewer/geometry", saveGeometry() );
47 txtMessage->setHtml( msg );
52 txtMessage->setPlainText( msg );
57 txtMessage->append( msg );
73 QApplication::setOverrideCursor( Qt::ArrowCursor );
75 QApplication::restoreOverrideCursor();
85 setWindowTitle( title );
90 checkBox->setText( text );
95 checkBox->setVisible( visible );
100 checkBox->setCheckState( state );
105 return checkBox->checkState();
120 if ( checkBox->checkState() == Qt::Checked )