Displaying the selected album with AlbumWidget
This widget will display the data of the selected album from AlbumListWidget
. Some buttons will allow us to interact with this album.
Here is the layout of the AlbumWidget.ui
file:
The top frame, albumInfoFrame
, with a horizontal layout, contains:
albumName
: This object displays the album's name (Lorem ipsum in the designer)addPicturesButton
: This object allows the user to add pictures selecting fileseditButton
: This object is used to rename the albumdeleteButton
: This object is used to delete the album
The bottom element, thumbnailListView,
is a QListView
. This list view represents items from PictureModel ...
Get Mastering Qt 5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.