-
Recent Posts
Recent Comments
Lucio Santinelli on [Qt] How to customise QSl… Harold Zable on [RaspberryPI] How to turn off… glframebuffer on [RaspberryPI] How to turn off… John Madsen on [RaspberryPI] How to turn off… abdosayed on [Qt] How to customise QSl… Archives
Categories
Meta
Monthly Archives: July 2013
[Qt] How to set QLineEdit with numbers only
Qt has rather indirect way to control input type. “setInputMethodHints” is available, but QLine Widget ignores it. We need to use QReqExp class for defining “Regular Expressions” , below is example of regular expression where QLineEdit only takes input in … Continue reading
[Qt] How to cast objects in Qt
Qt has many advantages and sometimes C++ developer finds it difficult position to choose between standard C++ and Qt native calls. Here is good way to do casting between Qt objects and widget Use of qobject_cast() for casting objects instead … Continue reading