#include <klflibview.h>
Public Types | |
typedef KLFLibEngineFactory::Parameters | Parameters |
Public Slots | |
virtual void | accept () |
virtual void | reject () |
Public Member Functions | |
KLFLibCreateResourceDlg (const QString &defaultWtype, QWidget *parent=0) | |
virtual | ~KLFLibCreateResourceDlg () |
virtual Parameters | getCreateParameters () const |
Static Public Member Functions | |
static KLFLibResourceEngine * | createResource (const QString &defaultWtype, QObject *resourceParent, QWidget *parent=0) |
Protected Slots | |
virtual void | updateReadyToCreateFromSender (bool isready) |
virtual void | updateReadyToCreate () |
Definition at line 959 of file klflibview.h.
Definition at line 963 of file klflibview.h.
KLFLibCreateResourceDlg::KLFLibCreateResourceDlg | ( | const QString & | defaultWtype, |
QWidget * | parent = 0 |
||
) |
Definition at line 4100 of file klflibview.cpp.
References KLFLibWidgetFactory::allSupportedWTypes(), KLFLibWidgetFactory::createPromptCreateParametersWidget(), KLFLibWidgetFactory::findFactoryFor(), QVariant::fromValue(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, updateReadyToCreate(), updateReadyToCreateFromSender(), and KLFLibWidgetFactory::widgetTypeTitle().
KLFLibCreateResourceDlg::~KLFLibCreateResourceDlg | ( | ) | [virtual] |
Definition at line 4148 of file klflibview.cpp.
void KLFLibCreateResourceDlg::accept | ( | ) | [virtual, slot] |
Reimplemented from QDialog.
Definition at line 4172 of file klflibview.cpp.
References getCreateParameters(), and reject().
KLFLibResourceEngine * KLFLibCreateResourceDlg::createResource | ( | const QString & | defaultWtype, |
QObject * | resourceParent, | ||
QWidget * | parent = 0 |
||
) | [static] |
Definition at line 4210 of file klflibview.cpp.
References KLFLibEngineFactory::createResource(), QDialog::exec(), KLFLibEngineFactory::findFactoryFor(), QString::isEmpty(), KLF_ASSERT_NOT_NULL, and QDialog::result().
Referenced by KLFLibBrowser::slotResourceNew().
KLFLibEngineFactory::Parameters KLFLibCreateResourceDlg::getCreateParameters | ( | ) | const [virtual] |
Definition at line 4153 of file klflibview.cpp.
References KLFLibWidgetFactory::findFactoryFor(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, and KLFLibWidgetFactory::retrieveCreateParametersFromWidget().
Referenced by accept().
void KLFLibCreateResourceDlg::reject | ( | ) | [virtual, slot] |
void KLFLibCreateResourceDlg::updateReadyToCreate | ( | ) | [protected, virtual, slot] |
Definition at line 4199 of file klflibview.cpp.
References QVariant::isValid(), and QVariant::toBool().
Referenced by KLFLibCreateResourceDlg(), and updateReadyToCreateFromSender().
void KLFLibCreateResourceDlg::updateReadyToCreateFromSender | ( | bool | isready | ) | [protected, virtual, slot] |
Definition at line 4193 of file klflibview.cpp.
References QObject::setProperty(), and updateReadyToCreate().
Referenced by KLFLibCreateResourceDlg().