Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
userinfoform.hpp
1 //This program is free software: you can redistribute it and/or modify
2 //it under the terms of the GNU General Public License as published by
3 //the Free Software Foundation, either version 3 of the License, or
4 //(at your option) any later version.
5 
6 //This program is distributed in the hope that it will be useful,
7 //but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 //GNU General Public License for more details.
10 
11 #ifndef USERINFOFORM_H
12 #define USERINFOFORM_H
13 
14 #include <QDockWidget>
15 #include <QString>
16 #include "wikiuser.hpp"
17 
18 namespace Ui
19 {
20  class UserinfoForm;
21 }
22 
23 namespace Huggle
24 {
25  class WikiUser;
26 
27  /// \todo RELEASE BLOCKER: History of edits doesn't work yet, it needs to be done
28 
29  /*!
30  * \brief The UserinfoForm class is a widget that displays the information about user
31  * including their history and some other information about the user
32  */
33  class UserinfoForm : public QDockWidget
34  {
35  Q_OBJECT
36 
37  public:
38  explicit UserinfoForm(QWidget *parent = 0);
39  ~UserinfoForm();
40  void ChangeUser(WikiUser *user);
41 
42  private:
43  Ui::UserinfoForm *ui;
44  WikiUser *User;
45  };
46 }
47 
48 #endif // USERINFOFORM_H
The UserinfoForm class is a widget that displays the information about user including their history a...