Add log widget to lower dock
[frida/frida.git] / src / gui / widgets / FridaDock.cxx
1 #include "FridaDock.hxx"
2
3 FridaDock::FridaDock(const QString& title, QWidget * parent)
4 : QDockWidget(title, parent)
5 , tabWidget(new QTabWidget) {
6
7 setWidget(tabWidget);
8 }
9
10 void FridaDock::addTab(QWidget* widget, const QString& name) {
11 tabWidget->addTab(widget, name);
12 }