Guitar
BranchLabel.h
Go to the documentation of this file.
1 #ifndef BRANCHLABEL_H
2 #define BRANCHLABEL_H
3 
4 #include <QColor>
5 // #include "ApplicationGlobal.h"
6 
7 
11 class BranchLabel {
12 public:
13  enum Type {
17  Tag,
18  };
20  QString text;
21  QString info;
23  : kind(kind)
24  {
25  }
26 
27  static QColor color(Type type);
28 };
29 
30 #endif // BRANCHLABEL_H
ログテーブルウィジェットのブランチ名ラベル
Definition: BranchLabel.h:11
QString text
Definition: BranchLabel.h:20
QString info
Definition: BranchLabel.h:21
static QColor color(Type type)
Definition: BranchLabel.cpp:4
BranchLabel(Type kind=LocalBranch)
Definition: BranchLabel.h:22
Type kind
Definition: BranchLabel.h:19
Type
Definition: BranchLabel.h:13
@ Head
Definition: BranchLabel.h:14
@ Tag
Definition: BranchLabel.h:17
@ LocalBranch
Definition: BranchLabel.h:15
@ RemoteBranch
Definition: BranchLabel.h:16