[officechooser] update UI and text

This commit is contained in:
Philip Müller 2019-08-03 09:18:06 +02:00
parent 258eb36432
commit 3f20295760
2 changed files with 25 additions and 2 deletions

View File

@ -156,9 +156,9 @@ PackageChooserViewStep::setConfigurationMap( const QVariantMap& configurationMap
{
m_model = new PackageListModel( nullptr );
m_model->addPackage( PackageItem { "libreoffice-still", "libreoffice-still", "LibreOffice - the standard Linux office suite", "LibreOffice is a powerful and free office suite, used by millions of people around the world.", ":/images/LibreOffice.jpg" } );
m_model->addPackage( PackageItem { "libreoffice-still", "libreoffice-still", "LibreOffice", "LibreOffice is a powerful and free office suite, used by millions of people around the world. ts clean interface and feature-rich tools help you unleash your creativity and enhance your productivity.", ":/images/LibreOffice.jpg" } );
m_model->addPackage(
PackageItem { "freeoffice", "freeoffice", "FreeOffice - a complete office suite for high MS Office compability!", "FreeOffice is a complete office suite with a word processor, a spreadsheet application and a presentation program.", ":/images/FreeOffice.jpg" } );
PackageItem { "freeoffice", "freeoffice", "FreeOffice", "FreeOffice 2018 is a full-featured Office suite with word processing, spreadsheet and presentation software. It is seamlessly compatible with Microsoft Office. (Note: You need to register the product for free longterm usage)", ":/images/FreeOffice.jpg" } );
if ( m_widget )

View File

@ -36,9 +36,23 @@
<layout class="QVBoxLayout" name="verticalLayout" stretch="1,3,1">
<item>
<widget class="QLabel" name="productName">
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>TextLabel</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@ -46,6 +60,9 @@
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
@ -53,6 +70,12 @@
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>