2 * Common Source code Project:
3 * Ui->Qt->MainWindow for X1TurboZ .
4 * (C) 2015 K.Ohta <whatisthis.sowhat _at_ gmail.com>
7 * Jan 14, 2015 : Initial, many of constructors were moved to qt/gui/menu_main.cpp.
12 #include "commonclasses.h"
13 #include "menuclasses.h"
20 void META_MainWindow::do_set_sound_device(int num)
24 void META_MainWindow::retranslateUi(void)
27 retranslateControlMenu(title, false);
28 if(int _drv = 0; _drv < USE_FLOPPY_DISK; _drv++) {
29 retranslateFloppyMenu(_drv, _drv + 1);
31 retranslateSoundMenu();
32 retranslateScreenMenu();
33 retranslateMachineMenu();
34 retranslateEmulatorMenu();
37 #if defined(USE_PRINTER)
38 actionPrintDevice[1]->setText(QString::fromUtf8("PC-PR201"));
39 actionPrintDevice[1]->setToolTip(QApplication::translate("MainWindow", "NEC PC-PR201 kanji serial printer.", 0));
41 this->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0));
43 actionDebugger[0]->setVisible(true);
44 actionDebugger[1]->setVisible(false);
45 actionDebugger[2]->setVisible(false);
46 actionDebugger[3]->setVisible(false);
52 void META_MainWindow::setupUI_Emu(void)
57 META_MainWindow::META_MainWindow(USING_FLAGS *p, CSP_Logger *logger, QWidget *parent) : Ui_MainWindow(p, logger, parent)
64 META_MainWindow::~META_MainWindow()