From owner-p4-projects Sun Sep 15 9:24:25 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7354237B401; Sun, 15 Sep 2002 09:24:22 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 190F337B400 for ; Sun, 15 Sep 2002 09:24:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACDFD43E65 for ; Sun, 15 Sep 2002 09:24:21 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8FGOLJU015491 for ; Sun, 15 Sep 2002 09:24:21 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8FGOLZq015488 for perforce@freebsd.org; Sun, 15 Sep 2002 09:24:21 -0700 (PDT) Date: Sun, 15 Sep 2002 09:24:21 -0700 (PDT) Message-Id: <200209151624.g8FGOLZq015488@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 17524 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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