qt - Coloumn with Buttons not visible in Table Derived from qAbstractTableModel -


i have 1 one class derived abstracttablemodel , custom delegate implemented columns. sorting purpose have used qsortproxyfiltermodel sort table contents. problem facing in 1 of mine column have buttons not visible.

here sample code:

sortproxymodel *proxymodel = new sortproxymodel; tablemodel* mymodel = new tablemodel; myview *view = new myview;   proxymodel->setsourcemodel(mymodel);  view->setmodel(proxymodel); 

i using openpersistenteditor coloumn having buttons. feedback of great help.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -