Diffstat (limited to 'noncore/apps/opie-console/emulation_handler.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/emulation_handler.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.cpp b/noncore/apps/opie-console/emulation_handler.cpp index 787de67..c67c7c7 100644 --- a/noncore/apps/opie-console/emulation_handler.cpp +++ b/noncore/apps/opie-console/emulation_handler.cpp @@ -8,7 +8,7 @@ -EmulationHandler::EmulationHandler( const Profile& prof, QWidget* parent, const char* name ) +EmulationHandler::EmulationHandler( const Profile& prof, QWidget* parent,const char* name ) : QObject(0, name ) { - load(prof ); - m_teWid = new TEWidget( parent, "TerminalMain" ); + m_teWid = new TEWidget( parent, "TerminalMain"); + m_teWid->setMinimumSize(150, 70 ); parent->resize( m_teWid->calcSize(80, 24 ) ); @@ -20,2 +20,6 @@ EmulationHandler::EmulationHandler( const Profile& prof, QWidget* parent, const this, SLOT(recvEmulation(const char*, int) ) ); + m_teEmu->setConnect( true ); + load( prof ); + + @@ -27,3 +31,6 @@ EmulationHandler::~EmulationHandler() { void EmulationHandler::load( const Profile& ) { - + QFont font = QFont("Fixed", 12, QFont::Normal ); + font.setFixedPitch(TRUE); + m_teWid->setVTFont( font ); + m_teWid->setBackgroundColor(Qt::black ); } |