This repository has been archived by the owner on Feb 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tabwidget.h
90 lines (76 loc) · 2.55 KB
/
tabwidget.h
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#ifndef TABWIDGET_H
#define TABWIDGET_H
#include "extension.h"
class LogView;
class TabWidget : public QTabWidget
{
Q_OBJECT
public:
explicit TabWidget(QWidget *parent = 0);
void openZipBundle(const QString &zipBundle, const QString &crashInfo);
void openZipBundle(const QString &path);
void openRawLogFile(const QStringList &paths);
void openFolder(const QString &path, bool installed);
void inputKeyword();
void clearKeyword();
void enableRegexpMode(bool enabled);
void searchFieldContent();
void searchFieldID();
void searchFieldDateTime();
void searchFieldThread();
void searchFieldCategory();
void searchFieldSourceFile();
void searchFieldMethod();
void searchFieldLogFile();
void searchFieldLine();
void searchFieldLevel();
signals:
void statusBarMessage(const QString &);
public slots:
void onCloseAll();
void onCloseAllButThis();
void onCloseCurrent();
void onTabCloseRequested(int index);
void onCopyCurrentCell();
void onCopyCurrentRow();
void onCopySelectedCells();
void onCopySelectedRows();
void onCopyCurrentCellWithXMLFormatted();
void onCopyCurrentRowWithXMLFormatted();
void onCopySelectedCellsWithXMLFormatted();
void onCopySelectedRowsWithXMLFormatted();
void onAddCurrentRowToBookmark();
void onRemoveCurrentRowFromBookmark();
void onAddSelectedRowsToBookmark();
void onRemoveSelectedRowsFromBookmark();
void onRemoveAllBookmarks();
void onGotoFirstBookmark();
void onGotoPreviousBookmark();
void onGotoNextBookmark();
void onGotoLastBookmark();
void onCopyFileName();
void onCopyFileFullPath();
void onOpenContainerFolder();
void onScrollToTop();
void onScrollToBottom();
void onGotoById();
void onRunExtension(ExtensionPtr e);
void onExtensionActionTriggered();
void onNewLogTableView();
void onNewLogLevelPieChart();
void onNewLogThreadPieChart();
void onNewLogSourceFilePieChart();
void onNewLogSourceLinePieChart();
void onNewLogCategoryPieChart();
void onNewLogMethodPieChart();
void onNewLogPresenceTableView();
private slots:
void onCustomContextMenuRequested(const QPoint &pos);
void onCurrentChanged(int index);
void onLogViewRowCountChanged();
private:
int findTab(const QString &path);
int findTab(const QStringList &paths);
int addTab(LogView *w, const QString &text, const QString &tooltip);
};
#endif // TABWIDGET_H