Categories: Programming, Bash, c++, HTML, Qt

I've seen some strange things when trying to remove QWidgets from a QLayout while using code such as: MyWidget->layout()->removeWidget(AnotherWidget); Sometimes AnotherWidget wouldn't be removed, sometimes it would display only part of it.… more »

I recently purchased a One for All remote (URC-7940 in this case) to use with my DVD player. All was going well until I wanted to program individual keys to some functions that weren't working.The user manual that came with the remote boasted that it… more »

If you want to get the current time in QT including the milliseconds you can do so with QTime: QTime::currentTime().toString("ss.zzz"); This is very useful when debugging more »

After upgrading to Kubuntu 10.04 I was disappointed to find that KDevelop wasn't listed in the default repositories as apparently it wasn't ready in time for the release of 10.04. From what I've read there's not much chance of it being added to the repos… more »

Posted by Kieren Searle on the 01/19/10

Resizing a QGraphicsPixmapItem

I've just finished fighting with some code where I wanted to resize some QGraphicsPixmapItems. I was able to scale them but this didn't allow me to resize to specific pixels. I decided to take a step back and noticed that if I create a pixmap object firs… more »

1 2 3 4 5 >>

My name is Kieren and this is my blog. I use it mostly to document any solutions to problems I come across in computing.

Search

XML Feeds