KVIrc 5.2.6
Developer APIs
PopupEditorWidget Class Referencefinal

#include <PopupEditorWindow.h>

+ Inheritance diagram for PopupEditorWidget:

Public Member Functions

void commit ()
 
void exportPopups (bool)
 
 PopupEditorWidget (QWidget *par)
 

Public Attributes

bool m_bOneTimeSetupDone
 
bool m_bSaving
 
QMenu * m_pContextPopup
 
SinglePopupEditorm_pEditor
 
QMenu * m_pEmptyContextPopup
 
MenuTreeWidgetItemm_pLastEditedItem
 
QTreeWidget * m_pTreeWidget
 

Protected Slots

void currentItemChanged (QTreeWidgetItem *it, QTreeWidgetItem *prev)
 
void customContextMenuRequested (const QPoint &pnt)
 
void exportAll ()
 
void exportCurrentPopup ()
 
void exportSelected ()
 
void newPopup ()
 
void popupRefresh (const QString &szName)
 
void removeCurrentPopup ()
 

Protected Member Functions

void getExportPopupBuffer (QString &buffer, MenuTreeWidgetItem *it)
 
void showEvent (QShowEvent *e) override
 

Private Member Functions

void getUniquePopupName (MenuTreeWidgetItem *it, QString &buffer)
 
void oneTimeSetup ()
 
void saveLastEditedItem ()
 

Constructor & Destructor Documentation

◆ PopupEditorWidget()

Member Function Documentation

◆ commit()

◆ currentItemChanged

void PopupEditorWidget::currentItemChanged ( QTreeWidgetItem * it,
QTreeWidgetItem * prev )
protectedslot

◆ customContextMenuRequested

◆ exportAll

void PopupEditorWidget::exportAll ( )
protectedslot

References exportPopups().

Referenced by PopupEditorWidget().

◆ exportCurrentPopup

◆ exportPopups()

◆ exportSelected

void PopupEditorWidget::exportSelected ( )
protectedslot

References exportPopups().

Referenced by PopupEditorWidget().

◆ getExportPopupBuffer()

void PopupEditorWidget::getExportPopupBuffer ( QString & buffer,
MenuTreeWidgetItem * it )
protected

◆ getUniquePopupName()

void PopupEditorWidget::getUniquePopupName ( MenuTreeWidgetItem * it,
QString & buffer )
private

◆ newPopup

void PopupEditorWidget::newPopup ( )
protectedslot

◆ oneTimeSetup()

◆ popupRefresh

◆ removeCurrentPopup

void PopupEditorWidget::removeCurrentPopup ( )
protectedslot

◆ saveLastEditedItem()

◆ showEvent()

void PopupEditorWidget::showEvent ( QShowEvent * e)
overrideprotected

References e, and oneTimeSetup().

Member Data Documentation

◆ m_bOneTimeSetupDone

bool PopupEditorWidget::m_bOneTimeSetupDone

◆ m_bSaving

bool PopupEditorWidget::m_bSaving

◆ m_pContextPopup

QMenu* PopupEditorWidget::m_pContextPopup

◆ m_pEditor

◆ m_pEmptyContextPopup

QMenu* PopupEditorWidget::m_pEmptyContextPopup

◆ m_pLastEditedItem

◆ m_pTreeWidget


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