File: GRPlotDockWidget.cxx

package info (click to toggle)
gr-framework 0.73.22%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,476 kB
  • sloc: ansic: 87,950; cpp: 58,388; objc: 3,057; javascript: 2,647; python: 1,000; yacc: 855; pascal: 554; sh: 281; fortran: 228; makefile: 174
file content (18 lines) | stat: -rw-r--r-- 479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "GRPlotDockWidget.hxx"

GRPlotDockWidget::GRPlotDockWidget(const QString &title, int width, int height, GRPlotMainWindow *parent)
    : QDockWidget(parent), parent(parent)
{
  this->setWindowTitle(title);
  this->setFixedWidth(width);
  this->setMinimumHeight(height);
  this->setMinimumHeight(0);
}

GRPlotDockWidget::~GRPlotDockWidget() = default;

void GRPlotDockWidget::closeEvent(QCloseEvent *event)
{
  emit resizeMainWindow();
  QDockWidget::closeEvent(event);
}