mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[packagechooser] Add screenshots for example
This commit is contained in:
parent
2272d2ab43
commit
7609546d8b
6 changed files with 12 additions and 0 deletions
|
@ -7,6 +7,8 @@ calamares_add_plugin( packagechooser
|
|||
PackageChooserPage.cpp
|
||||
PackageChooserViewStep.cpp
|
||||
PackageModel.cpp
|
||||
RESOURCES
|
||||
packagechooser.qrc
|
||||
UI
|
||||
page_package.ui
|
||||
LINK_PRIVATE_LIBRARIES
|
||||
|
|
|
@ -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(); )
|
||||
|
||||
|
|
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…
Add table
Reference in a new issue