Dialog prompting user to choose a resource and a sub-resource to open. More...
#include <klflibview.h>
Public Member Functions | |
KLFLibOpenResourceDlg (const QUrl &defaultlocation=QUrl(), QWidget *parent=0) | |
virtual | ~KLFLibOpenResourceDlg () |
virtual QUrl | url () const |
![]() | |
QDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
accept () | |
accepted () | |
done (int r) | |
exec () | |
finished (int result) | |
reject () | |
rejected () | |
result () | |
setResult (int i) | |
QDialog (QWidget *parent, const char *name, bool modal=false, Qt::WindowFlags f=0) | |
Static Public Member Functions | |
static QUrl | queryOpenResource (const QUrl &defaultlocation=QUrl(), QWidget *parent=0) |
Protected Slots | |
virtual void | updateReadyToOpenFromSender (bool isready) |
virtual void | updateReadyToOpen () |
Protected Member Functions | |
virtual QUrl | retrieveRawUrl () const |
Dialog prompting user to choose a resource and a sub-resource to open.
Definition at line 936 of file klflibview.h.
KLFLibOpenResourceDlg::KLFLibOpenResourceDlg | ( | const QUrl & | defaultlocation = QUrl() , |
QWidget * | parent = 0 |
||
) |
Definition at line 3986 of file klflibview.cpp.
References KLFLibWidgetFactory::allSupportedWTypes(), KLFLibEngineFactory::correspondingWidgetType(), KLFLibWidgetFactory::createPromptUrlWidget(), KLFLibWidgetFactory::findFactoryFor(), KLFLibEngineFactory::findFactoryFor(), QVariant::fromValue(), QStringList::indexOf(), QUrl::isEmpty(), QString::isEmpty(), QUrl::scheme(), updateReadyToOpen(), updateReadyToOpenFromSender(), and KLFLibWidgetFactory::widgetTypeTitle().
|
virtual |
Definition at line 4037 of file klflibview.cpp.
|
static |
Definition at line 4111 of file klflibview.cpp.
References QDialog::exec(), QDialog::result(), and url().
Referenced by KLFLibBrowser::slotResourceOpen().
|
protectedvirtual |
Definition at line 4042 of file klflibview.cpp.
References KLFLibWidgetFactory::findFactoryFor(), and KLFLibWidgetFactory::retrieveUrlFromWidget().
Referenced by updateReadyToOpen(), and url().
|
protectedvirtualslot |
Definition at line 4074 of file klflibview.cpp.
References QMap::begin(), QMap::end(), QString::isEmpty(), QMap::isEmpty(), QVariant::isValid(), KLF_ASSERT_NOT_NULL, KLFLibEngineFactory::listSubResourcesWithTitles(), retrieveRawUrl(), and QVariant::toBool().
Referenced by KLFLibOpenResourceDlg(), and updateReadyToOpenFromSender().
|
protectedvirtualslot |
Definition at line 4067 of file klflibview.cpp.
References QObject::setProperty(), and updateReadyToOpen().
Referenced by KLFLibOpenResourceDlg().
|
virtual |
Definition at line 4051 of file klflibview.cpp.
References QUrl::addQueryItem(), QUrl::isEmpty(), klfDbg, and retrieveRawUrl().
Referenced by queryOpenResource().