On Button click multiple images must change - slideshow

As shown in image that when we click on button1 or button2, set of images must be changed as follows with slideshow images.
I have a slider with thumbnails and buttons placed above the thumbnails as shown in image, if we press the buttons all the thumbnail and slide images must change according to buttons

Related

Share widget by pages in a QStackedWidget

I'm trying to build a widget to display images like a slideshow using a QStackedWidget and a QGridLayout.
It would have arrows on the left and right sides to swipe between the images (change the pages of the QStackedWidget).
Is it possible to create these <= => buttons only once and display them on all pages? or do I need to create them inside of each page of the QStackedWidget?

Display image thumbnails with closing button in Qt

I have a widget that should display images that user has chosen (something like they are shown on the screenshot) and I need to allow users to remove images from this widget. Is there already some widget capable of doing this in Qt or I need to implement such widget by myself?
So, basically I need to display a small image with small closing button in top-right corner.
Yeah, you can. Make a custom widget

How do I get images to rearrange when I resize a CListCtrl?

I have a CListCtrl in Report View that displays a series of images (192px X 192px) that a user can click and select. When the window is resized, I can see more of the images vertically, but not horizontally. What can I do to reposition the images. I dynamically generate these images and add the CBitmaps to the image list, if that helps. They are not icons in the Windows sense

MFC VC++: How to remove blank space between the Window caption and Client area

I am developing a desktop app using MFC. The following image shows the current state of the app's window top part. The area marked in red is unnecessary and I want to remove it.
How can I remove that space or atleast change the color to match the rest of the window background?
More Info:
The App is using Ribbon UI. I have added the App button programmatically in onCreate of CMainFrame. Is it the bar that holds the Ribbon categories? I tried SetMenubarState(AFX_MVS_HIDDEN) thinking it was the menu bar, but that didn't work. Just changing its color is also acceptable.
Update:
I have managed to change the color of that ribbon strip, and removed the caption bar I used for showing the 'add' button. Now I need to figure out how to place the 'Add' button on the right side of the ribbon strip.

Why icon of an MFC ribbon gallery button does not change?

I am trying to create an MFC ribbon gallery button (similar to mspaint brushes button) using Visual Studio 2010 ribbon wizard.
step1 I created a gallery button, changed button mode to true, set columns to 4, icon width to 32, set a large icon to it.
step2 I added icons to gallery button.
everything looks fine except that when I select an icon from drop down menu of the gallery button,
the main icon of the gallery button stays the same.
How can I change the gallery button icon to the selected icon?