This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

Linux/BEAGLEBK: how to display image full screen using qt 5 in lcd using beaglbne

Expert 2260 points

Replies: 5

Views: 298

Part Number: BEAGLEBK

Tool/software: Linux

how to display  image full screen using qt 5 in lcd using beaglbne

  • Hello manoj,

    You can use showFullScreen() to display the image in full screen mode.

    Best regards,
    Kemal

  • In reply to Kemal R. Shakir:

    Hi Kemal ,

    Thanks for response , please  provide me some example  to dispaly image as full screen in sdk 

  • In reply to Kemal R. Shakir:

    sir , how to display 3 images display sequentially with some delay .

  • QPixmap background("test.png");
    background = background.scaled(this->size(), Qt::IgnoreAspectRatio);
    QPalette palette;
    palette.setBrush(QPalette::Background, background);
    this->setPalette(palette);

    QEventLoop loop;
    QTimer::singleShot(1000, &loop, SLOT(quit()) );
    loop.exec();

    QPixmap background1("test1.png");
    background1 = background1.scaled(this->size(), Qt::IgnoreAspectRatio);
    QPalette palette1;
    palette1.setBrush(QPalette::Background, background1);
    this->setPalette(palette1);

    QEventLoop loop1;
    QTimer::singleShot(1000, &loop1, SLOT(quit()) );
    loop1.exec();

    QPixmap background2("test2.png");
    background2 = background2.scaled(this->size(), Qt::IgnoreAspectRatio);
    QPalette palette2;
    palette2.setBrush(QPalette::Background, background2);
    this->setPalette(palette2);

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.