How to Align the CheckBox to the Center Position in QTableView
i have added the Checkbox in my QTableView, I want to move the check box to the center position of the Cell. How can i move it to the center of the cell. Here's my code of adding the check box to my table view. Please Help.
@QStandardItem *item1 = new QStandardItem();
Seems there's no simple way to do this.
See this "How can I align the checkboxes in a view?":http://qt-project.org/faq/answer/how_can_i_align_the_checkboxes_in_a_view