-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtabentry.h
More file actions
43 lines (31 loc) · 753 Bytes
/
tabentry.h
File metadata and controls
43 lines (31 loc) · 753 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef TABENTRY_H
#define TABENTRY_H
#include <QWidget>
#include <QImage>
#include <QEvent>
#include "stemedtooltip.h"
namespace Ui {
class TabEntry;
}
class TabEntry : public QWidget {
Q_OBJECT
private:
bool event(QEvent *);
public:
explicit TabEntry(QWidget *parent = 0);
~TabEntry();
void setName(QString);
void setIcon(QString);
void setTooltipText(QString text) {tooltipText = text;}
void showProgressBar(bool visible);
bool isChecked();
void setToolTip(QString name, QString size, QString url);
public slots:
void setProgressValue(int value);
void showStatusText(QString text);
private:
Ui::TabEntry *ui;
QString tooltipText;
StemedTooltip *tooltip;
};
#endif // TABENTRY_H