c++ - Get access to parent variables from child class in qt -


i have 2 class in qt. in 1 declared variables , child qframe class qpainter. now, if it's possible, how can access parent variables child class? know can pass variables signals , slots or catch child qpainter events, think nice access directly.

it boils down visibility of data in base class. if data public or protected have access it. otherwise, data private , don't have direct access it.


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -