27 #include <QApplication>
30 #include <QTranslator>
37 #if defined (HAVE_SYS_IOCTL_H)
38 #include <sys/ioctl.h>
110 if (show_gui_msgs.empty ())
117 QApplication application (argc, argv);
118 QTranslator gui_tr, qt_tr, qsci_tr;
121 #if ! defined (Q_OS_WIN32)
122 QTextCodec::setCodecForCStrings (QTextCodec::codecForName (
"UTF-8"));
132 application.installTranslator (&qt_tr);
133 application.installTranslator (&qsci_tr);
134 application.installTranslator (&gui_tr);
138 if (welcomeWizard.exec () == QDialog::Rejected)
149 application.installTranslator (&qt_tr);
150 application.installTranslator (&qsci_tr);
151 application.installTranslator (&gui_tr);
157 #if ! defined (__WIN32__) || defined (__CYGWIN__)
195 application.setQuitOnLastWindowClosed (
false);
197 return application.exec ();
int octave_execute_interpreter(void)
static void putenv(const std::string &name, const std::string &value)
static void config_translators(QTranslator *, QTranslator *, QTranslator *)
static void unblock_interrupt_signal(void)
void octave_initialize_interpreter(int argc, char **argv, int embedded)
void install___init_qt___functions(void)
std::complex< double > w(std::complex< double > z, double relerr=0)
void connect_visibility_changed(void)
static std::string getenv(const std::string &name)
static void message_handler(QtMsgType, const char *)
int octave_start_gui(int argc, char *argv[], bool start_gui)
octave_value_list ovl(const octave_value &a0)
void focus_command_window(void)
OCTINTERP_API octave_value_list Fregister_graphics_toolkit(const octave_value_list &=octave_value_list(), int=0)
octave_cli_thread(int argc, char **argv)
static void update_network_settings(void)
void init_terminal_size(void)
static bool is_first_run(void)
static void block_interrupt_signal(void)
static void reload_settings(void)