Sunday, July 25, 2010

Trip to Blåheia

Just some photos from my trip to Blåheia in Rissa today (Blåheia is a small mountain with quite a nice view over the town).

View over Trondheimsfjorden
Took this one with my N900 on the way home, can get some nice shots with it :)

Photos from Blåheia in Rissa:

Thursday, July 22, 2010

GSOC update - buttons

As someone commented on my last post, the buttons needed a bit of a touch up, so thought I'd show you guys the new buttons. :-)

Default buttons

Refresh button while getting updates

I'm using a "Qt Resource Collection" (qrc) file for storing the button images, which is quite handy. This way, the images get stored in the program's executable.

The images can easily be accessed through code after adding them to the resource file. I created a prefix called "desktopwidget" in my resource file, and have a folder called "images", so to access "cross.png", I only need to add ":/desktopwidget/images/cross.png" to wherever I want to use the image, as seen below:

     QPushButton:disabled {
          border-image: url(:/desktopwidget/images/cross.png) -3 -20 -3 -20;

That's it for now, but I'll hopefully be back shortly!

Saturday, July 17, 2010

GSOC update - transparency!

The past week has been a bit slow, but I finally managed to get some work done in between fighting with technology :-)

Latest version - with added buttons and transparency

I still have some work left to do on the desktop widget, but the UI is near completion - so if anyone has any feedback/suggestions for it, that would be very much appreciated :-)

Next up is hooking the widget up with the main facebrick app, so that clicking on a post will open the comment window for the post, and I also have some other bits and pieces to sort out during the next few days. 

Thursday, July 8, 2010

Photos from Oslo

Just some photos from our trip to Oslo a while back.

Walked up to Maridalsvannet and got to see the sunset :-)

We found a tree completely covered in these

View from the roof of the Opera house

Nice view over Oslo (and me blocking the view)

Trøndelag doesn't look bad when it's sunny either (taken on the way home from Værnes airport)

Another one on the way home

Tuesday, July 6, 2010

GSOC update - Progress on desktop widget

Some further progress on the desktop widget, it now fetches status messages and displays them.

I've had some fun while getting this working, apparently Qt isn't very fond of USB networking, so I kept getting the dialog asking me to connect to a network when running FaceBrick (I'm having to settle with USB networking over here as the router does not like N900s connecting to it ;( ). Setting it to automatically connect to WLAN solved that problem though.

I also ran into some problems moving the code for fetching news feed around, as some of the existing code was depending on the news feed methods being a part of the MainWindow.

What I'll be doing next is to make the status messages fit into the widget and make it scrollable. I have been trying to make the ListView displaying the status messages transparent, but I haven't had any luck with that so far, so will also be trying to sort that out. 

Thursday, July 1, 2010

GSOC update - desktop widget!

Just a small update on my progress with the desktop/home screen widget for FaceBrick.

We are still waiting for Facebook to whitelist FaceBrick so that it will have permission to access facebook messages. This means that the amount of work I'll be able to get done on the inbox is very limited, which is why I have started looking into doing the desktop widget for it instead.

After a bit of looking at existing projects and fiddling around with it, I've finally got something resembling a desktop widget.

This is of course nowhere near complete, but it's progress!

I found this blog post very useful - thanks aep!