Files
seer/src/SeerWatchpointsBrowserWidget.h
T
2025-08-26 17:26:05 -05:00

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:
};