Author Archive for trueg

Tip: a little polishing

I always thought that some KDE apps looked a bit cluttered. Yesterday I finally tried to do something about it. I started with Gwenview. Two things bothered me: 1. the status bar buttons were too small for their text. Easy to solve by simply not forcing the height of the statusbar. 2. the sidebar had a different color than the status bar. Now this is due to Oxygen using gradients which is cool. It turned out to be rather simple. And this is also the actual reason for this blog.

A tip: whenever using sidebars with scroll areas which are supposed to have the Window color as Base do NOT use something like setBackgroundRole( QPalette::Base ). Better let the scroll area not print any background at all. Simply do that by changing the viewport properties:


sidebar->viewport()->setAutoFillBackground( false );

And if you are using QScrollArea be aware that it changes this property also for the widget set via QScrollArea::setWidget. Thus:


sidebar->setWidget( myWidget );
myWidget->setAutoFillBackground( false );

Enough words. This is what it looks like. Notice the difference in the lower right.

And BTW: Now that apparently the blogging system changed, how do I properly include images? [image:ID] was a really nice system…

coming back to the world of blog

It has been a while since I blogged. The reason is simple: the birth of my daughter turned my brain upside down (as in: “as far as I can tell there exists only one thing in the whole world and it is not this blog”). Now, thousands of hours of staring at her later (and also after the very successful last Nepomuk project review) I am finally back to blogging.

And this first blog will not yet mention any amazing new developments in Nepomuk. No, not yet. This is merely a “hello I am back, did you miss me? no? why the hell not? but I thought the world would stop turning without my blog posts.” blog post.

So just this one thing: I updated the Nepomuk documentation. It now contains descriptions of all the Nepomuk services and the architecture. So, if you are interested and always wanted to know what all these processes with “nepomuk” in their names are doing, this is the read for you.