// Need to set the size as well...
// resize(560, 480);
- QFont fixedFont("Lucida Console", 8, QFont::Normal);
+// QFont fixedFont("Lucida Console", 8, QFont::Normal);
+ QFont fixedFont("", 8, QFont::Normal);
+ fixedFont.setStyleHint(QFont::TypeWriter);
text->setFont(fixedFont);
//// layout->setSizeConstraint(QLayout::SetFixedSize);
setLayout(layout);
#if 1
else if (e->key() == Qt::Key_PageUp)
{
- memBase -= 480;
+ memBase -= 64;
if (memBase < 0)
memBase = 0;
}
else if (e->key() == Qt::Key_PageDown)
{
- memBase += 480;
+ memBase += 64;
- if (memBase > (0x200000 - 480))
- memBase = 0x200000 - 480;
+ if (memBase > (0xF00000 - 64))
+ memBase = 0xF00000 - 64;
RefreshContents();
}
{
memBase += 16;
- if (memBase > (0x200000 - 480))
- memBase = 0x200000 - 480;
+ if (memBase > (0xF00000 - 64))
+ memBase = 0xF00000 - 64;
RefreshContents();
}