26 #if defined (HAVE_CONFIG_H)
30 #include <QDesktopWidget>
47 m_terminal (
QTerminal::create (oct_qobj, p))
52 setWindowIcon (QIcon (
":/actions/icons/logo.png"));
62 connect (
this, SIGNAL (visibilityChanged (
bool)),
70 QFont font = QFont ();
71 font.setStyleHint (QFont::TypeWriter);
78 QFontMetrics metrics(font);
80 int win_x = metrics.maxWidth()*80;
81 int win_y = metrics.height()*25;
83 int max_x = QApplication::desktop ()->screenGeometry (
this).width ();
84 int max_y = QApplication::desktop ()->screenGeometry (
this).height ();
91 setGeometry (0, 0, win_x, win_y);
103 return w->hasFocus ();
Base class for Octave interfaces that use Qt.
resource_manager & get_resource_manager(void)
gui_settings * get_settings(void) const
const gui_pref cs_font_size("terminal/fontSize", QVariant(10))
const gui_pref cs_font("terminal/fontName", QVariant())
const gui_pref global_mono_font("monospace_font", global_font_family)
std::complex< double > w(std::complex< double > z, double relerr=0)
volatile sig_atomic_t octave_signal_caught
sig_atomic_t octave_interrupt_state
bool octave_get_sig_number(const char *signame, int *signum)
int octave_kill_wrapper(pid_t pid, int signum)