Advertisement
Guest User

main.cpp

a guest
Aug 11th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <QApplication>
  2.  
  3. #include "taglist.h"
  4. #include "tagtuple.h"
  5. #include "tagcolor.h"
  6.  
  7. int main(int argc, char **argv)
  8. {
  9.     QApplication app(argc, argv);
  10.  
  11.     TagList tagList;
  12.  
  13.     tagList.show();
  14.  
  15.     tagList.addTag(TagTuple(0, "tag one"), TagColor::GREEN);
  16.     tagList.addTag(TagTuple(0, "tag two"), TagColor::GREEN);
  17.     tagList.addTag(TagTuple(0, "tag three"), TagColor::GREEN);
  18.     tagList.addTag(TagTuple(0, "tag four"), TagColor::GREEN);
  19.     tagList.addTag(TagTuple(0, "tag five"), TagColor::GREEN);
  20.     tagList.addTag(TagTuple(0, "tag six"), TagColor::GREEN);
  21.     tagList.addTag(TagTuple(0, "tag seven"), TagColor::GREEN);
  22.  
  23.     return app.exec();
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement