Infinity Perl : slack-get, Perl, Qt, KDE and other Open source stuffs

To content | To menu | To search

Saturday 30 August 2008

slack-get user interface: step 1, how I see the futur

Hi,

as I already said I am currently developping the C++ API of slack-get. I also wrote that I am concentrating on usefull part of the API, skipping the generative parts that are not absolutly required at the moment. So in parallel to this development, I made some tests for the graphical user interface. I came up with the conclusion that there is 2 different way to use slack-get :

  1. Keep a Slackware box up-to-date by installing security fixes and Slackware patches
  2. Keep a box up-to-date, upgrade and install packages (but not patches)
So, considering that I decided to come with 2 different GUI : a dock application to tell users that there is patches available and the full graphical client (like the previous slack-get GUI).
I starts coding a little widget (Slackget::QSimpleUpdate). This one looks like that :


I am interested in any opinion/advice/suggestion concerning this. The code of this proof-of-concept is available on the SVN (in trunk/src/QSimpleUpdate/). I made it themable thanks to Qt4 support of CSS.
So far, I think it is a quite fine dock application. I wanted it to be simple to get working, and I also wanted that this widget is able to display enough informations.

That's all for today :)

Arnaud Dupuis

Saturday 8 March 2008

PKanaEditor - The "P" Kana Editor v0.2 - windows binaries

Hi,
Since I'm currently working on a windows xp computer, I got the occasion to compile PKanaEditor on this platform.
So, attached to this post is the windows installer containing required Qt dll and PKanaEditor binary.

This version is provided for convenience without any guarantee it will work on your windows install ;-)

Enjoy !

Arnaud Dupuis

Tuesday 26 February 2008

Public test of the PKanaEditor main widgets (KanaEditor, KanaTextEdit and KanaListWidgetItem)

Hi,

I finished to implements almost all features I wanted for PKanaEditor 0.2... in the editor widget. Well that left some works to have a complete application working smooth and fine. But since the editor widget is almost finished, I would like to have some feedback.
So I hereby release the first alpha version of this editor. Please note that this is not the complete application, it do not allow you to save your work and do nothing else but to translate what you write from romanji to kana.

I still would like some feedback about the choice I made in the implementation.
I am particularly interested in your opinion about the following points :
  • the way the kana are automatically presented to user (the completion through the "helper" popup)
  • the contextual help system (when you let your mouse above a kana a tooltip with a big version of the kana and it's meaning (for kanjis) is drawn)
  • your global feeling about this editor.
Please keep in mind that this is only the editor part of the software !
There is still time before the release of the whole program. So if some brave souls could test this editor and give me interesting feedback, I could make it better.

In order to use this editor you have to compile it. This means you need Qt4 (at least 4.2.0 but 4.3.0 or newer is recommended), g++ and make.
To compile the code for your plateform you just have to do the followings :
qmake PKanaEditor.pro
make
./PKanaEditor


I tested it on GNU/Linux (Slackware+KDE) and Windows XP and it should compile and run on Mac OS X and most of the common Unice (*BSD, etc.).
Here is a screenshot of the windows xp version :


I hope you will like it !

don't forget: feel free to send me your feelings about this... Did I mention that I wanted feedback ?

Arnaud Dupuis

Monday 25 February 2008

PKanaEditor updates

Hi,
After some thoughs I choose to change the way the helper is shown in the KanaEditor.
The tab-based widget was not easy to use in real usage conditions.
So I changed the thing and made a new helper based on a single QListWidget.
Here is the new result on Linux/KDE :


And on windows XP :

I think the Japanese font installed on the windows I use are just crappy.
Else, I can't explain the difference in quality between the windows version and the Linux one.
Next time, I will try to compile it on apple's Mac OS X.

Last but not least, I made a Qt Designer plugin of this KanaEditor widget. And thanks to the guy of irc://irc.freenode.net#qt I fixed a damn semi-colon at the end of the class definition which was "preventing" my code to compile...

See you later.

Arnaud Dupuis

Wednesday 20 February 2008

PKanaEditor new version proof of concept

Hi,
I never talk about my private life (or very few), but this time it had an influence on my Open Source work !
So here is the information : I will be married by june !
And my futur wife and I decided to spend our honeymoon in Japan... So make the link by yourself between this journey and PKanaEditor ;-)

So I have begin to code a proof of concept in C++/Qt4 and with some surprise it works pretty good ! Have a look at this screenshots :


Moreover, my new mission force me to code under microsoft windows xp, so I tried to recompile this PoC under windows and it works too ! Have a look :


Dudes from Trolltech made some incredible works ! I know it works since years but I didn't put my hands on a windows computer  in more than 8 years, and at this time I wasn't programming at all... I was too young ;-).

I now lack the XML loading of the data file and this PoC will be a stable version :)

For those who are interested in Qt programming, I do the trick translating romanji to (hiraga|kataka)na|kanji by subclassing QListWidgetItem and adding a _romanji internal QString to this item. The actual displayed character is set as the item text. Pretty simple, like the major part of Qt programming !!

The only real problem is to find a new meaning to the "P" of PKanaEditor (because it originally means Perl Kana Editor)...

Arnaud Dupuis

Thursday 13 December 2007

Trolltech's big move !

TodayTrolltech announced that the Phonon back-ends they have developped are being hosted on KDE's SVN repository !
That's a hell of great news since it bring back-ends for both windows and Mac OS X KDE's port !
As a programmer I'm very excited with KDE 4 and all the things around like Phonon, Solid and the others. And since I'm a big fan of Qt I'm very glad that Trolltech made such a great move.
Keep going on !

Arnaud Dupuis

Saturday 15 September 2007

Qt 4.3.1 second package

After the first package we released, here is the second version.


Changes are only in the configuration :
./configure -prefix /usr/lib/qt4 -glib -opengl -confirm-license

So now the base directory is /usr/lib/qt. There is no other changes in this package.
I'm looking forward for the next Qt 4 release !

Download link: qt-4.3.1-i386-2.tgz

Arnaud Dupuis

Saturday 8 September 2007

Qt 4.3.1 first package

Here is the first public release of the Qt4 package. This package is the last version of Qt4 (4.3.1).

I already use it successfully. The package was built from qt-x11-opensource-src-4.3.1 with the following configure : ./configure -prefix /usr -glib -opengl

If you don't want to replace your Qt 3 installation please use :

installpkg -root /usr/local/ qt-4.3.1-i386-1.tgz

Feel free to send me (or drop here) your comment or suggestion.

Enjoy !

download link: qt-4.3.1-i386-1.tgz

Arnaud Dupuis