[packagechooser] Add screenshots for example
This commit is contained in:
parent
2272d2ab43
commit
7609546d8b
@ -7,6 +7,8 @@ calamares_add_plugin( packagechooser
|
|||||||
PackageChooserPage.cpp
|
PackageChooserPage.cpp
|
||||||
PackageChooserViewStep.cpp
|
PackageChooserViewStep.cpp
|
||||||
PackageModel.cpp
|
PackageModel.cpp
|
||||||
|
RESOURCES
|
||||||
|
packagechooser.qrc
|
||||||
UI
|
UI
|
||||||
page_package.ui
|
page_package.ui
|
||||||
LINK_PRIVATE_LIBRARIES
|
LINK_PRIVATE_LIBRARIES
|
||||||
|
@ -33,6 +33,9 @@ PackageChooserPage::PackageChooserPage( PackageChooserMode mode, QWidget* parent
|
|||||||
tr( "Package Selection" ),
|
tr( "Package Selection" ),
|
||||||
tr( "Please pick a product from the list. The selected product will be installed." ) )
|
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 );
|
ui->setupUi( this );
|
||||||
CALAMARES_RETRANSLATE( updateLabels(); )
|
CALAMARES_RETRANSLATE( updateLabels(); )
|
||||||
|
|
||||||
|
BIN
src/modules/packagechooser/images/gnome.png
Normal file
BIN
src/modules/packagechooser/images/gnome.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
BIN
src/modules/packagechooser/images/kde.png
Normal file
BIN
src/modules/packagechooser/images/kde.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
BIN
src/modules/packagechooser/images/no-selection.png
Normal file
BIN
src/modules/packagechooser/images/no-selection.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
7
src/modules/packagechooser/packagechooser.qrc
Normal file
7
src/modules/packagechooser/packagechooser.qrc
Normal 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>
|
Loading…
Reference in New Issue
Block a user