Category Archives: Qt
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 [...]
Also posted in Blog, MacAppStore, Projects, 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 [...]
Also posted in Blog, Models, Research 2 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 [...]
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:
Also posted in Blog Leave a comment
Mac: mini font
On Mac you can often see the usage of two system fonts in applications. Second one “Mini” is convenient to use when you would like to have a lot of “mini” controls – mostly you can get it by applying Qt::WA_MacMiniSize. Well then the font is coming from mac style, but what if the font [...]
Also posted in Blog Leave a comment
Stack vs Heap, Pimpl, performance