Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2002 09:24:21 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 17524 for review
Message-ID:  <200209151624.g8FGOLZq015488@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17524

Change 17524 by rwatson@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209151624.g8FGOLZq015488>