[packagechooser] Add screenshots for example

This commit is contained in:
Adriaan de Groot 2019-08-02 17:02:02 +02:00
parent 2272d2ab43
commit 7609546d8b
6 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,8 @@ calamares_add_plugin( packagechooser
PackageChooserPage.cpp
PackageChooserViewStep.cpp
PackageModel.cpp
RESOURCES
packagechooser.qrc
UI
page_package.ui
LINK_PRIVATE_LIBRARIES

View file

@ -33,6 +33,9 @@ PackageChooserPage::PackageChooserPage( PackageChooserMode mode, QWidget* parent
tr( "Package Selection" ),
tr( "Please pick a product from the list. The selected product will be installed." ) )
{
m_introduction.screenshot = QPixmap( QStringLiteral( ":/images/no-selection.png" ) );
cDebug() << m_introduction.screenshot;
ui->setupUi( this );
CALAMARES_RETRANSLATE( updateLabels(); )

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -0,0 +1,7 @@
<RCC>
<qresource prefix="/">
<file>images/no-selection.png</file>
<file>images/kde.png</file>
<file>images/gnome.png</file>
</qresource>
</RCC>