Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QWidget * TextFinder::loadUiFile (  ) [private]

[3c]

[4]

Definition at line 79 of file textfinder.cpp.

References QFile::close(), QUiLoader::load(), and QFile::open().

Referenced by TextFinder().

{
    QUiLoader loader;

    QFile file(":/forms/textfinder.ui");
    file.open(QFile::ReadOnly);

    QWidget *formWidget = loader.load(&file, this);
    file.close();

    return formWidget;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index