| 31 | |
| 32 | |
| 33 | class DockedEditorComponentsFactory : public ads::CDockComponentsFactory |
| 34 | { |
| 35 | public: |
| 36 | ads::CDockAreaTitleBar* createDockAreaTitleBar(ads::CDockAreaWidget* DockArea) const { |
| 37 | DockedEditorTitleBar *titleBar = new DockedEditorTitleBar(DockArea); |
| 38 | |
| 39 | // Disable the built in context menu for the title bar since it has options we don't want |
| 40 | titleBar->setContextMenuPolicy(Qt::NoContextMenu); |
| 41 | |
| 42 | return titleBar; |
| 43 | } |
| 44 | }; |
| 45 | |
| 46 | |
| 47 | DockedEditor::DockedEditor(QWidget *parent) : QObject(parent) |
nothing calls this directly
no outgoing calls
no test coverage detected