mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 20:05:37 -04:00
[packagechooser] Update other parts of the window on selection
This commit is contained in:
parent
f8d159dfa4
commit
dc5cdbb38c
4 changed files with 45 additions and 14 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include <QAbstractListModel>
|
||||
#include <QObject>
|
||||
#include <QPixmap>
|
||||
#include <QVector>
|
||||
|
||||
struct PackageItem
|
||||
|
@ -32,9 +33,15 @@ struct PackageItem
|
|||
QString name;
|
||||
QString description;
|
||||
// TODO: may be more than one
|
||||
// QPixmap screenshot;
|
||||
QPixmap screenshot;
|
||||
|
||||
/// @brief Create blank PackageItem
|
||||
PackageItem();
|
||||
/** @brief Creates a PackageItem from given strings
|
||||
*
|
||||
* This constructor sets all the text members,
|
||||
* but leaves the screenshot blank. Set that separately.
|
||||
*/
|
||||
PackageItem( const QString& id, const QString& package, const QString& name, const QString& description );
|
||||
|
||||
// TODO: implement this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue