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

#include <PopupEditorWindow.h>

+ Inheritance diagram for PopupEditorWidget:

Public Member Functions

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

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)
 

Private Member Functions

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

Constructor & Destructor Documentation

PopupEditorWidget::PopupEditorWidget ( QWidget *  par)
PopupEditorWidget::~PopupEditorWidget ( )
default

Member Function Documentation

void PopupEditorWidget::commit ( void  )
void PopupEditorWidget::currentItemChanged ( QTreeWidgetItem *  it,
QTreeWidgetItem *  prev 
)
protectedslot
void PopupEditorWidget::customContextMenuRequested ( const QPoint &  pnt)
protectedslot
void PopupEditorWidget::exportAll ( )
protectedslot

References exportPopups().

Referenced by PopupEditorWidget().

void PopupEditorWidget::exportCurrentPopup ( )
protectedslot
void PopupEditorWidget::exportPopups ( bool  bSelectedOnly)
void PopupEditorWidget::exportSelected ( )
protectedslot

References exportPopups().

Referenced by PopupEditorWidget().

void PopupEditorWidget::getExportPopupBuffer ( QString &  buffer,
MenuTreeWidgetItem it 
)
protected
void PopupEditorWidget::getUniquePopupName ( MenuTreeWidgetItem it,
QString &  buffer 
)
private
void PopupEditorWidget::newPopup ( )
protectedslot
void PopupEditorWidget::oneTimeSetup ( )
private
void PopupEditorWidget::popupRefresh ( const QString &  szName)
protectedslot
void PopupEditorWidget::removeCurrentPopup ( )
protectedslot
void PopupEditorWidget::saveLastEditedItem ( )
private
void PopupEditorWidget::showEvent ( QShowEvent *  e)
protected

References oneTimeSetup().

Member Data Documentation

bool PopupEditorWidget::m_bOneTimeSetupDone
bool PopupEditorWidget::m_bSaving
QMenu* PopupEditorWidget::m_pContextPopup
SinglePopupEditor* PopupEditorWidget::m_pEditor
QMenu* PopupEditorWidget::m_pEmptyContextPopup
MenuTreeWidgetItem* PopupEditorWidget::m_pLastEditedItem
QTreeWidget* PopupEditorWidget::m_pTreeWidget

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