#include#include#include#include#include/*QWizard::WatermarkPixmap0ThetallpixmapontheleftsideofaClassicStyleorModernStylepageQWizard::LogoPixmap1Thesmallpix" />

亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

QT :: Qwizard 用法

系統 2294 0
    #include<QApplication>
#include<QWizard>
#include<QWizardPage>
#include<QLabel>
#include<QVBoxLayout>
#include<QPixmap>
/*
QWizard::WatermarkPixmap	0	The tall pixmap on the left side of a ClassicStyle or ModernStyle page
QWizard::LogoPixmap         1	The small pixmap on the right side of a ClassicStyle or ModernStyle page header
QWizard::BannerPixmap       2	The pixmap that occupies the background of a ModernStyle page header
QWizard::BackgroundPixmap	3	The pixmap that occupies the background of a MacStyle wizard
*/
QWizardPage* createOneWizard()
{
    QWizardPage* page = new QWizardPage;
    page->setWindowTitle("The First Step");
   // page->setPixmap(QWizard::WatermarkPixmap, QPixmap(":/new/prefix1/0001.jpg"));
    QLabel* picLabel = new QLabel;
    picLabel->setPixmap(QPixmap(":/new/prefix1/0001.jpg"));

    QLabel* label = new QLabel("<h1><font color = red>this is the first Pictures</font></h1>");
    label->resize(40,220);

    QVBoxLayout* layout = new QVBoxLayout;
    layout->addWidget(label);
    layout->addWidget(picLabel);

    page->setLayout(layout);

    return page;
}

QWizardPage* createTwoWizard()
{
    QWizardPage* page = new QWizardPage;
    page->setWindowTitle("The Second Step");
    //page->setPixmap(QWizard::WatermarkPixmap,QPixmap(":/new/prefix1/0002.jpg"));

    QLabel* picLabel = new QLabel;
    picLabel->setPixmap(QPixmap(":/new/prefix1/0002.jpg"));

    QLabel* label = new QLabel("<h1><font color = red>this is the second Pictures</font></h1>");
    label->resize(40,220);

    QVBoxLayout* layout = new QVBoxLayout;
    layout->addWidget(label);
    layout->addWidget(picLabel);

    page->setLayout(layout);

    return page;
}
QWizardPage* createThreeWizard()
{
    QWizardPage* page = new QWizardPage;
    page->setWindowTitle("The Third Step");
   // page->setPixmap(QWizard::WatermarkPixmap,QPixmap(":/new/prefix1/0003.jpg"));

    QLabel* picLabel = new QLabel;
    picLabel->setPixmap(QPixmap(":/new/prefix1/0003.jpg"));

    QLabel* label = new QLabel("<h1><font color = red>this is the third Pictures</font></h1>");
    label->resize(40,220);

    QVBoxLayout* layout = new QVBoxLayout;
    layout->addWidget(label);
    layout->addWidget(picLabel);

    page->setLayout(layout);

    return page;
}

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QWizard* wizard = new QWizard;
    wizard->setWindowTitle("QWizard");
    wizard->resize(240,320);

    wizard->addPage(createOneWizard());
    wizard->addPage(createTwoWizard());
    wizard->addPage(createThreeWizard());

    wizard->show();
    
    return a.exec();
}

  

QT :: Qwizard 用法

QT :: Qwizard 用法

QT :: Qwizard 用法

QT :: Qwizard 用法


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 亚洲毛片在线免费观看 | 亚洲水蜜桃久久综合网站 | 欧美5o老妇性xxx| 在线资源站 | 99精品中文字幕 | 99视频精品全部国产盗摄视频 | 精品久久久久久久九九九精品 | 日韩欧美精品一区二区 | 五月天婷婷缴情五月免费观看 | 色黄网站成年女人色毛片 | 亚洲精品国产手机 | 精品精品国产高清a毛片牛牛 | 天天天操 | 成人在线免费网站 | 五月情婷婷| 欧美jizzhd极品欧美 | 欧美精品一级毛片 | 国产九九精品 | 网曝门精品国产事件在线观看 | 欧美亚洲高清日韩成人 | 亚洲国产成人精品激情 | 免费看真人a一级毛片 | 成人小视频免费 | 久久国产偷 | 韩国高清乱理伦片中文 | 欧美猛操 | 精品综合久久久久久99 | jizz美女18 | 久久精品麻豆 | 成人精品视频在线观看播放 | 久青草国产手机视频免费观看 | 亚洲免费大片 | 奇米视频7777 | 日日夜夜亚洲 | 欧美大片毛片大片 | 国产成人综合95精品视频免费 | 午夜不卡福利 | 夜间福利在线观看 | 草草在线观看视频 | 欧美成人免费观看久久 | 午夜精品久久久 |