Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <QApplication>
- #include "taglist.h"
- #include "tagtuple.h"
- #include "tagcolor.h"
- int main(int argc, char **argv)
- {
- QApplication app(argc, argv);
- TagList tagList;
- tagList.show();
- tagList.clear();
- tagList.addTag(TagTuple(0, "tag one"), TagColor::GREEN);
- tagList.addTag(TagTuple(0, "tag two"), TagColor::GREEN);
- tagList.addTag(TagTuple(0, "tag three"), TagColor::GREEN);
- tagList.addTag(TagTuple(0, "tag four"), TagColor::GREEN);
- tagList.addTag(TagTuple(0, "tag five"), TagColor::GREEN);
- tagList.addTag(TagTuple(0, "tag six"), TagColor::GREEN);
- tagList.addTag(TagTuple(0, "tag seven"), TagColor::GREEN);
- return app.exec();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement