Predifined graphical kit aliases

QT is naming some graphical objects differently given the window manager used. Some aliases are predefined to point to the same objects for multiple window managers.

Here is the file content that defines these aliases:

[default]
QT_FILE_DIALOG = QFileDialog
QT_FILE_DIALOG_LINE_EDIT = {QT_FILE_DIALOG}::fileNameEdit
QT_FILE_DIALOG_BTN_OK = {QT_FILE_DIALOG}::buttonBox::QPushButton

[kde]
QT_FILE_DIALOG = KFileDialog
QT_FILE_DIALOG_LINE_EDIT = {QT_FILE_DIALOG}::KFileWidget::KUrlComboBox::KLineEdit
QT_FILE_DIALOG_BTN_OK = {QT_FILE_DIALOG}::KFileWidget::KPushButton

Each section defines a particular graphical kit (window manager), default being the kit used by default.

You can use these aliases in the aliases file in a standard way (between {}).

Note

Currently the famework does not identify automatically which window manager is used - default is always used.

To use another graphical kit, you have to specify it with the funq-gkit nose option. Example:

nosetests --with-funq --funq-gkit kde