can haz UI instead of QML pls kthxbai

ubuntu/noble
Simon Quigley 9 months ago
parent 991af8f043
commit 45d0d7bb62

@ -25,7 +25,7 @@ calamares_add_plugin( pkgselect
EXPORT_MACRO PLUGINDLLEXPORT_PRO
SOURCES
PackageSelectViewStep.cpp
RESOURCES
pkgselect.qrc
UI
pkgselect.ui
SHARED_LIB
)

@ -5,10 +5,19 @@
#include <QVariantMap>
PackageSelectViewStep::PackageSelectViewStep( QObject* parent )
: Calamares::QmlViewStep( parent ), m_packageSelections(QVariantMap())
{}
: Calamares::ViewStep( parent ),
m_packageSelections(QVariantMap()),
ui(new Ui::pkgselect)
{
m_widget = new QWidget();
ui->setupUi(m_widget);
}
PackageSelectViewStep::~PackageSelectViewStep() {}
PackageSelectViewStep::~PackageSelectViewStep()
{
delete ui;
delete m_widget;
}
QString
PackageSelectViewStep::prettyName() const
@ -21,10 +30,89 @@ bool PackageSelectViewStep::exists_and_true(const QString& key) const
return m_packageSelections.contains(key) && m_packageSelections[key].toBool() == true;
}
void
PackageSelectViewStep::onActivate()
QWidget* PackageSelectViewStep::widget()
{
return m_widget;
}
Calamares::JobList PackageSelectViewStep::jobs() const
{
return Calamares::JobList();
}
bool PackageSelectViewStep::isNextEnabled() const
{
return true;
}
bool PackageSelectViewStep::isBackEnabled() const
{
return true;
}
bool PackageSelectViewStep::isAtBeginning() const
{
return true;
}
bool PackageSelectViewStep::isAtEnd() const
{
setContextProperty("packageSelect", this);
return true;
}
void PackageSelectViewStep::onActivate()
{
// Connect the Minimal Installation radio button
connect(ui->minimal_button, &QRadioButton::toggled, this, [this](bool checked) {
ui->extraparty_scroll->setVisible(!checked);
ui->extraparty_text->setVisible(!checked);
ui->element_button->setChecked(false);
ui->thunderbird_button->setChecked(false);
ui->virtmanager_button->setChecked(false);
ui->krita_button->setChecked(false);
ui->element_button->setEnabled(!checked);
ui->thunderbird_button->setEnabled(!checked);
ui->virtmanager_button->setEnabled(!checked);
ui->krita_button->setEnabled(!checked);
});
// Connect the Normal Installation radio button
connect(ui->normal_button, &QRadioButton::toggled, this, [this](bool checked) {
if (checked) {
ui->extraparty_scroll->setVisible(true);
ui->extraparty_text->setVisible(true);
ui->element_button->setChecked(false);
ui->thunderbird_button->setChecked(false);
ui->virtmanager_button->setChecked(false);
ui->krita_button->setChecked(false);
ui->element_button->setEnabled(true);
ui->thunderbird_button->setEnabled(true);
ui->virtmanager_button->setEnabled(true);
ui->krita_button->setEnabled(true);
}
});
// Connect the Full Installation radio button
connect(ui->full_button, &QRadioButton::toggled, this, [this](bool checked) {
if (checked) {
ui->extraparty_scroll->setVisible(true);
ui->extraparty_text->setVisible(true);
ui->element_button->setChecked(true);
ui->thunderbird_button->setChecked(true);
ui->virtmanager_button->setChecked(true);
ui->krita_button->setChecked(true);
ui->element_button->setEnabled(false);
ui->thunderbird_button->setEnabled(false);
ui->virtmanager_button->setEnabled(false);
ui->krita_button->setEnabled(false);
}
});
}
void

@ -6,18 +6,30 @@
#include "DllMacro.h"
#include "utils/PluginFactory.h"
#include "viewpages/QmlViewStep.h"
#include "viewpages/ViewStep.h"
class PLUGINDLLEXPORT PackageSelectViewStep : public Calamares::QmlViewStep
#include "ui_pkgselect.h"
namespace Ui {
class pkgselect;
}
class PLUGINDLLEXPORT PackageSelectViewStep : public Calamares::ViewStep
{
Q_OBJECT
Q_PROPERTY(QVariantMap packageSelections READ packageSelections WRITE setPackageSelections NOTIFY packageSelectionsChanged)
public:
PackageSelectViewStep( QObject* parent = nullptr );
virtual ~PackageSelectViewStep() override;
explicit PackageSelectViewStep( QObject* parent = nullptr );
~PackageSelectViewStep() override;
QString prettyName() const override;
QWidget* widget() override;
Calamares::JobList jobs() const override;
bool isNextEnabled() const override;
bool isBackEnabled() const override;
bool isAtBeginning() const override;
bool isAtEnd() const override;
void onActivate() override;
void onLeave() override;
@ -30,7 +42,8 @@ signals:
private:
QVariantMap m_packageSelections;
Ui::pkgselect *ui;
QWidget* m_widget;
bool exists_and_true(const QString& key) const;
};

@ -1,239 +0,0 @@
import io.calamares.ui 1.0
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Window 2.2
import QtQuick.Layouts 1.3
import QtQuick.Controls.Material 2.1
Item {
property bool isRegularInstall: true
function updatePackageSelections(objectName, checked) {
var newMap = JSON.parse(JSON.stringify(packageSelect.packageSelections));
newMap[objectName] = checked;
packageSelect.packageSelections = newMap;
element.enabled = true;
thunderbird.enabled = true;
virtManager.enabled = true;
krita.enabled = true;
if (objectName === "minimalInstall") {
isMinimalInstall = checked;
element.checked = false;
thunderbird.checked = false;
virtManager.checked = false;
krita.checked = false;
element.enabled = false;
thunderbird.enabled = false;
virtManager.enabled = false;
krita.enabled = false;
} else if (objectName === "fullInstall") {
isMinimalInstall = false;
element.checked = true;
thunderbird.checked = true;
virtManager.checked = true;
krita.checked = true;
} else {
isMinimalInstall = false;
}
}
ColumnLayout {
scale: 0.9
Text {
text: qsTr("What apps would you like to start with?")
font.bold: true
font.pointSize: 14
}
RadioButton {
text: qsTr("Full Installation")
objectName: "fullInstall"
font.pointSize: 12
indicator.width: 20
indicator.height: 20
onClicked: {
updatePackageSelections(objectName, checked);
}
}
Text {
text: qsTr("All applications in the Normal Installation, and all extra third-party packages listed below.")
font.pointSize: 10
font.italic: true
}
RadioButton {
checked: true
text: qsTr("Normal Installation")
font.pointSize: 12
indicator.width: 20
indicator.height: 20
}
Text {
text: qsTr("Web browser, utilities, office software, games, and media players.")
font.pointSize: 10
font.italic: true
}
RadioButton {
text: qsTr("Minimal Installation")
objectName: "minimalInstall"
font.pointSize: 12
indicator.width: 20
indicator.height: 20
onClicked: {
updatePackageSelections(objectName, checked);
}
}
Text {
text: qsTr("Only the desktop environment.")
font.pointSize: 10
font.italic: true
}
Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: 1
color: "grey"
}
Text {
text: qsTr("Additional Options")
font.bold: true
font.pointSize: 14
}
CheckBox {
text: qsTr("Download and install updates following installation")
objectName: "updateNow"
font.pointSize: 12
indicator.width: 20
indicator.height: 20
onClicked: {
updatePackageSelections(objectName, checked);
}
}
Text {
text: qsTr("This saves time after the installation, and keeps your system secure.")
font.pointSize: 10
font.italic: true
}
CheckBox {
text: qsTr("Install third-party software for graphics, WiFi hardware, and additional media formats")
objectName: "restrictedExtras"
font.pointSize: 12
indicator.width: 20
indicator.height: 20
onClicked: {
updatePackageSelections(objectName, checked);
}
}
Text {
text: qsTr("This software is subject to license terms included with its documentation, and some may be proprietary.")
font.pointSize: 10
font.italic: true
}
Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: 1
color: "grey"
}
Text {
text: qsTr("Install additional third-party packages:")
font.bold: true
font.pointSize: 14
}
Flickable {
Layout.fillWidth: true
height: 200
contentHeight: column.height
clip: true
Column {
id: column
width: parent.width
CheckBox {
text: qsTr("Element")
checked: isFullInstall
enabled: !isMinimalInstall
objectName: "element"
font.pointSize: 11
indicator.width: 18
indicator.height: 18
onClicked: {
updatePackageSelections(objectName, checked);
}
}
Text {
text: qsTr("Matrix-based end-to-end encrypted messenger and secure collaboration app")
font.italic: true
font.pointSize: 10
}
CheckBox {
text: qsTr("Thunderbird")
checked: isFullInstall
enabled: !isMinimalInstall
objectName: "thunderbird"
font.pointSize: 11
indicator.width: 18
indicator.height: 18
onClicked: {
updatePackageSelections(objectName, checked);
}
}
Text {
text: qsTr("Email, newsfeed, chat, and calendaring client")
font.italic: true
font.pointSize: 10
}
CheckBox {
text: qsTr("Virtual Machine Manager")
checked: isFullInstall
enabled: !isMinimalInstall
objectName: "virt-manager"
font.pointSize: 11
indicator.width: 18
indicator.height: 18
onClicked: {
updatePackageSelections(objectName, checked);
}
}
Text {
text: qsTr("Desktop user interface for managing virtual machines through libvirt")
font.italic: true
font.pointSize: 10
}
CheckBox {
text: qsTr("Krita")
checked: isFullInstall
enabled: !isMinimalInstall
objectName: "krita"
font.pointSize: 11
indicator.width: 18
indicator.height: 18
onClicked: {
updatePackageSelections(objectName, checked);
}
}
Text {
text: qsTr("Graphics editor designed primarily for digital art and 2D animation")
font.italic: true
font.pointSize: 10
}
}
ScrollBar.vertical: ScrollBar {
active: true
}
}
Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: 1
color: "white"
}
Text {
text: qsTr("Note: Ubuntu and flavors are NOT responsible for third-party software installed from this list.") + "<br />" + qsTr("Use at your own risk.")
font.bold: true
font.pointSize: 12
}
}
}

@ -1,5 +0,0 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file alias="pkgselect.qml">pkgselect.qml</file>
</qresource>
</RCC>

@ -0,0 +1,399 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>pkgselect</class>
<widget class="QWidget" name="pkgselect">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>830</width>
<height>573</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="6" column="1">
<widget class="QRadioButton" name="minimal_button">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Minimal Installation</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="minimal_text">
<property name="font">
<font>
<pointsize>10</pointsize>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>Only the desktop environment</string>
</property>
</widget>
</item>
<item row="15" column="1">
<widget class="QLabel" name="extraparty_text">
<property name="font">
<font>
<pointsize>18</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Install additional third-party packages</string>
</property>
</widget>
</item>
<item row="17" column="1">
<spacer name="pushup">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="1">
<widget class="QRadioButton" name="normal_button">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Normal Installation</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="16" column="1">
<widget class="QScrollArea" name="extraparty_scroll">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="extraparty_scrollhouse">
<property name="geometry">
<rect>
<x>0</x>
<y>-80</y>
<width>741</width>
<height>208</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QCheckBox" name="element_button">
<property name="text">
<string>Element</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="element_text">
<property name="font">
<font>
<pointsize>10</pointsize>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>Matrix-based end-to-end encrypted messenger and secure collaboration app</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="thunderbird_button">
<property name="text">
<string>Thunderbird</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="thunderbird_text">
<property name="font">
<font>
<pointsize>10</pointsize>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>Email, newsfeed, chat, and calendaring client</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="virtmanager_button">
<property name="text">
<string>Virtual Machine Manager</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="virtmanager_text">
<property name="font">
<font>
<pointsize>10</pointsize>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>Desktop user interface for managing virtual machines through libvirt</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="krita_button">
<property name="text">
<string>Krita</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="krita_text">
<property name="font">
<font>
<pointsize>10</pointsize>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>Graphics editor designed primarily for digital art and 2D animation</string>
</property>
</widget>
</item>
<item>
<spacer name="pushup_tiny">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
<item row="10" column="1">
<widget class="QCheckBox" name="updates_button">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Download and install updates following installation</string>
</property>
</widget>
</item>
<item row="11" column="1">
<widget class="QLabel" name="updates_text">
<property name="font">
<font>
<pointsize>10</pointsize>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>This saves time after installation, and keeps your system secure</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QRadioButton" name="full_button">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Full Installation</string>
</property>
</widget>
</item>
<item row="0" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="13" column="1">
<widget class="QLabel" name="party_text">
<property name="font">
<font>
<pointsize>10</pointsize>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>This software is subject to license terms included with its documentation, and some may be proprietary</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QLabel" name="label">
<property name="font">
<font>
<pointsize>18</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Additional Options</string>
</property>
</widget>
</item>
<item row="14" column="1">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="QLabel" name="apps_label">
<property name="font">
<font>
<pointsize>18</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Installation Mode</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="full_text">
<property name="font">
<font>
<pointsize>10</pointsize>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>All applications in the Normal Installation, and all extra third-party packages listed below</string>
</property>
</widget>
</item>
<item row="12" column="1">
<widget class="QCheckBox" name="party_button">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Install third-party software for graphics, WiFi hardware, and additional media formats</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="normal_text">
<property name="font">
<font>
<pointsize>10</pointsize>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>Web browser, utilities, office software, games, and media players</string>
</property>
</widget>
</item>
<item row="8" column="1">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

@ -0,0 +1,280 @@
/********************************************************************************
** Form generated from reading UI file 'pkgselect.ui'
**
** Created by: Qt User Interface Compiler version 5.15.12
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_PKGSELECT_H
#define UI_PKGSELECT_H
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QScrollArea>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_pkgselect
{
public:
QGridLayout *gridLayout;
QRadioButton *minimal_button;
QLabel *minimal_text;
QLabel *extraparty_text;
QSpacerItem *pushup;
QRadioButton *normal_button;
QScrollArea *extraparty_scroll;
QWidget *extraparty_scrollhouse;
QVBoxLayout *verticalLayout;
QCheckBox *element_button;
QLabel *element_text;
QCheckBox *thunderbird_button;
QLabel *thunderbird_text;
QCheckBox *virtmanager_button;
QLabel *virtmanager_text;
QCheckBox *krita_button;
QLabel *krita_text;
QSpacerItem *pushup_tiny;
QCheckBox *updates_button;
QLabel *updates_text;
QRadioButton *full_button;
QSpacerItem *verticalSpacer;
QLabel *party_text;
QLabel *label;
QSpacerItem *verticalSpacer_3;
QLabel *apps_label;
QLabel *full_text;
QCheckBox *party_button;
QLabel *normal_text;
QSpacerItem *verticalSpacer_2;
QSpacerItem *horizontalSpacer_2;
QSpacerItem *horizontalSpacer;
void setupUi(QWidget *pkgselect)
{
if (pkgselect->objectName().isEmpty())
pkgselect->setObjectName(QString::fromUtf8("pkgselect"));
pkgselect->resize(830, 573);
gridLayout = new QGridLayout(pkgselect);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
minimal_button = new QRadioButton(pkgselect);
minimal_button->setObjectName(QString::fromUtf8("minimal_button"));
QFont font;
font.setPointSize(12);
minimal_button->setFont(font);
gridLayout->addWidget(minimal_button, 6, 1, 1, 1);
minimal_text = new QLabel(pkgselect);
minimal_text->setObjectName(QString::fromUtf8("minimal_text"));
QFont font1;
font1.setPointSize(10);
font1.setItalic(true);
minimal_text->setFont(font1);
gridLayout->addWidget(minimal_text, 7, 1, 1, 1);
extraparty_text = new QLabel(pkgselect);
extraparty_text->setObjectName(QString::fromUtf8("extraparty_text"));
QFont font2;
font2.setPointSize(18);
font2.setBold(false);
font2.setWeight(50);
extraparty_text->setFont(font2);
gridLayout->addWidget(extraparty_text, 15, 1, 1, 1);
pushup = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
gridLayout->addItem(pushup, 17, 1, 1, 1);
normal_button = new QRadioButton(pkgselect);
normal_button->setObjectName(QString::fromUtf8("normal_button"));
normal_button->setFont(font);
normal_button->setChecked(true);
gridLayout->addWidget(normal_button, 4, 1, 1, 1);
extraparty_scroll = new QScrollArea(pkgselect);
extraparty_scroll->setObjectName(QString::fromUtf8("extraparty_scroll"));
extraparty_scroll->setWidgetResizable(true);
extraparty_scrollhouse = new QWidget();
extraparty_scrollhouse->setObjectName(QString::fromUtf8("extraparty_scrollhouse"));
extraparty_scrollhouse->setGeometry(QRect(0, -80, 741, 208));
verticalLayout = new QVBoxLayout(extraparty_scrollhouse);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
element_button = new QCheckBox(extraparty_scrollhouse);
element_button->setObjectName(QString::fromUtf8("element_button"));
verticalLayout->addWidget(element_button);
element_text = new QLabel(extraparty_scrollhouse);
element_text->setObjectName(QString::fromUtf8("element_text"));
element_text->setFont(font1);
verticalLayout->addWidget(element_text);
thunderbird_button = new QCheckBox(extraparty_scrollhouse);
thunderbird_button->setObjectName(QString::fromUtf8("thunderbird_button"));
verticalLayout->addWidget(thunderbird_button);
thunderbird_text = new QLabel(extraparty_scrollhouse);
thunderbird_text->setObjectName(QString::fromUtf8("thunderbird_text"));
thunderbird_text->setFont(font1);
verticalLayout->addWidget(thunderbird_text);
virtmanager_button = new QCheckBox(extraparty_scrollhouse);
virtmanager_button->setObjectName(QString::fromUtf8("virtmanager_button"));
verticalLayout->addWidget(virtmanager_button);
virtmanager_text = new QLabel(extraparty_scrollhouse);
virtmanager_text->setObjectName(QString::fromUtf8("virtmanager_text"));
virtmanager_text->setFont(font1);
verticalLayout->addWidget(virtmanager_text);
krita_button = new QCheckBox(extraparty_scrollhouse);
krita_button->setObjectName(QString::fromUtf8("krita_button"));
verticalLayout->addWidget(krita_button);
krita_text = new QLabel(extraparty_scrollhouse);
krita_text->setObjectName(QString::fromUtf8("krita_text"));
krita_text->setFont(font1);
verticalLayout->addWidget(krita_text);
pushup_tiny = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout->addItem(pushup_tiny);
extraparty_scroll->setWidget(extraparty_scrollhouse);
gridLayout->addWidget(extraparty_scroll, 16, 1, 1, 1);
updates_button = new QCheckBox(pkgselect);
updates_button->setObjectName(QString::fromUtf8("updates_button"));
updates_button->setFont(font);
gridLayout->addWidget(updates_button, 10, 1, 1, 1);
updates_text = new QLabel(pkgselect);
updates_text->setObjectName(QString::fromUtf8("updates_text"));
updates_text->setFont(font1);
gridLayout->addWidget(updates_text, 11, 1, 1, 1);
full_button = new QRadioButton(pkgselect);
full_button->setObjectName(QString::fromUtf8("full_button"));
full_button->setFont(font);
gridLayout->addWidget(full_button, 2, 1, 1, 1);
verticalSpacer = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
gridLayout->addItem(verticalSpacer, 0, 1, 1, 1);
party_text = new QLabel(pkgselect);
party_text->setObjectName(QString::fromUtf8("party_text"));
party_text->setFont(font1);
gridLayout->addWidget(party_text, 13, 1, 1, 1);
label = new QLabel(pkgselect);
label->setObjectName(QString::fromUtf8("label"));
label->setFont(font2);
gridLayout->addWidget(label, 9, 1, 1, 1);
verticalSpacer_3 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
gridLayout->addItem(verticalSpacer_3, 14, 1, 1, 1);
apps_label = new QLabel(pkgselect);
apps_label->setObjectName(QString::fromUtf8("apps_label"));
apps_label->setFont(font2);
gridLayout->addWidget(apps_label, 1, 1, 1, 1);
full_text = new QLabel(pkgselect);
full_text->setObjectName(QString::fromUtf8("full_text"));
full_text->setFont(font1);
gridLayout->addWidget(full_text, 3, 1, 1, 1);
party_button = new QCheckBox(pkgselect);
party_button->setObjectName(QString::fromUtf8("party_button"));
party_button->setFont(font);
gridLayout->addWidget(party_button, 12, 1, 1, 1);
normal_text = new QLabel(pkgselect);
normal_text->setObjectName(QString::fromUtf8("normal_text"));
normal_text->setFont(font1);
gridLayout->addWidget(normal_text, 5, 1, 1, 1);
verticalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
gridLayout->addItem(verticalSpacer_2, 8, 1, 1, 1);
horizontalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer_2, 0, 2, 1, 1);
horizontalSpacer = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer, 0, 0, 1, 1);
retranslateUi(pkgselect);
QMetaObject::connectSlotsByName(pkgselect);
} // setupUi
void retranslateUi(QWidget *pkgselect)
{
pkgselect->setWindowTitle(QCoreApplication::translate("pkgselect", "Form", nullptr));
minimal_button->setText(QCoreApplication::translate("pkgselect", "Minimal Installation", nullptr));
minimal_text->setText(QCoreApplication::translate("pkgselect", "Only the desktop environment", nullptr));
extraparty_text->setText(QCoreApplication::translate("pkgselect", "Install additional third-party packages", nullptr));
normal_button->setText(QCoreApplication::translate("pkgselect", "Normal Installation", nullptr));
element_button->setText(QCoreApplication::translate("pkgselect", "Element", nullptr));
element_text->setText(QCoreApplication::translate("pkgselect", "Matrix-based end-to-end encrypted messenger and secure collaboration app", nullptr));
thunderbird_button->setText(QCoreApplication::translate("pkgselect", "Thunderbird", nullptr));
thunderbird_text->setText(QCoreApplication::translate("pkgselect", "Email, newsfeed, chat, and calendaring client", nullptr));
virtmanager_button->setText(QCoreApplication::translate("pkgselect", "Virtual Machine Manager", nullptr));
virtmanager_text->setText(QCoreApplication::translate("pkgselect", "Desktop user interface for managing virtual machines through libvirt", nullptr));
krita_button->setText(QCoreApplication::translate("pkgselect", "Krita", nullptr));
krita_text->setText(QCoreApplication::translate("pkgselect", "Graphics editor designed primarily for digital art and 2D animation", nullptr));
updates_button->setText(QCoreApplication::translate("pkgselect", "Download and install updates following installation", nullptr));
updates_text->setText(QCoreApplication::translate("pkgselect", "This saves time after installation, and keeps your system secure", nullptr));
full_button->setText(QCoreApplication::translate("pkgselect", "Full Installation", nullptr));
party_text->setText(QCoreApplication::translate("pkgselect", "This software is subject to license terms included with its documentation, and some may be proprietary", nullptr));
label->setText(QCoreApplication::translate("pkgselect", "Additional Options", nullptr));
apps_label->setText(QCoreApplication::translate("pkgselect", "Installation Mode", nullptr));
full_text->setText(QCoreApplication::translate("pkgselect", "All applications in the Normal Installation, and all extra third-party packages listed below", nullptr));
party_button->setText(QCoreApplication::translate("pkgselect", "Install third-party software for graphics, WiFi hardware, and additional media formats", nullptr));
normal_text->setText(QCoreApplication::translate("pkgselect", "Web browser, utilities, office software, games, and media players", nullptr));
} // retranslateUi
};
namespace Ui {
class pkgselect: public Ui_pkgselect {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_PKGSELECT_H

@ -1,4 +1,3 @@
common/modules/pkgselect/pkgselect.qml etc/calamares/branding/lubuntu/
lubuntu/branding/ etc/calamares/
lubuntu/calamares-logs-helper usr/bin/
lubuntu/calamares-launch-normal usr/bin/

Loading…
Cancel
Save