I am disappointed…
Tuesday, August 29th, 2006Tags:SoKSebastian TrĂ¼g told me there will be no support for me to go Dublin for aKademy 2006. And I surely can’t afford the cost… Tell the truth, I am very sad about this, and I am very disappointed…
Tags:SoKSebastian TrĂ¼g told me there will be no support for me to go Dublin for aKademy 2006. And I surely can’t afford the cost… Tell the truth, I am very sad about this, and I am very disappointed…
Tags:KDE KNotes SoKI want to build a convenient ui for user to choose categories. Probably, one note has more than one category. At first, I try to put something like checkbox in the KMenu, so the menu shouldn’t close after being clicked. The standard way is put a KToggleAction or set KAction::setCheckable(). But they all would close the QMenu after being clicked.
Then I tried QCheckBox. It appeared in the up-left of menu, but only one is putted. QCheckBox requires a QWidget in constructor, so I can set it to QMenu. The QCheckBox can keep menu open after it was clicked, but I think there will be difficult to implement it well like this.
The qt-4.2 add a QWidgetAction. At first, I think using QWidgetAction can slove this. But later I realized the QWidgetACtion is still a action, and menu may still close after it send clicked signal to QWidgetAction.
Brade told me check QMenu’s code to find reason. I found the source of closing menu after a action was click, and trying to override the mouse event now. If I success, I may commit a update to KMenu.
When I look into QMenu’s source code, I am feeling the power of Open Source….
If I failed, I will choose a traditional way : a category dialog.
Tags:KDE KNotes SoKIt’s amazing…
Just two days ago, I was anxious about if I can complete it on time. But after two days work, the process far beyond my imagine.
Now I completed the classified note menu. The categories information was stored in journal object, as it was. So I only set the categories and classified it.
Now click the icon in systray will show sub menus, with different categories name. There is a “Default” categories, which was provided for note with no category. The next step was adding setting function of category. I supposed to implement it as a sub menu with can be checked and unchecked. Also a function provide adding.
In fact, I didn’t store category information. If there is no note with this category, the one will be deleted automaticlly. This design may be changed later. But I think it is proper for no delete function.
Tags:KDE KNotes SoKMaybe it is too late for this.
I am very sorry about the delay of KNote development. I am trying to find a balance between my intern job and KNote development. But it seems I am failed in the last serveral weeks. Intern job makes me very tired.
I set a schedule now in order to catch up with process:
8.31 Complete function experiment 9.10 Complete categories first version in KNote 10.10 Complete categories function in KNote 11.10 Complete update in Kontact
The time before Sep 10th is few. I even a little doubt about if I can complete first version on time. But on the other side, I don’t think it is difficult if I am more familiar with KDE development.
I will have a try.
It is so slowly. I almost can’t bear endless problems in compiling KDE4 and kdepim. It’s a nightmare, and the reason I didn’t find yet.
I wasted two weeks on setting up enviorment, partly because of my intern takes me much time. It also because of my inexperience. In fact, in these day, I was so dispirited…
I will speed up on development.
That’s all by now.