PropertyBinder class in Qt

In QML we have this super-cool feature that allows us to bind the property value of one object as a function of the property value of another object. For instance

Item {
   width: anotherItem.width * 2
}

In the example above, the width of one item is twice the width of another item. If for any reason anotherItem.width changes, width is recomputed. This is a super-cool feature.

If we want a similar feature in C++ (with Qt ofcourse), we dont have a ready made class for that. Continue reading “PropertyBinder class in Qt”

Falling from a 4 feet wall…

Every new year, some of us friends gang up in someone’s house and spend the night out (31st night). We play games, talk, dance, watch movies and indulge in “intellectual” talk.

This year, we all ganged up at my place. We played a few games, got people to dance in couples, danced in groups, had good food together and generally had a good time with each other. Late in the night, we all watched a couple of episodes (Nosedive & Playtest) of Black Mirror together and Continue reading “Falling from a 4 feet wall…”

Acoustic Panels, Flooring, Full HD Projector, 320cm Screen, Kodi Home Theatre …

In Aug this year, I dropped by at the Bangalore 2016 WhatHiFi event. Every piece of equipment that go into making a good home theater was featured in the event. On display were projectors, screens, speaker systems, amplifiers, seating furniture… Everything you would need to build a great home theater. Both desi and international brands were on display, totaling to ~120 brands!! Continue reading “Acoustic Panels, Flooring, Full HD Projector, 320cm Screen, Kodi Home Theatre …”