KVIrc 5.2.4
Developer APIs
Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Private Member Functions | List of all members
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()

PopupEditorWidget::PopupEditorWidget ( QWidget *  par)

Member Function Documentation

◆ commit()

void PopupEditorWidget::commit ( )

◆ currentItemChanged

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

◆ customContextMenuRequested

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

◆ exportAll

void PopupEditorWidget::exportAll ( )
protectedslot

References exportPopups().

Referenced by PopupEditorWidget().

◆ exportCurrentPopup

void PopupEditorWidget::exportCurrentPopup ( )
protectedslot

◆ exportPopups()

void PopupEditorWidget::exportPopups ( bool  bSelectedOnly)

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

void PopupEditorWidget::oneTimeSetup ( )
private

◆ popupRefresh

void PopupEditorWidget::popupRefresh ( const QString &  szName)
protectedslot

◆ removeCurrentPopup

void PopupEditorWidget::removeCurrentPopup ( )
protectedslot

◆ saveLastEditedItem()

void PopupEditorWidget::saveLastEditedItem ( )
private

◆ 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

SinglePopupEditor* PopupEditorWidget::m_pEditor

◆ m_pEmptyContextPopup

QMenu* PopupEditorWidget::m_pEmptyContextPopup

◆ m_pLastEditedItem

MenuTreeWidgetItem* PopupEditorWidget::m_pLastEditedItem

◆ m_pTreeWidget

QTreeWidget* PopupEditorWidget::m_pTreeWidget

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