PDA

View Full Version : Making my own button with arrows



luckyse7en
21st May 2015, 09:56
Hi,

How can I make a component that has a text view and arrow buttons on each side? It would look like this:
A box that encloses < text >.
If you click on < or >, it will change the text to the prev/next text.


Thank you!

anda_skoa
21st May 2015, 10:43
That should be easy with normal widget aggregation.
E.g a QHBoxLayout with two buttons and a label.

Cheers.
_