KVIrc 5.2.0
Developer APIs
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
SinglePopupEditor Class Referencefinal

#include <PopupEditorWindow.h>

+ Inheritance diagram for SinglePopupEditor:

Public Member Functions

void edit (MenuTreeWidgetItem *it)
 
KviKvsPopupMenugetMenu ()
 
 SinglePopupEditor (QWidget *par)
 
 ~SinglePopupEditor ()
 

Protected Slots

void contextCopy ()
 
void contextCut ()
 
void contextNewEpilogue ()
 
void contextNewExtMenuAbove ()
 
void contextNewExtMenuBelow ()
 
void contextNewExtMenuInside ()
 
void contextNewItemAbove ()
 
void contextNewItemBelow ()
 
void contextNewItemInside ()
 
void contextNewLabelAbove ()
 
void contextNewLabelBelow ()
 
void contextNewLabelInside ()
 
void contextNewMenuAbove ()
 
void contextNewMenuBelow ()
 
void contextNewMenuInside ()
 
void contextNewPrologue ()
 
void contextNewSeparatorAbove ()
 
void contextNewSeparatorBelow ()
 
void contextNewSeparatorInside ()
 
void contextPasteAbove ()
 
void contextPasteBelow ()
 
void contextPasteInside ()
 
void contextRemove ()
 
void customContextMenuRequested (const QPoint &pnt)
 
void selectionChanged ()
 
void testModeMenuItemClicked (KviKvsPopupMenuItem *it)
 
void testPopup ()
 

Protected Member Functions

void addItemToMenu (KviKvsPopupMenu *pop, PopupTreeWidgetItem *par)
 
void createNewItemAboveLastSelected (PopupTreeWidgetItem::Type t)
 
void createNewItemBelowLastSelected (PopupTreeWidgetItem::Type t)
 
void createNewItemInsideLastSelected (PopupTreeWidgetItem::Type t)
 
PopupTreeWidgetItemfindMatchingItem (KviKvsPopupMenuItem *it, PopupTreeWidgetItem *item)
 
PopupTreeWidgetItemnewItem (PopupTreeWidgetItem *par, PopupTreeWidgetItem *after, PopupTreeWidgetItem::Type t)
 
PopupTreeWidgetItemnewItemAbove (PopupTreeWidgetItem *it, PopupTreeWidgetItem::Type t)
 
PopupTreeWidgetItemnewItemBelow (PopupTreeWidgetItem *it, PopupTreeWidgetItem::Type t)
 
PopupTreeWidgetItemnewItemInside (PopupTreeWidgetItem *it, PopupTreeWidgetItem::Type t)
 
void populateMenu (KviKvsPopupMenu *pop, PopupTreeWidgetItem *par, PopupTreeWidgetItem *theItem=nullptr)
 
void saveLastSelectedItem ()
 

Protected Attributes

KviKvsPopupMenum_pClipboard
 
QLineEdit * m_pConditionEditor
 
QMenu * m_pContextPopup
 
KviScriptEditorm_pEditor
 
QLineEdit * m_pExtNameEditor
 
QLineEdit * m_pIconEditor
 
QLineEdit * m_pIdEditor
 
PopupTreeWidgetItemm_pLastSelectedItem
 
QPushButton * m_pMenuButton
 
QLineEdit * m_pNameEditor
 
KviKvsPopupMenum_pTestPopup
 
QLineEdit * m_pTextEditor
 
QTreeWidget * m_pTreeWidget
 

Constructor & Destructor Documentation

◆ SinglePopupEditor()

SinglePopupEditor::SinglePopupEditor ( QWidget *  par)

◆ ~SinglePopupEditor()

SinglePopupEditor::~SinglePopupEditor ( )

Member Function Documentation

◆ addItemToMenu()

void SinglePopupEditor::addItemToMenu ( KviKvsPopupMenu pop,
PopupTreeWidgetItem par 
)
protected

◆ 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()

void SinglePopupEditor::createNewItemAboveLastSelected ( PopupTreeWidgetItem::Type  t)
protected

◆ createNewItemBelowLastSelected()

void SinglePopupEditor::createNewItemBelowLastSelected ( PopupTreeWidgetItem::Type  t)
protected

◆ createNewItemInsideLastSelected()

void SinglePopupEditor::createNewItemInsideLastSelected ( PopupTreeWidgetItem::Type  t)
protected

◆ customContextMenuRequested

void SinglePopupEditor::customContextMenuRequested ( const QPoint &  pnt)
protectedslot

◆ edit()

void SinglePopupEditor::edit ( MenuTreeWidgetItem it)

◆ findMatchingItem()

PopupTreeWidgetItem * SinglePopupEditor::findMatchingItem ( KviKvsPopupMenuItem it,
PopupTreeWidgetItem item 
)
protected

◆ getMenu()

KviKvsPopupMenu * SinglePopupEditor::getMenu ( )

◆ newItem()

PopupTreeWidgetItem * SinglePopupEditor::newItem ( PopupTreeWidgetItem par,
PopupTreeWidgetItem after,
PopupTreeWidgetItem::Type  t 
)
protected

◆ newItemAbove()

PopupTreeWidgetItem * SinglePopupEditor::newItemAbove ( PopupTreeWidgetItem it,
PopupTreeWidgetItem::Type  t 
)
protected

References m_pTreeWidget, newItem(), and t.

Referenced by createNewItemAboveLastSelected().

◆ newItemBelow()

PopupTreeWidgetItem * SinglePopupEditor::newItemBelow ( PopupTreeWidgetItem it,
PopupTreeWidgetItem::Type  t 
)
protected

References newItem(), and t.

Referenced by createNewItemBelowLastSelected(), and newItemInside().

◆ newItemInside()

PopupTreeWidgetItem * SinglePopupEditor::newItemInside ( PopupTreeWidgetItem it,
PopupTreeWidgetItem::Type  t 
)
protected

◆ populateMenu()

void SinglePopupEditor::populateMenu ( KviKvsPopupMenu pop,
PopupTreeWidgetItem par,
PopupTreeWidgetItem theItem = nullptr 
)
protected

◆ saveLastSelectedItem()

void SinglePopupEditor::saveLastSelectedItem ( )
protected

◆ selectionChanged

void SinglePopupEditor::selectionChanged ( )
protectedslot

◆ testModeMenuItemClicked

void SinglePopupEditor::testModeMenuItemClicked ( KviKvsPopupMenuItem it)
protectedslot

◆ testPopup

void SinglePopupEditor::testPopup ( )
protectedslot

Member Data Documentation

◆ m_pClipboard

KviKvsPopupMenu* SinglePopupEditor::m_pClipboard
protected

◆ m_pConditionEditor

QLineEdit* SinglePopupEditor::m_pConditionEditor
protected

◆ m_pContextPopup

QMenu* SinglePopupEditor::m_pContextPopup
protected

◆ m_pEditor

KviScriptEditor* SinglePopupEditor::m_pEditor
protected

◆ m_pExtNameEditor

QLineEdit* SinglePopupEditor::m_pExtNameEditor
protected

◆ m_pIconEditor

QLineEdit* SinglePopupEditor::m_pIconEditor
protected

◆ m_pIdEditor

QLineEdit* SinglePopupEditor::m_pIdEditor
protected

◆ m_pLastSelectedItem

PopupTreeWidgetItem* SinglePopupEditor::m_pLastSelectedItem
protected

◆ m_pMenuButton

QPushButton* SinglePopupEditor::m_pMenuButton
protected

Referenced by edit(), SinglePopupEditor(), and testPopup().

◆ m_pNameEditor

QLineEdit* SinglePopupEditor::m_pNameEditor
protected

Referenced by edit(), getMenu(), and SinglePopupEditor().

◆ m_pTestPopup

KviKvsPopupMenu* SinglePopupEditor::m_pTestPopup
protected

◆ m_pTextEditor

QLineEdit* SinglePopupEditor::m_pTextEditor
protected

◆ m_pTreeWidget

QTreeWidget* SinglePopupEditor::m_pTreeWidget
protected

The documentation for this class was generated from the following files: