As Chris Kawa pointed in thread <http://qt-project.org/forums/viewthread/27971/>there are methods QTableView::setRowHidden<http://qt-project.org/doc/qt-5.0/qtwidgets/qtableview.html#setRowHidden> *,*QTableView::setColumnHidden<http://qt-project.org/doc/qt-5.0/qtwidgets/qtableview.html#setColumnHidden> . OK, that means the problem is in docs: there are no references to those methods from (show/hide)(Row/Column). How could I find it if methods don’t copy QWidget’s logic and even descriptions of methods don’t contain word “visible”? But: why this methods are inverted? I think it would be more natural if they be setRowVisible/setColumnVisible.
On Mon, May 20, 2013 at 7:53 PM, Roman Inflianskas <infr...@gmail.com>wrote: > Hi. > I want to change visibility of rows and columns of QTableWidget. I know, > that I can use (show/hide)(Row/Column) methods, but sometimes more elegant > solution is to use functions that take visibility factor. So, I think it > would be better to have methods setRowVisible/setColumnVisible. Second > reason is current inconsistency: QWidget and other classes provide all this > methods: show, hide, setVisible, while QTableView doesn’t have similar > methods. > I think that this wouldn’t break API. > > -- > Regards, Roman Inflianskas > -- Regards, Roman Inflianskas
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development