45 setCentralWidget(centralWidget);
46 QGridLayout *resultLayout =
new QGridLayout;
47 centralWidget->setLayout(resultLayout);
52 resultLayout->addWidget(m_cnetEditorWidget, 0, 0, 1, 2);
54 QTabWidget *treeViews =
new QTabWidget;
55 treeViews->addTab( m_cnetEditorWidget->pointTreeView(), tr(
"Point View") );
56 treeViews->addTab( m_cnetEditorWidget->serialTreeView(), tr(
"Serial View") );
57 treeViews->addTab( m_cnetEditorWidget->connectionTreeView(), tr(
"Connection View") );
58 resultLayout->addWidget(treeViews, 1, 0, 1, 1);
60 QTabWidget *filterViews =
new QTabWidget;
61 filterViews->addTab( m_cnetEditorWidget->pointFilterWidget(), tr(
"Filter Points and Measures") );
62 filterViews->addTab( m_cnetEditorWidget->serialFilterWidget(), tr(
"Filter Images and Points") );
63 filterViews->addTab( m_cnetEditorWidget->connectionFilterWidget(), tr(
"Filter Connections") );
64 resultLayout->addWidget(filterViews, 1, 1, 1, 1);
125 QMap< QString, QList< QAction * > > actionMap;
126 actionMap = m_cnetEditorWidget->toolBarActions();
127 QMapIterator< QString, QList< QAction * > > actionIter(actionMap);
129 while (actionIter.hasNext()) {
131 QString objName = actionIter.key();
133 foreach (
QAction *action, actionList) {