phim xxx

indian girls

Breslau photos

As promised, I give you some photos from my trip to Wroclaw.

Breslau Holidays

Yesterday evening I returned from a short winter holidays, which I spent in Wroclaw (Breslau) – a city in Silesia (southwestern part of Poland) where I was born and used to live in for the first four years of my life.

Even before the train stopped at the station, I fell in love with the city… again. I sensed a different “scent” in the air and I don’t mean the smell of the air itself (I don’t want to investigate how clean or dirty the air there is). The city differs from Warsaw very much. It is much calmer and more pleasant.

During my short stay I managed to see the place where I used to live when I was little, place where my parents used to work and I found time to pay visit to my family in Wroclaw. I didn’t manage to see everything I wanted – frosty weather and a rising demand of my organism to rest a little caused that I didn’t see the zoo and I didn’t manage to take a closer look at the centre of the city.

Unfortunately because of bad weather conditions my journey home extended a little and I feel quite tired now (after spending 7 hours in a train).

Below I attach few photos of the city. Later I will post some photos taken during my trip to Wroclaw.

Grunwald bridge Central train station Breslau City Hall

Hey, more free time for me!

Today is a historical day for me. By the end of the year I resigned from my first computer-related job and today I’ve been there for the last time to return all the work related stuff I had and to introduce my successor to his working environment.

I worked there for over five years and my responsibility changed a few times during that period of time. I started as a DTP operator (I gained a lot of experience there) then switched to caring about a www page the company has, finally became a handyman, but this wasn’t a job for me, gave me no satisfaction and almost no money (but a lot of stress instead) so I resigned.

Now I have little more free time (the work there wasn’t very time consuming), and a lot less stress. So generally I am a happy man again :) After leaving the room for the last time (hopefully), I threw my hands in the air and laughed. My life changed a lot during the period of time I worked there, I learned not only things connected with computers and stuff but also how to cope with people and what to expect from them. I’m sure this experience won’t be wasted. Now I can focus on my Master’s Thesis…

New Year — new forum, farewell QtForum!

First of all, Happy New Year everyone!

Phew… it’s been some time now since my last note here, but that time wasn’t wasted. I was busy putting up QtCentre, a new community site dedicated to Qt. The reason for that? Well, simply put, QtForum was sold to a 3rd party, who already owns some other linux-related forums like kde-forum.org, kde-forum.de, ubuntu-forum, gentoo-forum and probably others. We (the moderators of QtForum) tried contacting him both by other people — Christian (previous owner of the board) or directly (via e-mail), but with no success. After that we decided to open our own site and so we did :)

24 hours of QtCentre activity passed an hour ago and we already have about 30 threads, more than 100 posts and about 100 members. That’s not a bad result, isn’t it?

It wasn’t easy for me to give up on QtForum. I spent a lot of time there. It was my first place in the Internet which I could consider “my own”. I posted more than 4200 times there within 20 months. I remember my first days there. Actually it was quite of funny — me, with almost no Qt experience at all, answering complex Qt related questions just by reading the docs. Well, to be honest that’s how I answer most of Qt questions, as Trolltech made a really good job with the reference…

I hope QtForum community spirit will follow us to QtCentre, although I know it’ll not be the same — I’m not just a simple user (or a moderator, as for last months), but an admin now! Whoaa! :)

Ok, enough for today, I have to get up in 6 hours…

And read the docs, Luke! Read the docs… *)


*) That used to be my QtForum signature 😉

MVC environment in Qt 4.0

One of the major new features of Qt4 was said to be the model-view-controller environment. I eagarly waited for the release of the new Qt to see what does it offer in the concept of MVC.

What is the model-view-controller concept?

It is a programming concept which divides an information system (like a computer application) into three loosely-coupled parts. One of them, called the Model, holds the whole logic of the system. It serves data requests to other parts, feeding them data they require. It doesn’t care what do they do with it. The second part is the View — responsible for visualisation of the data obtained from the model. The third one is the controller, which integrates the two other parts, deciding how should the user interface react to user input. Typically the end user interacts with the view taking actions which cause requests to be passed to the model either changing it (read-write model) or demanding different data to be fed.

A fine example of the model-view-controller, sometimes simplified to become the model-view concept is the WebDAV protocol. The user interacts with his client (the view) which causes requests to be sent over the http protocol to the server (the controller), often containing different handlers (models) for different requests (like the SVN handler for SVN repositories) that generate the content demanded by the view. They don’t care what will the view do with the data — they only serve requests.

MVC implementation in Qt4

Qt uses the simplified approach to MVC, integrating the controller functionality in the framework itself (signals and slots, events). The user gains access only to the model and view APIs (through QAbstractItemModel and QAbstractItemView classes).

Qt already implements some usable models: QAbstractListModel, QAbstractTableModel, QDirModel, QStandardItemModel (and their derivatives) that can be used with standard views: QListView, QTableView and QTreeView. Worth noting is that Qt provides abstract models fitted for table and list views, but lacks an appropriate model for QTreeView! If one needs such a model, it can be found as one of Qt examples in the reference.

How are the models implemented?

A model can be seen as a multilevel two dimentional array. Each array contains rows and columns and each cell (model item) can have an array of children, every one of which can have an array of own children, etc. Each cell (item) is addressable by an index, consisting of a parent item, and row and column numbers. The model widely uses the index to address cells and extract information from them. With each index an id or a pointer can be assotiatied, which makes it easy to assign custom data to each item. A very nice thing is that each cell can hold an arbitrary amount of data, which can be addressed by specyfiing a so called Role the data applies to. There are some standard roles defined, like Display (which corresponds to data which is drawn as the item representation), Decoration (an icon or pixmap), ToolTip (a hint for the item) or WhatsThis (a more elaborative description of the item). Of course custom roles can be defined too.

How to implement own model?

It is easy as 1-2-3. Just subclass an appropriate model class and reimplement few simple methods:

  • data – fetches data of a desired role from a cell
  • index – returns a model index of a given item
  • parent – returns an index of a parent of an item
  • rowCount – returns the number of rows (array height) an item has
  • columnCount – returns the number of columns (array width) an item has

If one wants more complex models (like an editable one), more methods need to be reimplemented (most commonly setData and flags).

Enough for today, now go and implement some models :) I will write more in one of the next episodes of my blog.

XX anniversary of the Polish Praying Mantis Kung Fu Society

Last Saturday we celebrated the 20th anniversary of the Polish Praying Mantis Kung Fu Society. Many people came, including our brothers and sisters from Finland. We spent hours talking to each other and having fun. Shifu Slawomir Milczarek received a gift from his polish students — a brand new notebook computer. Looks like he didn’t expect it. The times when he was saying “It will not run on my computer” are over :)

The evening was great although people were scattered throughout many tables and three rooms instead of being all in one place like a community should do. Free beer and snacks ended very quickly and people were forced to buy drinks which were quite expensive for polish conditions. On the other hand we listened to a concert of the Pavulon Twist group which gathered all the people closer to the scene.

The time flies, 20 years passed, 16 of which I was fortunate to be part of. Happy birthday PPMKFS!

Comments

Today I added support for posting comments using Reblogger. The template still needs some adjustments, but the functionality is there. I already have one comment, which seems not bad, regarded that only a few people know about this site.

Wysota has a blog?

I never expected myself to start a blog, but I feel like exposing some of my thoughts to the Internet community.

Some time ago I found a nice piece of software called NanoBlogger, so I thought I’ll give it a try.

I don’t expect the blog to have many readers and probably not many new entries as well, as I have become quite a busy man lately. I’d like this journal to be mainly IT-oriented, but I’ll be writing about other things too. Any feedback from potential readers is welcome.

What’s in it for me? Well, first of all I’d like to have a place of my own where I can express my opinions on various subjects. Second of all, I’m hoping to give people some entertainment and maybe help resolve some of their problems too. Furthermore I expect my English to improve a little too :)

xnxx indian