PERFORCE change 17524 for review

Robert Watson rwatson at freebsd.org
Sun Sep 15 16:24:21 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17524

Change 17524 by rwatson at rwatson_paprika on 2002/09/15 09:23:56

	Add more text, make samples more realistic.

Affected files ...

.. //depot/projects/trustedbsd/misc/kmlsinstall/kmlsinstaller.cc#4 edit

Differences ...

==== //depot/projects/trustedbsd/misc/kmlsinstall/kmlsinstaller.cc#4 (text+ko) ====

@@ -185,19 +185,62 @@
 	 */
 	QProgressDialog *progressdialog = new QProgressDialog(this,
 	    "TrustedBSD MLS Installation in Progress", TRUE);
-	progressdialog->setTotalSteps(5);
+	QLabel *progresslabel = new QLabel(progressdialog);
+	progresslabel->setIndent(8);
+	progresslabel->setFont(font);
+	progressdialog->setTotalSteps(9);
+	progressdialog->setLabel(progresslabel);
+	progressdialog->setCancelButton(NULL);
+	progressdialog->setMinimumDuration(0);
 
+	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
+	    "Searching system");
 	progressdialog->setProgress(0);
 	sleep(1);
+
+	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
+	    "Installing kernel module");
 	progressdialog->setProgress(1);
 	sleep(1);
+
+	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
+	    "Installing user module");
 	progressdialog->setProgress(2);
 	sleep(1);
+
+	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
+	    "Updating loader.conf");
 	progressdialog->setProgress(3);
 	sleep(1);
+
+	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
+	    "Updating mac.conf");
 	progressdialog->setProgress(4);
 	sleep(1);
+
+	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
+	    "Enable first-boot labeling event");
 	progressdialog->setProgress(5);
+	sleep(1);
+
+	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
+	    "Updating login.conf");
+	progressdialog->setProgress(6);
+	sleep(1);
+
+	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
+	    "Adding Security Officer account");
+	progressdialog->setProgress(7);
+	sleep(1);
+
+	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
+	    "Configuring Apache run-time label");
+	progressdialog->setProgress(8);
+	sleep(1);
+
+	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
+	    "Install complete");
+	progressdialog->setProgress(9);
 
 	QMessageBox::information(this, "MLS Installation Complete!",
 	    "MLS support is now installed; reboot the system to start MLS.");
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list