OpenMW
|
A context menu with "Edit 'ID'" action for editors in the dialogue subview. More...
#include <dialoguesubview.hpp>
Signals | |
void | editIdRequest (const CSMWorld::UniversalId &id, const std::string &hint) |
Public Member Functions | |
IdContextMenu (QWidget *widget, CSMWorld::ColumnBase::Display display) | |
void | excludeId (const std::string &id) |
Private Slots | |
void | showContextMenu (const QPoint &pos) |
void | editIdRequest () |
Private Member Functions | |
QString | getWidgetValue () const |
void | addEditIdActionToMenu (const QString &text) |
void | removeEditIdActionFromMenu () |
Private Attributes | |
QWidget * | mWidget |
CSMWorld::UniversalId::Type | mIdType |
std::set< std::string > | mExcludedIds |
A list of IDs that should not have the Edit 'ID' action. More... | |
QMenu * | mContextMenu |
QAction * | mEditIdAction |
A context menu with "Edit 'ID'" action for editors in the dialogue subview.
CSVWorld::IdContextMenu::IdContextMenu | ( | QWidget * | widget, |
CSMWorld::ColumnBase::Display | display | ||
) |
|
private |
|
privateslot |
|
signal |
void CSVWorld::IdContextMenu::excludeId | ( | const std::string & | id | ) |
|
private |
|
private |
|
privateslot |
|
private |
|
private |
|
private |
A list of IDs that should not have the Edit 'ID' action.
|
private |
|
private |