projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split the parameter name and the value of the parameter
[bertos.git]
/
bertos
/
emul
/
emulwin.cpp
diff --git
a/bertos/emul/emulwin.cpp
b/bertos/emul/emulwin.cpp
index fdd088f19dccbc514a51a62ea4505c472cfedc90..c3c7c074d45696fb5f0e0fc03c5558bab31e77d7 100644
(file)
--- a/
bertos/emul/emulwin.cpp
+++ b/
bertos/emul/emulwin.cpp
@@
-62,7
+62,6
@@
EmulWin::EmulWin(Emulator *e)
{
setWindowTitle(tr("BeRTOS Emul Demo"));
setAttribute(Qt::WA_DeleteOnClose);
{
setWindowTitle(tr("BeRTOS Emul Demo"));
setAttribute(Qt::WA_DeleteOnClose);
- setFixedSize(280,240);
// Create the menu bar
QMenu *file_menu = menuBar()->addMenu(tr("&File"));
// Create the menu bar
QMenu *file_menu = menuBar()->addMenu(tr("&File"));
@@
-89,9
+88,9
@@
EmulWin::EmulWin(Emulator *e)
// LCD
QHBoxLayout *lay_lcd = new QHBoxLayout();
box_right->addLayout(lay_lcd);
// LCD
QHBoxLayout *lay_lcd = new QHBoxLayout();
box_right->addLayout(lay_lcd);
- lay_lcd->addStretch();
- lay_lcd->addWidget(e->emulLCD = new EmulLCD(central));
- lay_lcd->addStretch();
+ lay_lcd->addStretch(
1
);
+ lay_lcd->addWidget(e->emulLCD = new EmulLCD(central)
, 8
);
+ lay_lcd->addStretch(
1
);
// Keyboard
box_right->addWidget(e->emulKbd = new EmulKbd(central));
// Keyboard
box_right->addWidget(e->emulKbd = new EmulKbd(central));