[qT] Remove items from model and list

Removing items from views can be somewhat troublesome. Not because it is hard, but because the idea behind it is part of more wide subject, with is MVC (Model View Controller). It nutshell Model is something like database, that store all the information that can be later displayed by Views. View is visual representation of model, it can be i.e. ListView, TableView, or ListWidgetView and so on. Read the rest of this entry »

, , , ,

No Comments

How to prevent Windows registry corruption

I want to point out that this text is not “how to fix” error itself, but the idea of how to prevent or protect yourself from that kind of errors.bsod

Few days ago while Windows startup I stumble upon BSOD (Blue Screen of Death). Main problem was registry corruption that could occur because of HDD hardware malfunction (i.e. bad block) or many other reasons.  Read the rest of this entry »

,

No Comments

Disassembly LCD matrix on Compal FL90 laptop

A few days ago I noticed a bug (more like a small worm) on my LCD screen. First attempt to take it off failed, and I soon realized it was under my screen. Strange thing was that when i poke my screen with finger worm started to move. Unfortunately for me in that process (poking screen to “corner” it) i manage to kill it (or he just stuck in bottom corner of screen). In the end I got black area, similar to dead pixels.

Read the rest of this entry »

, ,

No Comments

“Distributed Bucket Rendering” in Autodesk 3DS Max

Creating advanced 3D scenes is really hard, especially when poly count start to reach thousands faces and everything slows down. Test renders take like minutes to complete.

I’ve got three computers, so I thought to myself why not to use them all at once?  After some search I found a solution, in “3ds max” help files, which is “Backburner”. It’s basically software that allows you to build “render farm”. You setup “servers” and “clients” that will do a rendering. Works fine, but that solution was not exactly what i searched for. Because deal with “Backburner”  is that, that you need to submit max file to render. After that, server redistribute pieces of frame/animation to “clients”, and saves output. It’s good solution if your work is done, so you can focus only on a rendering. Read the rest of this entry »

, , ,

No Comments

qt static , mingwm10.dll and deployment under windows environment

After spending countless hours creating functions, algorithms and design, You application finally is done. And what now? At this point important decision must be made. Do I deploy it using Qt dynamic or static library? Under Window environment it’s unusual to redistribute application with “many dll’s” (at least with many Qt libs). In that case linking it dynamically is pointless. Another choice is to build, and link it against, Qt statically. In some cases it can be really pain in an … Read the rest of this entry »

, , , , , ,

No Comments

QtDesigner and qGLWidget

Creating OpenGL application in Qt can be sometimes really painful. Especially when you need to design additional widgets into main form along with qGLWidget. Of course it all can be done by typing ‘by hand’ all positions, sizes and properties, but it takes a lot of time.
Qt offers a really handful application called qtDesigner. It’s additional module with support programmers in creating GUI. But it doesn’t offer qGLWidget, so basically you cant place it onto a form within Designer. Read the rest of this entry »

, , ,

No Comments

Simple but effective bash script [network adapters]

In some cases, where for example particular sets of commands is frequently used, really handy “tool” to simplify life can be used. I talk here about bash scripting.

What script does? To put it simple, scripts allows to write a sets of command in “specific way” that will be interpreted by shell (in this case “/bin/bash”). These scripts can perform from simple task like rm’ing temp files to really advanced stuff, only limitation here is a imagination and programing skills.

Below is my sample script that I use to manage my network connections. I wrote it because I have a need to change my network settings depending on my location or ‘particular needs’ and doing it by hand can be frustrating and simply takes too long. Script is fairly simple yet effective. Read the rest of this entry »

, , ,

No Comments

Samsung HD753LJ and WindowsXP partition utillity

Samsung HD753LJ

Samsung HDD

I got my hands on this piece of hardware about one week ago, and first impression is rather nice. After plug-in it to PC everything went smooth, motherboard detect it without any problems [Asus A8N-E nForce4]. Next step that i did was run, under WindowsXP, partition utility to create appropriate logical drives. From that point win horror began. Read the rest of this entry »

, , ,

No Comments