#include <ActionEditor.h>
ActionEditor::ActionEditor |
( |
QWidget * |
par | ) |
|
References __tr2qs_ctx(), a, KviActionManager::categoryGeneric(), connect(), KviPointerHashTableIterator< Key, T >::current(), currentItemChanged(), deleteActions(), exportActions(), first(), g_szLastEditedAction, KviActionManager::instance(), l, m_pDeleteActionsButton, m_pExportActionsButton, ActionData::m_pItem, m_pNewActionButton, m_pSingleActionEditor, m_pSplitter, m_pTreeWidget, ActionData::m_szName, KviActionCategory::name(), newAction(), and KviTalVBox::setSpacing().
ActionEditor::~ActionEditor |
( |
| ) |
|
|
default |
bool ActionEditor::actionExists |
( |
const QString & |
szName | ) |
|
void ActionEditor::commit |
( |
void |
| ) |
|
References a, ActionEditorTreeWidgetItem::actionData(), SingleActionEditor::commit(), KviKvsUserAction::createInstance(), i, KviCustomToolBarManager::instance(), KviActionManager::instance(), KviActionManager::killAllKvsUserActions(), m_pSingleActionEditor, m_pTreeWidget, ActionData::m_szBigIcon, ActionData::m_szCategory, ActionData::m_szDescription, ActionData::m_szKeySequence, ActionData::m_szName, ActionData::m_szScriptCode, ActionData::m_szSmallIcon, ActionData::m_szVisibleName, ActionData::m_uFlags, KviActionManager::registerAction(), and KviCustomToolBarManager::updateVisibleToolBars().
Referenced by ActionEditorWindow::applyClicked(), and ActionEditorWindow::okClicked().
void ActionEditor::currentItemChanged |
( |
QTreeWidgetItem * |
it, |
|
|
QTreeWidgetItem * |
prev |
|
) |
| |
|
protectedslot |
References ActionEditorTreeWidgetItem::actionData(), SingleActionEditor::actionData(), SingleActionEditor::commit(), g_szLastEditedAction, m_pDeleteActionsButton, m_pExportActionsButton, m_pSingleActionEditor, m_pTreeWidget, ActionData::m_szName, and SingleActionEditor::setActionData().
Referenced by ActionEditor(), and newAction().
void ActionEditor::deleteActions |
( |
| ) |
|
|
protectedslot |
References SingleActionEditor::actionData(), KviPointerList< T >::append(), KviPointerList< T >::first(), i, KviPointerList< T >::isEmpty(), l, m_pSingleActionEditor, m_pTreeWidget, KviPointerList< T >::next(), SingleActionEditor::setActionData(), and KviPointerList< T >::setAutoDelete().
Referenced by ActionEditor().
void ActionEditor::exportActions |
( |
| ) |
|
|
protectedslot |
References __tr2qs_ctx(), a, KviFileDialog::askForSaveFileName(), KviKvsUserAction::exportToKvs(), i, KVI_FILTER_SCRIPT, KVI_PATH_SEPARATOR, m_pTreeWidget, ActionData::m_szBigIcon, ActionData::m_szCategory, ActionData::m_szDescription, ActionData::m_szKeySequence, ActionData::m_szName, ActionData::m_szScriptCode, ActionData::m_szSmallIcon, ActionData::m_szVisibleName, ActionData::m_uFlags, KviMessageBox::warning(), and KviFileUtils::writeFile().
Referenced by ActionEditor().
QString ActionEditor::nameForAutomaticAction |
( |
const QString & |
szTemplate | ) |
|
|
protected |
void ActionEditor::newAction |
( |
| ) |
|
|
protectedslot |
int ActionEditor::selectedCount |
( |
| ) |
|
|
protected |
QPushButton* ActionEditor::m_pDeleteActionsButton |
|
protected |
QPushButton* ActionEditor::m_pExportActionsButton |
|
protected |
QPushButton* ActionEditor::m_pNewActionButton |
|
protected |
QSplitter* ActionEditor::m_pSplitter |
|
protected |
The documentation for this class was generated from the following files: