summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/emulation_handler.cpp
authorzecke <zecke>2002-10-14 18:13:20 (UTC)
committer zecke <zecke>2002-10-14 18:13:20 (UTC)
commite789f01a4fc6ada39809d40f8c44a6f6deec7785 (patch) (side-by-side diff)
treefffa1e5394daf5f648f62aa331b4aa8a792ceba1 /noncore/apps/opie-console/emulation_handler.cpp
parent3e92f4eba0510e7d3744f096a62eaa175b15c993 (diff)
downloadopie-e789f01a4fc6ada39809d40f8c44a6f6deec7785.zip
opie-e789f01a4fc6ada39809d40f8c44a6f6deec7785.tar.gz
opie-e789f01a4fc6ada39809d40f8c44a6f6deec7785.tar.bz2
Make it work!
Diffstat (limited to 'noncore/apps/opie-console/emulation_handler.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/emulation_handler.cpp11
1 files changed, 9 insertions, 2 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
@@ -10,6 +10,6 @@ EmulationHandler::EmulationHandler( const Profile& prof, QWidget* parent, const
: QObject(0, name )
{
- load(prof );
m_teWid = new TEWidget( parent, "TerminalMain" );
+ m_teWid->setMinimumSize(150, 70 );
parent->resize( m_teWid->calcSize(80, 24 ) );
m_teEmu = new TEmuVt102(m_teWid );
@@ -19,4 +19,8 @@ EmulationHandler::EmulationHandler( const Profile& prof, QWidget* parent, const
connect(m_teEmu, SIGNAL(sndBlock(const char*, int) ),
this, SLOT(recvEmulation(const char*, int) ) );
+ m_teEmu->setConnect( true );
+ load( prof );
+
+
}
@@ -26,5 +30,8 @@ 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 );
}
void EmulationHandler::recv( const QByteArray& ar) {