Author Archives: admin
Stack vs Heap, Pimpl, performance
This post is mostly about C++ but because it involves practices often used with Qt programming too, I tagged it with Qt. Also should be interesting for C++ gurus So, you know that Qt uses Pimpl (Private Implementation or Opaque pointer) which is very effective mechanism to keep binary compatibility between Qt versions. I use [...]
Posted in Blog, C++, Qt, Research 4 Comments
Jongling Qt models 2, Composition Gem
We are back to models again . In Qt you may find a lot of flexibilities for Model-View programming. Especially due to proxies to do filtering, sorting or even rearranging data (see Jongling Qt models) to be organized in any way that is good for you. You can have one data source model which you [...]
Submiting a Qt App to Mac App Store
Maybe you already thought about creation a Qt application for Mac App Store or submitting an existing one. While I am on vacations I made a probe of such possibility – you may know that Apple and Nokia developing now different ecosystems of languages/libraries and you may expect to have troubles of bypassing Qt application [...]
Posted in Blog, MacAppStore, Projects, Qt, QtSpeech, TogMeg, TTS 17 Comments
QtSpeech, say “Hello World!”
I am glad to announce new small project that got first release – QtSpeech. This is library providing Qt-like interface to system TTS (text-to-speech) engines to allow your application to say “Hello World!”.
Jongling Qt models
When you work intensively with data in your application then soon or not but you will realize that the best way of keeping them is some model object inherits from QAbstractItemModel, then data are hidden inside implementation of model. Adding, removing and modification are accessible through your API of the model class and it calls [...]
Posted in Blog, Models, Qt, Research 4 Comments
Undo in complex Qt projects
When you implement user interfaces, you should always be ready that your customers will ask very simple question: “Hey, where is undo in my application?”. Sometimes it makes developers totally puzzled because they haven’t even considered it. Then developers can find that they have to apply to project so much code changes and in so [...]
Posted in Blog, Qt, Undo 4 Comments
Encode BuildId or Version into Application
There is very convenient way to encode identification of builds into applications. Then, for instance, you can show in about dialog something like: Version 20100609. Here is snippet of code:
Posted in Blog, Qt Leave a comment
Designing Undo for large-scale projects. Going deep.