Blame view

LiveChat/FeiTalk/gui/userinfotip.h 581 Bytes
9f17d59e   陈明泉   no message
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  #ifndef USERINFOTIP_H
  #define USERINFOTIP_H
  
  #include <QWidget>
  #include "iwidget.h"
  
  namespace Ui {
  class UserInfoTip;
  }
  
  class UserInfoTip : public IWidget
  {
      Q_OBJECT
      
  public:
      explicit UserInfoTip(QWidget *parent = 0);
      ~UserInfoTip();
  
      void resizeEvent(QResizeEvent * event );
      
      void setHeaderImg(QString);//设置头像
      void setName(QString name);//设置昵称
      void setEvaluation(float evaluation_total);//设置星级
      void setCallTime(int call_time);//设置通话总时长
  
  private:
      Ui::UserInfoTip *ui;
  };
  
  #endif // USERINFOTIP_H