[KDE-India] Latest version of official QT book published

G Karunakar indlinux at gmail.com
Wed Aug 2 13:35:49 CEST 2006


On 8/2/06, Pradeepto Bhattacharya <pradeeptob at gmail.com> wrote:
> Hi Karunakar,
>
> On 8/1/06, G Karunakar <indlinux at gmail.com> wrote:
> > >
> >  Anyone have the PDF link for old book... I dont mind reading 3.x
> > stuff, since thats the version available on system.
> >
>
>           If you are seriously considering reading about Qt
> development, please read programming with Qt4 instead of Qt3. In case
> of PyQt please use PyQt4. I am sure most distributions have these
> packages. The docs come with very good docs, tutorials and examples.
> One of the main things to work on is "Interview" concepts which was
> never there in Qt3.
>
>           Karunakar, if you are still using Debian, this shouldnot be
> a problem, I am sure Debian Testing/Unstable has Qt4/PyQt4 packages.
> And in anycase you cal always build from source which is a better
> option perhaps.
>

I installed Qt4 realized the differences early on.. will work with 4.x
only & will buy the book!.

i was just playing with this

        QTextEdit *text = new QTextEdit(vbox);
        QPushButton *greet = new QPushButton("Greet", vbox);
        QTextEdit *text2 = new QTextEdit(vbox);
        QPushButton *quita = new QPushButton("Quit", vbox);

        text->setText("");
        text2->setText("");

        QObject::connect(greet, SIGNAL(clicked()),
                        text2, SLOT(setText(QString)));
        QObject::connect(text, SIGNAL(valueChanged()),
                        text2, SLOT(setText(QString)));

on clicking greet, display the entered text of "text" in  "text2",
whats the correct way?
i guess may figure that out few lessons down, but nyways asking :)

Karunakar


More information about the KDE-india mailing list