#include <PopupEditorWindow.h>
SinglePopupEditor::SinglePopupEditor |
( |
QWidget * |
par | ) |
|
References __tr2qs_ctx(), connect(), KviScriptEditor::createInstance(), customContextMenuRequested(), g, l, m_pClipboard, m_pConditionEditor, m_pContextPopup, m_pEditor, m_pExtNameEditor, m_pIconEditor, m_pIdEditor, m_pLastSelectedItem, m_pMenuButton, m_pNameEditor, m_pTestPopup, m_pTextEditor, m_pTreeWidget, selectionChanged(), spl, and testPopup().
SinglePopupEditor::~SinglePopupEditor |
( |
| ) |
|
References KviKvsPopupMenu::addEpilogue(), KviKvsPopupMenu::addExtPopup(), KviKvsPopupMenu::addItem(), KviKvsPopupMenu::addLabel(), KviKvsPopupMenu::addPopup(), KviKvsPopupMenu::addPrologue(), KviKvsPopupMenu::addSeparator(), PopupTreeWidgetItem::Epilogue, PopupTreeWidgetItem::ExtMenu, i, PopupTreeWidgetItem::Item, PopupTreeWidgetItem::Label, PopupTreeWidgetItem::m_szCode, PopupTreeWidgetItem::m_szCondition, PopupTreeWidgetItem::m_szIcon, PopupTreeWidgetItem::m_szId, PopupTreeWidgetItem::m_szText, PopupTreeWidgetItem::m_type, PopupTreeWidgetItem::Menu, PopupTreeWidgetItem::Prologue, and PopupTreeWidgetItem::Separator.
Referenced by contextCopy(), and getMenu().
void SinglePopupEditor::contextCopy |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextCut |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewEpilogue |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewExtMenuAbove |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewExtMenuBelow |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewExtMenuInside |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewItemAbove |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewItemBelow |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewItemInside |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewLabelAbove |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewLabelBelow |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewLabelInside |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewMenuAbove |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewMenuBelow |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewMenuInside |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewPrologue |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewSeparatorAbove |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewSeparatorBelow |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextNewSeparatorInside |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextPasteAbove |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextPasteBelow |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextPasteInside |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::contextRemove |
( |
| ) |
|
|
protectedslot |
void SinglePopupEditor::customContextMenuRequested |
( |
const QPoint & |
pnt | ) |
|
|
protectedslot |
References __tr2qs_ctx(), contextCopy(), contextCut(), contextNewEpilogue(), contextNewExtMenuAbove(), contextNewExtMenuBelow(), contextNewExtMenuInside(), contextNewItemAbove(), contextNewItemBelow(), contextNewItemInside(), contextNewLabelAbove(), contextNewLabelBelow(), contextNewLabelInside(), contextNewMenuAbove(), contextNewMenuBelow(), contextNewMenuInside(), contextNewPrologue(), contextNewSeparatorAbove(), contextNewSeparatorBelow(), contextNewSeparatorInside(), contextPasteAbove(), contextPasteBelow(), contextPasteInside(), contextRemove(), KviIconManager::Copy, KviIconManager::Cut, KviIconManager::Discard, KviIconManager::Epilogue, g_pIconManager, KviIconManager::getSmallIcon(), m_pClipboard, m_pContextPopup, m_pTreeWidget, PopupTreeWidgetItem::Menu, KviIconManager::Paste, and KviIconManager::Prologue.
Referenced by SinglePopupEditor().
References m_pConditionEditor, m_pEditor, m_pExtNameEditor, m_pIconEditor, m_pIdEditor, m_pLastSelectedItem, m_pMenuButton, m_pNameEditor, MenuTreeWidgetItem::m_pPopup, m_pTextEditor, m_pTreeWidget, populateMenu(), KviKvsPopupMenu::popupName(), saveLastSelectedItem(), selectionChanged(), and KviScriptEditor::setText().
Referenced by PopupEditorWidget::currentItemChanged(), and PopupEditorWidget::popupRefresh().
References KviKvsScript::code(), i, PopupTreeWidgetItem::Item, KviKvsPopupMenuItem::Item, KviKvsPopupMenuItem::kvsCode(), KviKvsPopupMenuItem::kvsCondition(), KviKvsPopupMenuItem::kvsIcon(), KviKvsPopupMenuItem::kvsText(), PopupTreeWidgetItem::m_szCode, PopupTreeWidgetItem::m_szCondition, PopupTreeWidgetItem::m_szIcon, PopupTreeWidgetItem::m_szId, PopupTreeWidgetItem::m_szText, PopupTreeWidgetItem::m_type, KviKvsPopupMenuItem::name(), and KviKvsPopupMenuItem::type().
Referenced by testModeMenuItemClicked().
References PopupTreeWidgetItem::Epilogue, KviKvsPopupMenu::epilogues(), PopupTreeWidgetItem::ExtMenu, KviKvsPopupMenuItem::ExtMenu, KviPointerList< T >::first(), PopupTreeWidgetItem::Item, KviKvsPopupMenuItem::Item, KviKvsPopupMenu::itemList(), PopupTreeWidgetItem::Label, KviKvsPopupMenuItem::Label, m_pTreeWidget, PopupTreeWidgetItem::Menu, KviKvsPopupMenuItem::Menu, KviPointerList< T >::next(), PopupTreeWidgetItem::Prologue, KviKvsPopupMenu::prologues(), PopupTreeWidgetItem::Separator, KviKvsPopupMenuItem::Separator, PopupTreeWidgetItem::setCode(), PopupTreeWidgetItem::setCondition(), PopupTreeWidgetItem::setIcon(), PopupTreeWidgetItem::setId(), and PopupTreeWidgetItem::setItemText().
Referenced by contextPasteAbove(), contextPasteBelow(), contextPasteInside(), and edit().
void SinglePopupEditor::saveLastSelectedItem |
( |
| ) |
|
|
protected |
References PopupTreeWidgetItem::Epilogue, PopupTreeWidgetItem::ExtMenu, KviScriptEditor::getText(), PopupTreeWidgetItem::Item, PopupTreeWidgetItem::Label, m_pConditionEditor, m_pEditor, m_pExtNameEditor, m_pIconEditor, m_pIdEditor, m_pLastSelectedItem, m_pTextEditor, PopupTreeWidgetItem::m_type, PopupTreeWidgetItem::Menu, PopupTreeWidgetItem::Prologue, PopupTreeWidgetItem::Separator, PopupTreeWidgetItem::setCode(), PopupTreeWidgetItem::setCondition(), PopupTreeWidgetItem::setIcon(), PopupTreeWidgetItem::setId(), and PopupTreeWidgetItem::setItemText().
Referenced by edit(), getMenu(), selectionChanged(), and testModeMenuItemClicked().
void SinglePopupEditor::selectionChanged |
( |
| ) |
|
|
protectedslot |
References PopupTreeWidgetItem::Epilogue, PopupTreeWidgetItem::ExtMenu, PopupTreeWidgetItem::Item, PopupTreeWidgetItem::Label, m_pConditionEditor, m_pEditor, m_pExtNameEditor, m_pIconEditor, m_pIdEditor, m_pLastSelectedItem, m_pTextEditor, m_pTreeWidget, PopupTreeWidgetItem::Menu, PopupTreeWidgetItem::Prologue, saveLastSelectedItem(), PopupTreeWidgetItem::Separator, and KviScriptEditor::setText().
Referenced by contextCut(), contextRemove(), edit(), SinglePopupEditor(), and testModeMenuItemClicked().
void SinglePopupEditor::testPopup |
( |
| ) |
|
|
protectedslot |
QLineEdit* SinglePopupEditor::m_pConditionEditor |
|
protected |
QMenu* SinglePopupEditor::m_pContextPopup |
|
protected |
QLineEdit* SinglePopupEditor::m_pExtNameEditor |
|
protected |
QLineEdit* SinglePopupEditor::m_pIconEditor |
|
protected |
QLineEdit* SinglePopupEditor::m_pIdEditor |
|
protected |
Referenced by contextCopy(), contextCut(), contextNewEpilogue(), contextNewPrologue(), contextPasteAbove(), contextPasteBelow(), contextPasteInside(), contextRemove(), createNewItemAboveLastSelected(), createNewItemBelowLastSelected(), createNewItemInsideLastSelected(), edit(), saveLastSelectedItem(), selectionChanged(), and SinglePopupEditor().
QPushButton* SinglePopupEditor::m_pMenuButton |
|
protected |
QLineEdit* SinglePopupEditor::m_pNameEditor |
|
protected |
QLineEdit* SinglePopupEditor::m_pTextEditor |
|
protected |
QTreeWidget* SinglePopupEditor::m_pTreeWidget |
|
protected |
Referenced by contextNewEpilogue(), contextNewPrologue(), contextPasteAbove(), createNewItemAboveLastSelected(), createNewItemBelowLastSelected(), createNewItemInsideLastSelected(), customContextMenuRequested(), edit(), getMenu(), newItem(), newItemAbove(), populateMenu(), selectionChanged(), SinglePopupEditor(), and testModeMenuItemClicked().
The documentation for this class was generated from the following files: