mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
56 lines
2.3 KiB
C++
56 lines
2.3 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 <QtCore/QStringList>
|
|
#include "ui_SeerWatchpointsBrowserWidget.h"
|
|
|
|
class SeerWatchpointsBrowserWidget : public QWidget, protected Ui::SeerWatchpointsBrowserWidgetForm {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SeerWatchpointsBrowserWidget (QWidget* parent = 0);
|
|
~SeerWatchpointsBrowserWidget ();
|
|
|
|
bool isEmpty () const;
|
|
QStringList breakpoints () const;
|
|
|
|
public slots:
|
|
void handleText (const QString& text);
|
|
void handleStoppingPointReached ();
|
|
void handleSessionTerminated ();
|
|
|
|
private slots:
|
|
void handleItemDoubleClicked (QTreeWidgetItem* item, int column);
|
|
void handleRefreshToolButton ();
|
|
void handleAddToolButton ();
|
|
void handleDeleteToolButton ();
|
|
void handleEnableToolButton ();
|
|
void handleDisableToolButton ();
|
|
void handleConditionToolButton ();
|
|
void handleIgnoreToolButton ();
|
|
void handleCommandsToolButton ();
|
|
|
|
signals:
|
|
void refreshWatchpointsList ();
|
|
void deleteWatchpoints (QString watchpoints);
|
|
void enableWatchpoints (QString watchpoints);
|
|
void disableWatchpoints (QString watchpoints);
|
|
void addBreakpointCondition (QString watchpoint, QString condition);
|
|
void addBreakpointIgnore (QString watchpoint, QString count);
|
|
void addBreakpointCommands (QString watchpoint, QStringList commands);
|
|
void insertWatchpoint (QString watchpoint);
|
|
void selectedFile (QString file, QString fullname, int lineno);
|
|
|
|
protected:
|
|
void showEvent (QShowEvent* event);
|
|
|
|
private:
|
|
};
|
|
|