Skip to content

Commit

Permalink
kitten closes eyes
Browse files Browse the repository at this point in the history
  • Loading branch information
marnanel committed Oct 31, 2010
1 parent 1f5fce1 commit a574c25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/RfkWindow.cpp
Expand Up @@ -37,6 +37,7 @@ RfkView* RfkWindow::view() {
QWidget* RfkWindow::prepare_front_screen() {

QLabel *backdrop = new QLabel;
QLabel *blink = new QLabel;
QWidget *front_screen = new QWidget;
ProportionalLayout *layout = new ProportionalLayout;
QLabel *banner = new QLabel(
Expand Down Expand Up @@ -71,8 +72,13 @@ QWidget* RfkWindow::prepare_front_screen() {
backdrop->setScaledContents(true);
banner->setWordWrap(true);

blink->setPixmap(QPixmap(":/resources/blink.png"));
blink->setScaledContents(true);

layout->addItem(new QWidgetItem(backdrop),
0.0, 0.0, 1.0, 1.0);
layout->addItem(new QWidgetItem(blink),
0.3, 0.7, 0.1, 0.2);
layout->addItem(new QWidgetItem(banner),
0.35, 0.2, 0.65, 0.3);
layout->addItem(new QWidgetItem(play),
Expand Down

0 comments on commit a574c25

Please sign in to comment.