#include <PopupEditorWindow.h>
◆ SinglePopupEditor()
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(), and testPopup().
◆ ~SinglePopupEditor()
SinglePopupEditor::~SinglePopupEditor |
( |
| ) |
|
◆ addItemToMenu()
References addItemToMenu(), KviKvsPopupMenu::addPopup(), 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, p, PopupTreeWidgetItem::Prologue, and PopupTreeWidgetItem::Separator.
Referenced by addItemToMenu(), contextCopy(), and getMenu().
◆ contextCopy
void SinglePopupEditor::contextCopy |
( |
| ) |
|
|
protectedslot |
◆ contextCut
void SinglePopupEditor::contextCut |
( |
| ) |
|
|
protectedslot |
◆ contextNewEpilogue
void SinglePopupEditor::contextNewEpilogue |
( |
| ) |
|
|
protectedslot |
◆ contextNewExtMenuAbove
void SinglePopupEditor::contextNewExtMenuAbove |
( |
| ) |
|
|
protectedslot |
◆ contextNewExtMenuBelow
void SinglePopupEditor::contextNewExtMenuBelow |
( |
| ) |
|
|
protectedslot |
◆ contextNewExtMenuInside
void SinglePopupEditor::contextNewExtMenuInside |
( |
| ) |
|
|
protectedslot |
◆ contextNewItemAbove
void SinglePopupEditor::contextNewItemAbove |
( |
| ) |
|
|
protectedslot |
◆ contextNewItemBelow
void SinglePopupEditor::contextNewItemBelow |
( |
| ) |
|
|
protectedslot |
◆ contextNewItemInside
void SinglePopupEditor::contextNewItemInside |
( |
| ) |
|
|
protectedslot |
◆ contextNewLabelAbove
void SinglePopupEditor::contextNewLabelAbove |
( |
| ) |
|
|
protectedslot |
◆ contextNewLabelBelow
void SinglePopupEditor::contextNewLabelBelow |
( |
| ) |
|
|
protectedslot |
◆ contextNewLabelInside
void SinglePopupEditor::contextNewLabelInside |
( |
| ) |
|
|
protectedslot |
◆ contextNewMenuAbove
void SinglePopupEditor::contextNewMenuAbove |
( |
| ) |
|
|
protectedslot |
◆ contextNewMenuBelow
void SinglePopupEditor::contextNewMenuBelow |
( |
| ) |
|
|
protectedslot |
◆ contextNewMenuInside
void SinglePopupEditor::contextNewMenuInside |
( |
| ) |
|
|
protectedslot |
◆ contextNewPrologue
void SinglePopupEditor::contextNewPrologue |
( |
| ) |
|
|
protectedslot |
◆ contextNewSeparatorAbove
void SinglePopupEditor::contextNewSeparatorAbove |
( |
| ) |
|
|
protectedslot |
◆ contextNewSeparatorBelow
void SinglePopupEditor::contextNewSeparatorBelow |
( |
| ) |
|
|
protectedslot |
◆ contextNewSeparatorInside
void SinglePopupEditor::contextNewSeparatorInside |
( |
| ) |
|
|
protectedslot |
◆ contextPasteAbove
void SinglePopupEditor::contextPasteAbove |
( |
| ) |
|
|
protectedslot |
◆ contextPasteBelow
void SinglePopupEditor::contextPasteBelow |
( |
| ) |
|
|
protectedslot |
◆ contextPasteInside
void SinglePopupEditor::contextPasteInside |
( |
| ) |
|
|
protectedslot |
◆ contextRemove
void SinglePopupEditor::contextRemove |
( |
| ) |
|
|
protectedslot |
◆ createNewItemAboveLastSelected()
◆ createNewItemBelowLastSelected()
◆ createNewItemInsideLastSelected()
◆ customContextMenuRequested
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().
◆ edit()
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().
◆ findMatchingItem()
References KviKvsScript::code(), findMatchingItem(), i, KviKvsPopupMenuItem::Item, PopupTreeWidgetItem::Item, KVI_ASSERT, 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 findMatchingItem(), and testModeMenuItemClicked().
◆ getMenu()
◆ newItem()
◆ newItemAbove()
◆ newItemBelow()
◆ newItemInside()
◆ populateMenu()
References KviKvsScript::code(), PopupTreeWidgetItem::Epilogue, KviKvsPopupMenu::epilogues(), KviKvsPopupMenuItem::ExtMenu, PopupTreeWidgetItem::ExtMenu, KviPointerList< T >::first(), KviKvsPopupMenuItem::Item, PopupTreeWidgetItem::Item, KviKvsPopupMenu::itemList(), KviKvsPopupMenuItem::kvsCondition(), KviKvsPopupMenuItemWithTextAndIcon::kvsIcon(), KviKvsPopupMenuItemWithTextAndIcon::kvsText(), KviKvsPopupMenuItem::Label, PopupTreeWidgetItem::Label, m_pTreeWidget, KviKvsPopupMenuItem::Menu, PopupTreeWidgetItem::Menu, KviKvsPopupMenuItem::name(), KviPointerList< T >::next(), populateMenu(), PopupTreeWidgetItem::Prologue, KviKvsPopupMenu::prologues(), KviKvsPopupMenuItem::Separator, PopupTreeWidgetItem::Separator, PopupTreeWidgetItem::setCode(), PopupTreeWidgetItem::setCondition(), PopupTreeWidgetItem::setIcon(), PopupTreeWidgetItem::setId(), and PopupTreeWidgetItem::setItemText().
Referenced by contextPasteAbove(), contextPasteBelow(), contextPasteInside(), edit(), and populateMenu().
◆ saveLastSelectedItem()
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 contextCut(), edit(), getMenu(), selectionChanged(), and testModeMenuItemClicked().
◆ selectionChanged
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().
◆ testModeMenuItemClicked
◆ testPopup
void SinglePopupEditor::testPopup |
( |
| ) |
|
|
protectedslot |
◆ m_pClipboard
◆ m_pConditionEditor
QLineEdit* SinglePopupEditor::m_pConditionEditor |
|
protected |
◆ m_pContextPopup
QMenu* SinglePopupEditor::m_pContextPopup |
|
protected |
◆ m_pEditor
◆ m_pExtNameEditor
QLineEdit* SinglePopupEditor::m_pExtNameEditor |
|
protected |
◆ m_pIconEditor
QLineEdit* SinglePopupEditor::m_pIconEditor |
|
protected |
◆ m_pIdEditor
QLineEdit* SinglePopupEditor::m_pIdEditor |
|
protected |
◆ m_pLastSelectedItem
Referenced by contextCopy(), contextCut(), contextNewEpilogue(), contextNewPrologue(), contextPasteAbove(), contextPasteBelow(), contextPasteInside(), contextRemove(), createNewItemAboveLastSelected(), createNewItemBelowLastSelected(), createNewItemInsideLastSelected(), edit(), saveLastSelectedItem(), selectionChanged(), and SinglePopupEditor().
◆ m_pMenuButton
QPushButton* SinglePopupEditor::m_pMenuButton |
|
protected |
◆ m_pNameEditor
QLineEdit* SinglePopupEditor::m_pNameEditor |
|
protected |
◆ m_pTestPopup
◆ m_pTextEditor
QLineEdit* SinglePopupEditor::m_pTextEditor |
|
protected |
◆ m_pTreeWidget
QTreeWidget* SinglePopupEditor::m_pTreeWidget |
|
protected |
Referenced by contextCut(), contextNewEpilogue(), contextNewPrologue(), contextPasteAbove(), contextRemove(), createNewItemAboveLastSelected(), createNewItemBelowLastSelected(), createNewItemInsideLastSelected(), customContextMenuRequested(), edit(), getMenu(), newItem(), newItemAbove(), populateMenu(), selectionChanged(), SinglePopupEditor(), and testModeMenuItemClicked().
The documentation for this class was generated from the following files: