SHARE
TWEET

main.cpp

a guest Aug 11th, 2019 72 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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top