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

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

QT :: Qwizard 用法

系統 1965 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條評論
主站蜘蛛池模板: 四虎影院在线视频 | 亚洲国产色综合有声小说 | 国产香蕉在线视频 | 97看片吧| 久久精品国产第一区二区 | 日本不卡视频网站 | 国产亚洲欧美久久久久 | 日韩色中色 | 爱爱小视频免费 | 精品国产一区二区三区香蕉沈先生 | 亚洲美女亚洲精品久久久久 | 色综合久久天天综线观看 | 亚洲视频在线观 | 久久久夜色精品国产噜噜 | 114毛片免费观看网站 | 久久久精品中文字幕 | 亚洲精品一区二区伦理 | 国产片一区二区三区 | www.精品在线| 久久日韩精品 | 欧美一及 | 久热操| 五月婷网 | 成人国产mv免费视频 | 日韩一级特黄毛片在线看 | 在线观看亚洲免费 | 天天操天天射天天 | 日本久久一区二区 | 久久综合网久久综合 | 好爽毛片一区二区三区四区 | 日韩在线视频不卡 | 亚洲视频不卡 | 亚洲精品一区二区三区网址 | 国产精品夜色视频一区二区 | 最新黄色免费网站 | 精品久久久久久18免费看 | 久久视热这只是精品222 | 欧美日韩精品一区三区 | 久久伊人免费视频 | 成人影院在线观看 | 高清波多野结衣一区二区三区 |