Title of a QDialog

Rainer Mühlhoff rmuehlhoff at wtal.de
Sun Jan 16 14:32:59 GMT 2000


Hello!

Does anybody know how to change that title of a QDialog being written in
the
title-bar of the dialog's window?
As default, the title ist the name I've once given to my KDevelop
project.

My dialog's source code:

class filedialog : public QDialog
{
 Q_OBJECT

public:
 filedialog(QWidget *parent=0, const char *name=0);
 ~filedialog();

[...]

};


filedialog::filedialog(QWidget *parent, const char *name) : QDialog(
parent, name, TRUE )
{
 initWidgets();
}

filedialog::~filedialog()
{
}

filedialog *dialog;
dialog= new filedialog(this, "NoName");

In the Qt Class Reference I can't find any function to change the title
of
such a Dialog.
So if you know how to do, please write to rmuehlhoff at wtal.de becaus I'm
not a
member of the mailingslis at the moment.

Thanks!

Rainer M.








More information about the KDevelop mailing list