mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
52 lines
2.1 KiB
C++
52 lines
2.1 KiB
C++
// SPDX-FileCopyrightText: 2021 Ernie Pasveer <epasveer@att.net>
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QtWidgets/QWidget>
|
|
#include <QtCore/QString>
|
|
#include "ui_SeerThreadFramesBrowserWidget.h"
|
|
|
|
class SeerThreadFramesBrowserWidget : public QWidget, protected Ui::SeerThreadFramesBrowserWidgetForm {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SeerThreadFramesBrowserWidget (QWidget* parent = 0);
|
|
~SeerThreadFramesBrowserWidget ();
|
|
|
|
public slots:
|
|
void handleText (const QString& text);
|
|
void handleStoppingPointReached ();
|
|
void handleSessionTerminated ();
|
|
void refresh ();
|
|
|
|
protected slots:
|
|
void handleItemClicked (QTreeWidgetItem* item, int column);
|
|
void handleItemEntered (QTreeWidgetItem* item, int column);
|
|
void handleGdbNextToolButton ();
|
|
void handleGdbStepToolButton ();
|
|
void handleGdbFinishToolButton ();
|
|
void handleGdbContinueToolButton ();
|
|
void handleGdbInterruptToolButton ();
|
|
|
|
signals:
|
|
void refreshThreadFrames ();
|
|
void refreshThreadIds ();
|
|
void selectedFile (QString file, QString fullname, int lineno);
|
|
void selectedFrame (int frameno);
|
|
void selectedThread (int threadid);
|
|
void nextThreadId (int threadid);
|
|
void stepThreadId (int threadid);
|
|
void finishThreadId (int threadid);
|
|
void continueThreadId (int threadid);
|
|
void interruptThreadId (int threadid);
|
|
|
|
protected:
|
|
void showEvent (QShowEvent* event);
|
|
|
|
private:
|
|
};
|
|
|