Skip to content

graycatya/Qt-Marquee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qt 跑马灯

conv_ops

#include "marquee.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Marquee w;
    w.setGeometry(100,100, 600, 50);
    w.AddText("nokia nokia nokia nokia nokia nokia nokia nokia nokia nokia nokia nokia");
    QFont font;
    font.setFamily("Microsoft YaHei");
    font.setBold(true);
    font.setPointSize(50);
    w.setFont(font);
    w.SetSpeed(Marquee::Quick);
    w.Start(0);
    w.show();

    return a.exec();
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published