The MVC architecture of Qt *View classes is brilliant except one little thing that is not pretty obvious from the beginning: how to find the QModelIndex instance corresponding to specific internal pointer. I wonder why, but I’ve searched the Internet pretty much until I’ve found the possible solutions on Qt developer FAQ page: “How can a QModelIndex be retrived from the model for an internal data item?”. There are three possible solutions. I’ve chosen the first and the simplest one: “Use unique identifiers” as far as it matched our requirements. The main idea of this option is that when you create the instance of a QModelIndex you pass the pointer to some internal data, but you should be sure that there will be no QModelIndex‘es pointing to the same data. So how to implement this approach?
Search
- Multiple AJAX file upload for GAE is not a straightforward task, but still pretty easy to do with proper front-end plugin.
- Suprisingly the build of libjingle for VS2010 ran smoothly. Now gonna try to use it from the managed code...
- Researching CruiseControl.NET features to substitute FinalBuilder as the building engine for our project. Looks very promising...
- Made 90% of new portfolio site theme design. Looks nice IMO :) http://ashenwolf.info/
- Redesigning the portfolio web site. Another wordpress theme again... :)
Tags
.net
android
boost
brightkite
c++
ccnet
commercial
cruisecontrol
design
extensions
gae
gl extensions
google
google maps
html
html5
installaware
javascript
jquery
js
latitude
libjingle
msbuild
mvc
non-commercial
oauth
opengl
osg
paid
php
python
qmodelindex
qt
responsive design
search
slicing
theme
web design
win32
wordpress
xml
xmpp
zurb foundation

