Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
I want to know method of "sub Classing"
Mue22 last edited by
I want to using "sub-classing".
I use QTableView in my application.
So i want to adjust Alignment in each cell.
I'm searching this in google, So i find that it is possible to use "sub-classing"
but I don't know about sub-classing.
is it use another .cpp or .h file? or is it possible to my existing file just add some codes??
if there are some detaile example, please show me.
vish last edited by
Sub classing means inheritance. Please read more about inheritance. You will have qtableView as parent class and you will make ur own class file(both .h and .cpp).