Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify the install wizard, give options between desktop / server, and

the user can click customize if they want to delve any deeper.

Switch default boot-loader to GRUB while here
  • Loading branch information...
commit ea6d5aca059996a42575ab1a6c9ee47539f36b83 1 parent 1105519
Kris Moore kmoore134 authored
281 src-qt4/pc-installgui/installer.cpp
View
@@ -154,7 +154,6 @@ void Installer::initInstall()
// Load the disks
loadDiskInfo();
-
// Init the desktop wheel
initDesktopSelector();
}
@@ -481,7 +480,7 @@ void Installer::slotDiskCustomizeClicked()
void Installer::slotDesktopCustomizeClicked()
{
desks = new desktopSelection();
- if ( wheelCurItem != wPCSERVER && wheelCurItem != 11 && wheelCurItem != 12)
+ if ( radioDesktop->isChecked() )
desks->programInit(listDeskPkgs,selectedPkgs);
else
desks->programInit(listServerPkgs,selectedPkgs);
@@ -495,24 +494,12 @@ void Installer::slotSaveMetaChanges(QStringList sPkgs)
{
selectedPkgs = sPkgs;
- // Only add +10 if we are not already on the custom screen
- if ( wheelCurItem < 10 )
- wheelCurItem= wheelCurItem + 10;
-
- switch (wheelCurItem) {
- case 12:
- groupDeskSummary->setTitle(tr("TrueOS Package Selection"));
- break;
- case 11:
- groupDeskSummary->setTitle(tr("FreeBSD Package Selection"));
- break;
- default:
- groupDeskSummary->setTitle(tr("PC-BSD Package Selection"));
- break;
- }
+ if ( radioDesktop->isChecked() )
+ groupDeskSummary->setTitle(tr("PC-BSD Package Selection"));
+ else
+ groupDeskSummary->setTitle(tr("TrueOS Package Selection"));
textDeskSummary->setText(tr("The following meta-pkgs will be installed:") + "<br>" + selectedPkgs.join("<br>"));
- graphicsViewOS->setScene(customScene);
}
void Installer::slotSaveDiskChanges(QList<QStringList> newSysDisks, bool MBR, bool GPT)
@@ -532,199 +519,62 @@ void Installer::slotSaveDiskChanges(QList<QStringList> newSysDisks, bool MBR, bo
startConfigGen();
}
-void Installer::slotDesktopLeftClicked()
-{
- if ( wheelCurItem >= 10 ) {
- int ret = QMessageBox::question(this, tr("PC-BSD Installer"),
- tr("You currently have a custom package set configured. Continue changing to a default set?"),
- QMessageBox::No | QMessageBox::Yes,
- QMessageBox::No);
- switch (ret) {
- case QMessageBox::Yes:
- break;
- case QMessageBox::No: // :)
- return;
- break;
- }
- wheelCurItem = wheelCurItem - 10;
- graphicsViewOS->setScene(defaultScene);
- }
- moveDesktopWheel(false);
-}
-
-void Installer::slotDesktopRightClicked()
-{
- if ( wheelCurItem >= 10 ) {
- int ret = QMessageBox::question(this, tr("PC-BSD Installer"),
- tr("You currently have a custom package set configured. Continue changing to a default set?"),
- QMessageBox::No | QMessageBox::Yes,
- QMessageBox::No);
- switch (ret) {
- case QMessageBox::Yes:
- break;
- case QMessageBox::No: // :)
- return;
- break;
- }
- wheelCurItem = wheelCurItem - 10;
- graphicsViewOS->setScene(defaultScene);
- }
- moveDesktopWheel(true);
-}
-
-void Installer::moveDesktopWheel(bool direction)
+void Installer::slotChangedMetaPkgSelection()
{
- qDebug() << wheelCurItem << direction;
- // Make sure we aren't scrolling too far
- if ( direction && wheelCurItem >= wheelIcons.size() )
- return;
- if ( hasFreeBSDOnMedia ) {
- if ( ! direction && wheelCurItem <= 1 )
- return;
- } else {
- if ( ! direction && wheelCurItem <= 2 )
- return;
- }
-
-
- int tItem, tPixel, cPixel;
- cPixel=96 + ((wheelCurItem-1) * 64) + (wheelCurItem * 32);
-
- // Right
- if ( direction ) {
- tItem=wheelCurItem + 1;
- tPixel=96 + ((tItem-1) * 64) + (tItem * 32);
- } else {
- // Left
- tItem=wheelCurItem - 1;
- tPixel=96 + ((tItem-1) * 64) + (tItem * 32);
- }
-
- if ( direction ) {
- while ( cPixel < tPixel ) {
- cPixel++;
- graphicsViewOS->centerOn(cPixel,0);
- graphicsViewOS->show();
- QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents, 22);
-
- }
- } else {
- while ( cPixel > tPixel ) {
- cPixel--;
- graphicsViewOS->centerOn(cPixel,0);
- graphicsViewOS->show();
- QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents, 22);
- }
- }
-
- wheelCurItem=tItem;
- groupDeskSummary->setTitle(wheelName.at(tItem-1));
- textDeskSummary->setText(wheelDesc.at(tItem-1));
-
- // No custom packages for FreeBSD vanilla
- if ( wheelCurItem == 1 )
- pushDeskCustomize->setEnabled(false);
- else
- pushDeskCustomize->setEnabled(true);
-
- changeMetaPkgSelection();
-}
-
-void Installer::changeMetaPkgSelection()
-{
+ selectedPkgs.clear();
// Set the default desktop meta-pkgs based upon the selection
- // 1 = FreeBSD
- switch (wheelCurItem)
+ if ( radioDesktop->isChecked() )
{
- case wKDE:
- selectedPkgs.clear();
selectedPkgs << "KDE" << "KDE-Accessibility" << "KDE-Artwork" << "KDE-Education" << "KDE-Games" << "KDE-Graphics" << "KDE-Multimedia" << "KDE-Network" << "KDE-PIM";
+
+ // Include i18n stuff?
if ( comboLanguage->currentIndex() != 0 )
selectedPkgs << "KDE-L10N";
- break;
- case wLXDE:
- selectedPkgs.clear();
- selectedPkgs << "LXDE";
- break;
- case wGNOME:
- selectedPkgs.clear();
- selectedPkgs << "GNOME" << "GNOME-Accessibility" << "GNOME-Games" << "GNOME-Net" << "GNOME-Utilities";
- break;
- case wXFCE:
- selectedPkgs.clear();
- selectedPkgs << "XFCE" << "XFCE-Plugins";
- break;
- default:
- selectedPkgs.clear();
- return;
- }
- // Check if we are using NVIDIA driver and include it automatically
- QFile file("/etc/X11/xorg.conf");
- if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
- return;
+ // Check if we are using NVIDIA driver and include it automatically
+ QFile file("/etc/X11/xorg.conf");
+ if (file.open(QIODevice::ReadOnly | QIODevice::Text)) {
- QTextStream in(&file);
- while (!in.atEnd()) {
- QString line = in.readLine();
- if ( line.indexOf("nvidia") != -1 ) {
- selectedPkgs << "NVIDIA";
- break;
- }
- }
- file.close();
- // Done with NVIDIA check
+ QTextStream in(&file);
+ while (!in.atEnd()) {
+ QString line = in.readLine();
+ if ( line.indexOf("nvidia") != -1 ) {
+ selectedPkgs << "NVIDIA";
+ break;
+ }
+ }
+ file.close();
+ } // Done with NVIDIA check
+
+ // Are we on VirtualBox?
+ QFile filev("/var/log/Xorg.0.log");
+ if (filev.open(QIODevice::ReadOnly | QIODevice::Text)) {
+
+ QTextStream in(&file);
+ while (!in.atEnd()) {
+ QString line = in.readLine();
+ if ( line.indexOf("VirtualBox") != -1 ) {
+ selectedPkgs << "VirtualBoxGuest";
+ break;
+ }
+ }
+ file.close();
+ } // End of virtualbox check
+ }
+ slotSaveMetaChanges(selectedPkgs);
qDebug() << selectedPkgs;
}
void Installer::initDesktopSelector()
{
- QString fbsdIcon;
-
- if ( hasFreeBSDOnMedia )
- fbsdIcon = ":modules/images/freebsd.png";
- else
- fbsdIcon = "";
-
- // Init the desktop selector
- wheelIcons << fbsdIcon << ":/modules/images/pcbsd-server.png" << ":/PCBSD/images/kde.png" << ":/PCBSD/images/lxde.png" << ":/PCBSD/images/gnome.png" << ":/PCBSD/images/xfce.png";
- wheelName << "FreeBSD Server" << "TrueOS" << "KDE" << "LXDE" << "GNOME" << "XFCE";
- wheelDesc << tr("FreeBSD is an advanced operating system for modern server, desktop, and embedded computer platforms. FreeBSD's code base has undergone over thirty years of continuous development, improvement, and optimization.") \
- << tr("TrueOS is a console based server running FreeBSD. It includes command-line versions of The Warden jail management, PBI manager, ZFS boot environments (beadm), and other helpful utilities for system administrators.") \
- << tr("KDE is a full-featured desktop environment, which includes support for 3D desktop effects, multiple desktops, and a variety of built-in tools and utilities for both new and power-desktop users.<br><br>* Recommended for higher-end systems with 2GB of RAM or more *") \
- << tr("LXDE is a lightweight desktop, minimalist in nature, with support for multiple-desktops, a system tray, application menu and more.<br><br>* Recommended for netbooks, or lower-end systems * ") \
- << tr("GNOME is a full-featured desktop environment, complete with a large number of integrated utilities and tools for desktop users.") \
- << tr("XFCE is a light and modular desktop, with a number of features to enhance customizing the desktop to your liking.");
-
- int xOff=96;
- defaultScene = new QGraphicsScene(0,0,(96 + 96 + (wheelIcons.size()*64) + (wheelIcons.size()*32) ),64);
- for ( int i = 0; i < wheelIcons.size(); ++i) {
- defaultScene->addPixmap(QPixmap(wheelIcons.at(i)))->setOffset(xOff,0);
- xOff = xOff +96;
- }
- graphicsViewOS->setScene(defaultScene);
-
- // If less than 2GB memory, default to LXDE, otherwise KDE
- if ( systemMemory > 2048 ) {
- wheelCurItem=2;
- } else {
- wheelCurItem=3;
- }
- graphicsViewOS->centerOn(191,0);
- graphicsViewOS->show();
- moveDesktopWheel(true);
-
- customScene = new QGraphicsScene(0,0,220,64);
- customScene->addText(tr("Custom Package Selection"));
-
- // Connect our slots
- connect(pushDeskRight,SIGNAL(clicked()), this, SLOT(slotDesktopRightClicked()));
- connect(pushDeskLeft,SIGNAL(clicked()), this, SLOT(slotDesktopLeftClicked()));
connect(pushDeskCustomize,SIGNAL(clicked()), this, SLOT(slotDesktopCustomizeClicked()));
+ connect(radioDesktop,SIGNAL(clicked()), this, SLOT(slotChangedMetaPkgSelection()));
+ connect(radioServer,SIGNAL(clicked()), this, SLOT(slotChangedMetaPkgSelection()));
+ slotChangedMetaPkgSelection();
}
void Installer::proceed(bool forward)
@@ -778,13 +628,10 @@ void Installer::slotNext()
return;
}
- // Start the FreeBSD wizard
- if ( installStackWidget->currentIndex() == 1 && (wheelCurItem == wFREEBSD || wheelCurItem == wPCSERVER || wheelCurItem == 12) ) {
+ // Start the TrueOS wizard
+ if ( radioServer->isChecked() ) {
bool tOS;
- if ( wheelCurItem == wPCSERVER || wheelCurItem == 12 )
- tOS = true;
- else
- tOS = false;
+ tOS = true;
wFBSD = new wizardFreeBSD();
wFBSD->setWindowModality(Qt::ApplicationModal);
@@ -907,14 +754,9 @@ QStringList Installer::getGlobalCfgSettings()
if ( Arch == "amd64" )
distFiles+=" lib32";
- // If we are doing a PC-BSD install
- if ( wheelCurItem != wPCSERVER && wheelCurItem != 12 && wheelCurItem != wFREEBSD ) {
- tmpList << "installType=PCBSD";
- tmpList << "packageType=dist";
- } else {
- tmpList << "installType=FreeBSD";
- tmpList << "packageType=dist";
- }
+ // System type we are installing
+ tmpList << "installType=PCBSD";
+ tmpList << "packageType=dist";
// Set the distFiles being used
tmpList << "distFiles=" + distFiles;
@@ -926,7 +768,7 @@ QStringList Installer::getGlobalCfgSettings()
// Networking setup
- if ( wheelCurItem != wFREEBSD && wheelCurItem != wPCSERVER && wheelCurItem != 12 ) {
+ if ( radioDesktop->isChecked() ) {
// PC-BSD network setup
tmpList << "netSaveDev=AUTO-DHCP-SLAAC";
} else {
@@ -1031,7 +873,7 @@ void Installer::startConfigGen()
cfgList+= "";
- if ( wheelCurItem != wFREEBSD && wheelCurItem != wPCSERVER && wheelCurItem != 12 ) {
+ if ( radioDesktop->isChecked() ) {
// Doing PC-BSD Install
QString lang;
@@ -1049,7 +891,7 @@ void Installer::startConfigGen()
cfgList << "runCommand=touch /var/.pcbsd-firstboot";
cfgList << "runCommand=touch /var/.pcbsd-firstgui";
- } else if ( wheelCurItem == wPCSERVER || wheelCurItem == 12 ) {
+ } else {
// Doing TrueOS Install
cfgList+=getUsersCfgSettings();
@@ -1060,15 +902,7 @@ void Installer::startConfigGen()
// Setup the TrueOS server
cfgList << "runCommand=sh /usr/local/share/pcbsd/scripts/sys-init.sh server";
- } else { // End of PC-BSD specific setup
- // Doing FreeBSD Install
- cfgList+=getUsersCfgSettings();
-
- // Enable SSH?
- if ( fSSH )
- cfgList << "runCommand=echo 'sshd_enable=\"YES\"' >>/etc/rc.conf";
-
- }
+ }
// Run newaliases to fix mail errors
cfgList << "runCommand=newaliases";
@@ -1141,7 +975,7 @@ QStringList Installer::getDiskCfgSettings()
// Are we loading a boot-loader?
if ( loadMBR )
- tmpList << "bootManager=bsd";
+ tmpList << "bootManager=GRUB";
else
tmpList << "bootManager=none";
@@ -1568,15 +1402,12 @@ void Installer::slotPushVirtKeyboard()
// Return the configuration for desktop packages
QStringList Installer::getDeskPkgCfg()
{
- if ( wheelCurItem == wFREEBSD )
- return QStringList();
-
QStringList cfgList, pkgList;
QString line;
QList<QStringList> curList;
- if ( wheelCurItem != wPCSERVER && wheelCurItem != 11 && wheelCurItem != 12) {
+ if ( radioDesktop->isChecked() ) {
curList = listDeskPkgs;
pkgList << "pcbsd-base";
} else {
@@ -1686,7 +1517,7 @@ void Installer::checkSpaceWarning()
//qDebug() << totalSize;
- if ( installStackWidget->currentIndex() == 1 && (wheelCurItem == wPCSERVER || wheelCurItem == 12) )
+ if ( radioServer->isChecked() )
targetSize=20000;
else
targetSize=50000;
9 src-qt4/pc-installgui/installer.h
View
@@ -64,10 +64,9 @@ private slots:
void slotLoadConfigUSB();
// Desktop selector slots
- void slotDesktopLeftClicked();
- void slotDesktopRightClicked();
void slotDesktopCustomizeClicked();
void slotSaveMetaChanges(QStringList);
+ void slotChangedMetaPkgSelection();
void slotSaveFBSDSettings(QString, QString, QString, QString, QString, QString, bool, bool, bool, QStringList);
@@ -96,13 +95,7 @@ private slots:
// Desktop packages
void initDesktopSelector();
- void moveDesktopWheel(bool direction);
- void changeMetaPkgSelection();
QStringList getDeskPkgCfg();
- QStringList wheelIcons;
- QStringList wheelName;
- QStringList wheelDesc;
- int wheelCurItem;
bool availDesktopPackageData;
bool availServerPackageData;
QList<QStringList> listDeskPkgs; // QStringList for our available desktop pkgs
386 src-qt4/pc-installgui/installer.ui
View
@@ -261,7 +261,7 @@
<string notr="true">background-image: url(:/modules/images/backgroundimage.jpg);</string>
</property>
<property name="currentIndex">
- <number>0</number>
+ <number>1</number>
</property>
<widget class="QWidget" name="page">
<layout class="QGridLayout" name="gridLayout_3">
@@ -507,9 +507,38 @@ background: transparent;</string>
</layout>
</widget>
<widget class="QWidget" name="page_2">
- <layout class="QGridLayout" name="gridLayout_5">
- <item row="5" column="1">
- <widget class="QGroupBox" name="groupDeskSummary">
+ <layout class="QGridLayout" name="gridLayout_14">
+ <item row="0" column="2">
+ <spacer name="verticalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>27</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="0" rowspan="4">
+ <spacer name="horizontalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>115</width>
+ <height>278</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="1" colspan="2">
+ <widget class="QGroupBox" name="groupSystemSelect">
<property name="autoFillBackground">
<bool>false</bool>
</property>
@@ -517,292 +546,185 @@ background: transparent;</string>
<string notr="true">background: transparent;</string>
</property>
<property name="title">
- <string>Summary</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
+ <string>System Selection</string>
</property>
- <layout class="QGridLayout" name="gridLayout_4">
- <item row="1" column="0">
- <widget class="QTextEdit" name="textDeskSummary">
- <property name="autoFillBackground">
- <bool>false</bool>
+ <layout class="QGridLayout" name="gridLayout_5">
+ <item row="0" column="0">
+ <widget class="QRadioButton" name="radioDesktop">
+ <property name="text">
+ <string>Desktop (PC-BSD)</string>
</property>
- <property name="horizontalScrollBarPolicy">
- <enum>Qt::ScrollBarAlwaysOff</enum>
+ <property name="icon">
+ <iconset resource="sysinstaller.qrc">
+ <normaloff>:/PCBSD/images/pbidiricon.png</normaloff>:/PCBSD/images/pbidiricon.png</iconset>
</property>
- <property name="readOnly">
+ <property name="iconSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+ <property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
+ <item row="1" column="0">
+ <widget class="QRadioButton" name="radioServer">
+ <property name="text">
+ <string>Server (TrueOS)</string>
+ </property>
+ <property name="icon">
+ <iconset resource="sysinstaller.qrc">
+ <normaloff>:/modules/images/pcbsd-server.png</normaloff>:/modules/images/pcbsd-server.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>
- <item row="2" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout">
+ <item row="1" column="3" rowspan="4">
+ <spacer name="horizontalSpacer_5">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>115</width>
+ <height>298</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="1" rowspan="2" colspan="2">
+ <widget class="QGroupBox" name="groupBox_4">
+ <property name="styleSheet">
+ <string notr="true">background: transparent;</string>
+ </property>
+ <property name="title">
+ <string/>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_12"/>
+ </widget>
+ </item>
+ <item row="3" column="2">
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <item>
+ <spacer name="horizontalSpacer_6">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
<item>
- <widget class="QPushButton" name="pushDeskLeft">
+ <widget class="QPushButton" name="pushDeskCustomize">
<property name="statusTip">
- <string>Cycle through system choices</string>
+ <string>Customize the selected system</string>
+ </property>
+ <property name="autoFillBackground">
+ <bool>false</bool>
</property>
<property name="styleSheet">
- <string notr="true">background: transparent;</string>
+ <string notr="true">background-color: rgb(238, 238, 238);</string>
</property>
<property name="text">
- <string/>
+ <string>&amp;Customize</string>
</property>
<property name="icon">
<iconset resource="sysinstaller.qrc">
- <normaloff>:/PCBSD/images/previous.png</normaloff>:/PCBSD/images/previous.png</iconset>
+ <normaloff>:/modules/images/configure.png</normaloff>:/modules/images/configure.png</iconset>
</property>
<property name="iconSize">
<size>
- <width>48</width>
- <height>48</height>
+ <width>21</width>
+ <height>21</height>
</size>
</property>
- <property name="flat">
+ <property name="autoDefault">
<bool>false</bool>
</property>
- </widget>
- </item>
- <item>
- <widget class="QGraphicsView" name="graphicsViewOS">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize">
- <size>
- <width>220</width>
- <height>65</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">background: transparent;</string>
- </property>
- <property name="verticalScrollBarPolicy">
- <enum>Qt::ScrollBarAlwaysOff</enum>
- </property>
- <property name="horizontalScrollBarPolicy">
- <enum>Qt::ScrollBarAlwaysOff</enum>
+ <property name="default">
+ <bool>false</bool>
</property>
- <property name="interactive">
+ <property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item>
- <widget class="QPushButton" name="pushDeskRight">
- <property name="statusTip">
- <string>Cycle through system choices</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background: transparent;</string>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset resource="sysinstaller.qrc">
- <normaloff>:/PCBSD/images/next.png</normaloff>:/PCBSD/images/next.png</iconset>
+ <spacer name="horizontalSpacer_7">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
</property>
- <property name="iconSize">
+ <property name="sizeHint" stdset="0">
<size>
- <width>48</width>
- <height>48</height>
+ <width>40</width>
+ <height>20</height>
</size>
</property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
+ </spacer>
</item>
</layout>
</item>
- <item row="6" column="1">
- <spacer name="verticalSpacer_3">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>248</width>
- <height>18</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="1">
- <widget class="QLabel" name="label_4">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>28</height>
- </size>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
+ <item row="4" column="1" colspan="2">
+ <widget class="QGroupBox" name="groupDeskSummary">
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">background: transparent;</string>
</property>
- <property name="text">
- <string>System Selection</string>
+ <property name="title">
+ <string>Summary</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
+ <layout class="QGridLayout" name="gridLayout_4">
+ <item row="1" column="0">
+ <widget class="QTextEdit" name="textDeskSummary">
+ <property name="autoFillBackground">
+ <bool>false</bool>
+ </property>
+ <property name="horizontalScrollBarPolicy">
+ <enum>Qt::ScrollBarAlwaysOff</enum>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
</item>
- <item row="1" column="0" rowspan="5">
- <spacer name="horizontalSpacer_4">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>115</width>
- <height>278</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="2" rowspan="6">
- <spacer name="horizontalSpacer_5">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>115</width>
- <height>298</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="0" column="1">
- <spacer name="verticalSpacer_4">
+ <item row="5" column="1" colspan="2">
+ <spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
- <width>20</width>
- <height>27</height>
+ <width>248</width>
+ <height>18</height>
</size>
</property>
</spacer>
</item>
- <item row="3" column="1">
- <widget class="QLabel" name="label_7">
- <property name="styleSheet">
- <string notr="true">background: transparent;</string>
- </property>
- <property name="text">
- <string>Click arrows to change system selection</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="QGroupBox" name="groupBox_4">
- <property name="styleSheet">
- <string notr="true">background: transparent;</string>
- </property>
- <property name="title">
- <string/>
- </property>
- <layout class="QGridLayout" name="gridLayout_12">
- <item row="0" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <spacer name="horizontalSpacer_6">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="pushDeskCustomize">
- <property name="statusTip">
- <string>Customize the selected system</string>
- </property>
- <property name="autoFillBackground">
- <bool>false</bool>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: rgb(238, 238, 238);</string>
- </property>
- <property name="text">
- <string>&amp;Customize</string>
- </property>
- <property name="icon">
- <iconset resource="sysinstaller.qrc">
- <normaloff>:/modules/images/configure.png</normaloff>:/modules/images/configure.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>21</width>
- <height>21</height>
- </size>
- </property>
- <property name="autoDefault">
- <bool>false</bool>
- </property>
- <property name="default">
- <bool>false</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_7">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- </layout>
- <zorder>pushDeskCustomize</zorder>
- <zorder>pushDeskCustomize</zorder>
- <zorder>horizontalSpacer_6</zorder>
- <zorder>horizontalSpacer_7</zorder>
- </widget>
- </item>
</layout>
</widget>
<widget class="QWidget" name="page_3">
@@ -867,10 +789,6 @@ background: transparent;</string>
</layout>
</item>
</layout>
- <zorder>pushDiskCustomize</zorder>
- <zorder>pushDiskCustomize</zorder>
- <zorder>horizontalSpacer_8</zorder>
- <zorder>horizontalSpacer_9</zorder>
</widget>
</item>
<item row="0" column="0" rowspan="4">
Please sign in to comment.
Something went wrong with that request. Please try again.