PDA

View Full Version : How can i add two lines of button to QComboBox and bind it with QTableItem?



stepchik
15th August 2011, 10:31
Hello! I would like to put two line buttons in QComboBox(see attachment). I'm new in model-view programming.

Now i can past buttons in line. Each lines(accept first) of QComboBox contains QButton (see atachment)

1) Is it possible to do what i want?

2) My QComboBox located in QTableItem. How can i bind buttons from QComboBox with line of QTable?

majorwoody
15th August 2011, 11:14
1. I would place two buttons on a widget and put instances of the widget in the combo box.
2. What do you want to achieve?