#include <klflibview.h>
Public Slots | |
bool | apply () |
Protected Slots | |
void | slotResourcePropertyChanged (int propId) |
void | slotSubResourcePropertyChanged (const QString &subResource, int propId) |
void | on_btnAdvanced_toggled (bool on) |
void | advPropEdited (QStandardItem *item) |
void | advSubResPropEdited (QStandardItem *item) |
void | on_cbxSubResource_currentIndexChanged (int newSubResItemIndex) |
void | updateResourceProperties () |
void | updateSubResourceProperties () |
void | updateSubResources (const QString &curSubResource=QString()) |
Definition at line 997 of file klflibview.h.
KLFLibResPropEditor::KLFLibResPropEditor | ( | KLFLibResourceEngine * | resource, |
QWidget * | parent = 0 |
||
) |
Definition at line 4267 of file klflibview.cpp.
References advPropEdited(), advSubResPropEdited(), apply(), QPalette::color(), KLFLibResourceEngine::defaultSubResource(), KLFLibResourceEngine::FeatureSubResourceProps, KLFLibResourceEngine::FeatureSubResources, QPalette::setColor(), QStandardItemModel::setColumnCount(), QStandardItemModel::setHorizontalHeaderLabels(), slotResourcePropertyChanged(), slotSubResourcePropertyChanged(), KLFLibResourceEngine::supportedFeatureFlags(), updateResourceProperties(), updateSubResourceProperties(), and updateSubResources().
|
virtual |
Definition at line 4324 of file klflibview.cpp.
|
protectedslot |
Definition at line 4502 of file klflibview.cpp.
References QMessageBox::critical(), QStandardItem::data(), klfDbg, KLFPropertizedObject::propertyNameForId(), and KLFLibResourceEngine::setResourceProperty().
Referenced by KLFLibResPropEditor().
|
protectedslot |
Definition at line 4560 of file klflibview.cpp.
References QMessageBox::critical(), QStandardItem::data(), klfDbg, and KLFLibResourceEngine::setSubResourceProperty().
Referenced by KLFLibResPropEditor().
|
slot |
Definition at line 4329 of file klflibview.cpp.
References QMessageBox::critical(), KLFLibResourceEngine::FeatureSubResources, klfDbg, KLFLibResourceEngine::locked(), KLFLibResourceEngine::setDefaultSubResource(), KLFLibResourceEngine::setLocked(), KLFLibResourceEngine::setSubResourceProperty(), KLFLibResourceEngine::setTitle(), KLFLibResourceEngine::subResourceProperty(), KLFLibResourceEngine::SubResPropLocked, KLFLibResourceEngine::SubResPropTitle, KLFLibResourceEngine::supportedFeatureFlags(), KLFLibResourceEngine::title(), QVariant::toBool(), and QVariant::toString().
Referenced by KLFLibResPropEditorDlg::applyAndClose(), and KLFLibResPropEditor().
|
protectedslot |
Definition at line 4424 of file klflibview.cpp.
References QWidget::adjustSize(), klfDbg, QWidget::parentWidget(), and QWidget::update().
|
protectedslot |
Definition at line 4573 of file klflibview.cpp.
References slotSubResourcePropertyChanged(), KLFLibResourceEngine::subResourceProperty(), KLFLibResourceEngine::SubResPropLocked, KLFLibResourceEngine::SubResPropTitle, QVariant::toBool(), and QVariant::toString().
|
protectedslot |
Definition at line 4516 of file klflibview.cpp.
References updateResourceProperties(), and updateSubResources().
Referenced by KLFLibResPropEditor().
|
protectedslot |
Definition at line 4584 of file klflibview.cpp.
References updateSubResourceProperties(), and updateSubResources().
Referenced by KLFLibResPropEditor(), on_cbxSubResource_currentIndexChanged(), and updateSubResources().
|
protectedslot |
Definition at line 4522 of file klflibview.cpp.
References QStandardItemModel::appendRow(), QPalette::brush(), KLFLibResourceEngine::canModifyProp(), QString::chop(), QString::endsWith(), KLFLibResourceEngine::locked(), KLFPropertizedObject::propertyIdForName(), KLFLibResourceEngine::PropLocked, KLFLibResourceEngine::PropTitle, KLFPropertizedObject::registeredPropertyNameList(), KLFLibResourceEngine::resourceProperty(), QStandardItem::setBackground(), QStandardItem::setData(), QStandardItem::setEditable(), QStandardItem::setForeground(), QStandardItemModel::setRowCount(), KLFLibResourceEngine::title(), QVariant::toString(), QUrl::toString(), and KLFLibResourceEngine::url().
Referenced by KLFLibResPropEditor(), and slotResourcePropertyChanged().
|
protectedslot |
Definition at line 4603 of file klflibview.cpp.
References QStandardItemModel::appendRow(), QPalette::brush(), KLFLibResourceEngine::canModifySubResourceProperty(), QStandardItem::setBackground(), QStandardItem::setData(), QStandardItem::setEditable(), QStandardItem::setForeground(), QStandardItemModel::setRowCount(), QList::size(), KLFLibResourceEngine::subResourceProperty(), KLFLibResourceEngine::subResourcePropertyIdList(), KLFLibResourceEngine::subResourcePropertyName(), and QVariant::toString().
Referenced by KLFLibResPropEditor(), and slotSubResourcePropertyChanged().
|
protectedslot |
Definition at line 4445 of file klflibview.cpp.
References QString::isEmpty(), klfDbg, slotSubResourcePropertyChanged(), KLFLibResourceEngine::subResourceList(), KLFLibResourceEngine::subResourceProperty(), KLFLibResourceEngine::SubResPropLocked, KLFLibResourceEngine::SubResPropTitle, QVariant::toBool(), and QVariant::toString().
Referenced by KLFLibResPropEditor(), slotResourcePropertyChanged(), and slotSubResourcePropertyChanged().