- setCaption("Virtual LOGLAN Processor");
- setBackgroundColor(white);
-
- bar = new QMenuBar(this);
- bar->setFont(f);
- p = new QPopupMenu();
- p->setFont(f2);
- p->insertItem("Execute", this, SLOT(Run_Prog()));
- p->insertItem("Kill", this, SLOT(KillInterpreter()));
- prid = bar->insertItem("&Program", p);
- p1 = new QPopupMenu();
- p1->insertItem("Message", this, SLOT(MessageToNode()));
- p1->insertSeparator();
- p1->insertItem("Connect", this, SLOT(Connect()));
- p1->insertItem("Disconnect", this, SLOT(Disconnect()));
- p1->insertItem("Info", this, SLOT(Info()));
- p1->setFont(f);
- mid = bar->insertItem("&Machine", p1);
-
- p2 = new QPopupMenu();
- cwid = p2->insertItem("Editor", this, SLOT(Edit()));
- hid = p2->insertItem("Help", this, SLOT(Help()));
- p2->insertSeparator();
- optid = p2->insertItem("Options", this, SLOT(SetOptions()));
- msgid = p2->insertItem("Info messages", this, SLOT(SetMessages()));
- p2->setItemChecked(msgid, TRUE);
- p2->insertSeparator();
- lockid = p2->insertItem("Lock console", this, SLOT(LockConsole()));
- unlockid = p2->insertItem("Unlock console", this,
- SLOT(UnlockConsole()));
- p2->setItemEnabled(unlockid, FALSE);
- LOCKED = FALSE;
- p2->setFont(f);
- toolsid = bar->insertItem("&Tools", p2);
-
- qid = bar->insertItem("&Quit", this, SLOT(QuitProc()));
- p->setFont(f);
-
- desktop = new QMultiLineEdit(this, "desktop");
- desktop->setAutoUpdate(TRUE);
- desktop->setReadOnly(TRUE);
- desktop->setFont(f1);