#include <RawEditorWindow.h>
◆ RawEditorWidget()
RawEditorWidget::RawEditorWidget |
( |
QWidget * |
par | ) |
|
References __tr2qs_ctx, connect(), KviScriptEditor::createInstance(), currentItemChanged(), customContextMenuRequested(), exportAllEvents(), l, m_bOneTimeSetupDone, m_pContextPopup, m_pEditor, m_pLastEditedItem, m_pNameEditor, and m_pTreeWidget.
◆ ~RawEditorWidget()
RawEditorWidget::~RawEditorWidget |
( |
| ) |
|
◆ addHandlerForCurrentRaw
void RawEditorWidget::addHandlerForCurrentRaw |
( |
| ) |
|
|
protectedslot |
◆ addRaw
void RawEditorWidget::addRaw |
( |
| ) |
|
|
protectedslot |
◆ commit()
void RawEditorWidget::commit |
( |
| ) |
|
References g_pApp, i, KviKvsEventManager::instance(), j, m_bOneTimeSetupDone, m_pTreeWidget, KviKvsEventManager::removeAllScriptRawHandlers(), s, saveLastEditedItem(), and KviApplication::saveRawEvents().
Referenced by RawEditorWindow::applyClicked(), and RawEditorWindow::okClicked().
◆ currentItemChanged
void RawEditorWidget::currentItemChanged |
( |
QTreeWidgetItem * |
it, |
|
|
QTreeWidgetItem * |
|
|
) |
| |
|
protectedslot |
◆ customContextMenuRequested
void RawEditorWidget::customContextMenuRequested |
( |
const QPoint & |
pnt | ) |
|
|
protectedslot |
References __tr2qs_ctx, addHandlerForCurrentRaw(), addRaw(), KviIconManager::Discard, exportCurrentHandler(), g_pIconManager, KviIconManager::getSmallIcon(), KviIconManager::Handler, KviIconManager::HandlerDisabled, KVI_ASSERT, m_bOneTimeSetupDone, m_pContextPopup, m_pTreeWidget, KviIconManager::RawEvent, removeCurrentHandler(), KviIconManager::Save, and toggleCurrentHandlerEnabled().
Referenced by RawEditorWidget().
◆ exportAllEvents
void RawEditorWidget::exportAllEvents |
( |
| ) |
|
|
protectedslot |
◆ exportCurrentHandler
void RawEditorWidget::exportCurrentHandler |
( |
| ) |
|
|
protectedslot |
◆ getExportEventBuffer()
◆ getUniqueHandlerName()
void RawEditorWidget::getUniqueHandlerName |
( |
RawTreeWidgetItem * |
it, |
|
|
QString & |
buffer |
|
) |
| |
◆ oneTimeSetup()
void RawEditorWidget::oneTimeSetup |
( |
| ) |
|
|
private |
◆ removeCurrentHandler
void RawEditorWidget::removeCurrentHandler |
( |
| ) |
|
|
protectedslot |
◆ saveLastEditedItem()
void RawEditorWidget::saveLastEditedItem |
( |
| ) |
|
References KviQString::equalCI(), KviScriptEditor::getText(), getUniqueHandlerName(), KVI_ASSERT, m_bOneTimeSetupDone, m_pEditor, m_pLastEditedItem, m_pNameEditor, RawHandlerTreeWidgetItem::m_szBuffer, and RawHandlerTreeWidgetItem::setName().
Referenced by commit(), currentItemChanged(), exportAllEvents(), and exportCurrentHandler().
◆ showEvent()
void RawEditorWidget::showEvent |
( |
QShowEvent * |
e | ) |
|
|
overrideprotected |
◆ toggleCurrentHandlerEnabled
void RawEditorWidget::toggleCurrentHandlerEnabled |
( |
| ) |
|
|
protectedslot |
◆ m_bOneTimeSetupDone
bool RawEditorWidget::m_bOneTimeSetupDone |
◆ m_pContextPopup
QMenu* RawEditorWidget::m_pContextPopup |
◆ m_pEditor
◆ m_pLastEditedItem
◆ m_pNameEditor
QLineEdit* RawEditorWidget::m_pNameEditor |
◆ m_pTreeWidget
The documentation for this class was generated from the following files: