GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
terminal-dock-widget.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 2013-2018 John W. Eaton
4 Copyright (C) 2011-2018 Jacob Dawid
5 
6 This file is part of Octave.
7 
8 Octave is free software: you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12 
13 Octave is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with Octave; see the file COPYING. If not, see
20 <https://www.gnu.org/licenses/>.
21 
22 */
23 
24 #if ! defined (octave_terminal_dock_widget_h)
25 #define octave_terminal_dock_widget_h 1
26 
27 #include <QString>
28 
29 #include "QTerminal.h"
30 #include "octave-dock-widget.h"
31 
32 namespace octave
33 {
35  {
36  Q_OBJECT
37 
38  public:
39 
40  terminal_dock_widget (QWidget *parent = nullptr);
41 
42  ~terminal_dock_widget (void);
43 
44  bool has_focus (void) const;
45 
46  void focus (void);
47 
48  signals:
49 
50  void interrupt_signal (void);
51 
52  protected slots:
53 
54  void terminal_interrupt (void);
55 
56  private:
57 
59  };
60 }
61 
62 #endif
terminal_dock_widget(QWidget *parent=nullptr)