itom  3.0.0
callStackDockWidget.h
1 /* ********************************************************************
2  itom software
3  URL: http://www.uni-stuttgart.de/ito
4  Copyright (C) 2016, Institut fuer Technische Optik (ITO),
5  Universitaet Stuttgart, Germany
6 
7  This file is part of itom.
8 
9  itom is free software; you can redistribute it and/or modify it
10  under the terms of the GNU Library General Public Licence as published by
11  the Free Software Foundation; either version 2 of the Licence, or (at
12  your option) any later version.
13 
14  itom is distributed in the hope that it will be useful, but
15  WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
17  General Public Licence for more details.
18 
19  You should have received a copy of the GNU Library General Public License
20  along with itom. If not, see <http://www.gnu.org/licenses/>.
21 *********************************************************************** */
22 
23 #ifndef CALLSTACKDOCKWIDGET_H
24 #define CALLSTACKDOCKWIDGET_H
25 
26 #include "abstractDockWidget.h"
27 
28 #include <qwidget.h>
29 #include <qaction.h>
30 #include <qtoolbar.h>
31 #include <qtablewidget.h>
32 
33 
34 namespace ito {
35 
36 
38 {
39  Q_OBJECT
40 
41 public:
42  CallStackDockWidget(const QString &title, const QString &objName, QWidget *parent = NULL, bool docked = true, bool isDockAvailable = true, tFloatingStyle floatingStyle = floatingNone, tMovingStyle movingStyle = movingEnabled);
44 
45 protected:
46 
47  //void closeEvent(QCloseEvent *event);
48 
49  void createActions();
50  void createMenus();
51  void createToolBars();
52  void createStatusBar(){}
53  //void updateActions();
54  void updatePythonActions(){ updateActions(); }
55 
56 private:
57  QTableWidget *m_table;
58  QStringList m_headers;
59 
60 private slots:
61  void itemDoubleClicked(QTableWidgetItem *item);
62 
63 public slots:
64  void updateCallStack(QStringList filenames, IntList lines, QStringList methods);
65  void deleteCallStack();
66 
67 };
68 
69 } //end namespace ito
70 
71 #endif
~CallStackDockWidget()
constructor
Definition: callStackDockWidget.cpp:86
docking
Definition: callStackDockWidget.h:37
void createActions()
implementation for virtual method createActions in AbstractDockWidget.
Definition: callStackDockWidget.cpp:104
Definition: apiFunctionsGraph.cpp:39
void createToolBars()
implementation for virtual method createToolBars in AbstractDockWidget.
Definition: callStackDockWidget.cpp:113
abstract dock widget class which inherits QDockWidget. The content of QDockWidget consists of an inst...
Definition: abstractDockWidget.h:45
bool docked() const
Definition: abstractDockWidget.h:86