KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
SinglePopupEditor Class Reference

#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=0)
 
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 ( QWidget *  par)
SinglePopupEditor::~SinglePopupEditor ( )

Member Function Documentation

void SinglePopupEditor::addItemToMenu ( KviKvsPopupMenu pop,
PopupTreeWidgetItem par 
)
protected
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::createNewItemAboveLastSelected ( PopupTreeWidgetItem::Type  t)
protected
void SinglePopupEditor::createNewItemBelowLastSelected ( PopupTreeWidgetItem::Type  t)
protected
void SinglePopupEditor::createNewItemInsideLastSelected ( PopupTreeWidgetItem::Type  t)
protected
void SinglePopupEditor::customContextMenuRequested ( const QPoint &  pnt)
protectedslot
void SinglePopupEditor::edit ( MenuTreeWidgetItem it)
PopupTreeWidgetItem * SinglePopupEditor::findMatchingItem ( KviKvsPopupMenuItem it,
PopupTreeWidgetItem item 
)
protected
KviKvsPopupMenu * SinglePopupEditor::getMenu ( )
PopupTreeWidgetItem * SinglePopupEditor::newItem ( PopupTreeWidgetItem par,
PopupTreeWidgetItem after,
PopupTreeWidgetItem::Type  t 
)
protected
PopupTreeWidgetItem * SinglePopupEditor::newItemAbove ( PopupTreeWidgetItem it,
PopupTreeWidgetItem::Type  t 
)
protected

References m_pTreeWidget, newItem(), and t().

Referenced by createNewItemAboveLastSelected().

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

References newItem(), and t().

Referenced by createNewItemBelowLastSelected(), and newItemInside().

PopupTreeWidgetItem * SinglePopupEditor::newItemInside ( PopupTreeWidgetItem it,
PopupTreeWidgetItem::Type  t 
)
protected
void SinglePopupEditor::populateMenu ( KviKvsPopupMenu pop,
PopupTreeWidgetItem par,
PopupTreeWidgetItem theItem = 0 
)
protected
void SinglePopupEditor::saveLastSelectedItem ( )
protected
void SinglePopupEditor::selectionChanged ( )
protectedslot
void SinglePopupEditor::testModeMenuItemClicked ( KviKvsPopupMenuItem it)
protectedslot
void SinglePopupEditor::testPopup ( )
protectedslot

Member Data Documentation

KviKvsPopupMenu* SinglePopupEditor::m_pClipboard
protected
QLineEdit* SinglePopupEditor::m_pConditionEditor
protected
QMenu* SinglePopupEditor::m_pContextPopup
protected
KviScriptEditor* SinglePopupEditor::m_pEditor
protected
QLineEdit* SinglePopupEditor::m_pExtNameEditor
protected
QLineEdit* SinglePopupEditor::m_pIconEditor
protected
QLineEdit* SinglePopupEditor::m_pIdEditor
protected
PopupTreeWidgetItem* SinglePopupEditor::m_pLastSelectedItem
protected
QPushButton* SinglePopupEditor::m_pMenuButton
protected

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

QLineEdit* SinglePopupEditor::m_pNameEditor
protected

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

KviKvsPopupMenu* SinglePopupEditor::m_pTestPopup
protected
QLineEdit* SinglePopupEditor::m_pTextEditor
protected
QTreeWidget* SinglePopupEditor::m_pTreeWidget
protected

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