2 // SourcesWin.h: Sources tracing window
4 // JPM = Jean-Paul Mari <djipi.mari@gmail.com>
7 // --- ---------- -------------------------------------------------------------
8 // JPM 08/23/2019 Created this file
11 #ifndef __SOURCESWIN_H__
12 #define __SOURCESWIN_H__
14 #include <QtWidgets/QtWidgets>
19 class SourcesWindow
: public QWidget
23 typedef struct S_SOURCESINFOS
28 size_t NbLinesText
[2];
31 SourceCWindow
*sourceCtab
;
32 int CurrentNumLineSrc
;
37 SourcesWindow(QWidget
* parent
= 0);
41 bool GetTraceStatus(void);
42 bool CheckChangeLine(void);
45 void RefreshContents(void);
46 void SelectTab(const int);
47 void CloseTab(const int);
50 void keyPressEvent(QKeyEvent
* e
);
51 void CloseCurrentTab(void);
55 QTabWidget
*sourcestabWidget
;
56 SourcesInfos
*sourcesinfostab
;
57 size_t NbSourcesInfos
;
59 size_t OldCurrentNumLineSrc
;
62 SourceCWindow
*sourceErrorTab
;
65 #endif // __SOURCESWIN_H__