|  | KVIrc
    4.9.2
    DeveloperAPIs | 
Text icon window class. More...
#include <KviTextIconWindow.h>
 Inheritance diagram for KviTextIconWindow:
 Inheritance diagram for KviTextIconWindow:| Public Slots | |
| void | cellSelected (int row, int column) | 
| Called when a cell is selected.  More... | |
| void | fill () | 
| Fills in the text icon window.  More... | |
| void | ownerDead () | 
| Called when the owner is destroyed. Then it calls doHide()  More... | |
| Public Member Functions | |
| KviTextIconWindow () | |
| Constructs the text icon window objet.  More... | |
| void | popup (QWidget *pOwner, bool bAltMode) | 
| Shows the popup.  More... | |
| ~KviTextIconWindow () | |
| Destroys the text icon window objet.  More... | |
| Private Member Functions | |
| void | autoSelectBestMatchBasedOnOwnerText () | 
| void | doHide () | 
| Hides the widget and set the focus to the owner.  More... | |
| virtual bool | eventFilter (QObject *o, QEvent *e) | 
| Private Attributes | |
| bool | m_bAltMode | 
| QWidget * | m_pOwner | 
| QTableWidget * | m_pTable | 
Text icon window class.
| KviTextIconWindow::KviTextIconWindow | ( | ) | 
Constructs the text icon window objet.
References cellSelected(), connect(), fill(), g_pTextIconManager, KVI_TEXTICON_WIN_HEIGHT, KVI_TEXTICON_WIN_WIDTH, m_bAltMode, m_pOwner, and m_pTable.
| KviTextIconWindow::~KviTextIconWindow | ( | ) | 
Destroys the text icon window objet.
References m_pTable.
| 
 | private | 
References c, KviControlCodes::Icon, m_pOwner, m_pTable, and r.
Referenced by eventFilter(), and popup().
| 
 | slot | 
Called when a cell is selected.
| row | The row containing selected item | 
| column | The column containing selected item | 
References doHide(), KviControlCodes::Icon, m_bAltMode, m_pOwner, and m_pTable.
Referenced by eventFilter(), and KviTextIconWindow().
| 
 | private | 
Hides the widget and set the focus to the owner.
References m_pOwner.
Referenced by cellSelected(), eventFilter(), and ownerDead().
| 
 | privatevirtual | 
References autoSelectBestMatchBasedOnOwnerText(), cellSelected(), doHide(), KVI_DYNAMIC, m_pOwner, and m_pTable.
| 
 | slot | 
Fills in the text icon window.
References KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), g_pTextIconManager, i, KVI_TEXTICON_COLUMNS, m_pTable, and KviTextIconManager::textIconDict().
Referenced by KviTextIconWindow().
| 
 | slot | 
| void KviTextIconWindow::popup | ( | QWidget * | pOwner, | 
| bool | bAltMode | ||
| ) | 
Shows the popup.
| pOwner | The owner of the widget | 
| bAltMode | Whether to prepend the Ctrl+I escape code in the inserted string | 
References autoSelectBestMatchBasedOnOwnerText(), connect(), m_bAltMode, m_pOwner, and ownerDead().
Referenced by KviInput::iconButtonClicked(), and KviInputEditor::popupTextIconWindow().
| 
 | private | 
Referenced by cellSelected(), KviTextIconWindow(), and popup().
| 
 | private | 
Referenced by autoSelectBestMatchBasedOnOwnerText(), cellSelected(), doHide(), eventFilter(), KviTextIconWindow(), ownerDead(), and popup().
| 
 | private | 
Referenced by autoSelectBestMatchBasedOnOwnerText(), cellSelected(), eventFilter(), fill(), KviTextIconWindow(), and ~KviTextIconWindow().
 1.8.7
 1.8.7