| 3992 | } |
| 3993 | |
| 3994 | EventBrowser::~EventBrowser() |
| 3995 | { |
| 3996 | delete m_ParseError; |
| 3997 | delete m_ParseTrace; |
| 3998 | |
| 3999 | // unregister any shortcuts we registered |
| 4000 | Qt::Key keys[] = { |
| 4001 | Qt::Key_1, Qt::Key_2, Qt::Key_3, Qt::Key_4, Qt::Key_5, |
| 4002 | Qt::Key_6, Qt::Key_7, Qt::Key_8, Qt::Key_9, Qt::Key_0, |
| 4003 | }; |
| 4004 | for(int i = 0; i < 10; i++) |
| 4005 | { |
| 4006 | m_Ctx.GetMainWindow()->UnregisterShortcut( |
| 4007 | QKeySequence(keys[i] | Qt::ControlModifier).toString(), NULL); |
| 4008 | } |
| 4009 | |
| 4010 | m_Ctx.GetMainWindow()->UnregisterShortcut( |
| 4011 | QKeySequence(Qt::Key_Left | Qt::ControlModifier).toString(), NULL); |
| 4012 | |
| 4013 | m_Ctx.GetMainWindow()->UnregisterShortcut( |
| 4014 | QKeySequence(Qt::Key_Right | Qt::ControlModifier).toString(), NULL); |
| 4015 | |
| 4016 | m_Ctx.GetMainWindow()->UnregisterShortcut(QString(), ui->findStrip); |
| 4017 | |
| 4018 | m_Ctx.BuiltinWindowClosed(this); |
| 4019 | m_Ctx.RemoveCaptureViewer(this); |
| 4020 | delete ui; |
| 4021 | } |
| 4022 | |
| 4023 | rdcstr EventBrowser::GetHighlightedAnnotation() |
| 4024 | { |
nothing calls this directly
no test coverage detected