mirror of
https://github.com/logos-storage/logos-storage-app-skeleton.git
synced 2026-06-14 04:19:25 +00:00
Remove unused widget
This commit is contained in:
parent
3a93cfb520
commit
0615899689
@ -1,24 +0,0 @@
|
||||
#include "DebugWidget.h"
|
||||
#include <QDebug>
|
||||
|
||||
// Static pointer to the active StorageWidget for callbacks
|
||||
static StorageWidget* activeWidget = nullptr;
|
||||
|
||||
StorageWidget::StorageWidget(QWidget* parent) : QWidget(parent) {
|
||||
|
||||
// Set as the active widget
|
||||
activeWidget = this;
|
||||
|
||||
// m_logosAPI = new LogosAPI("core", this);
|
||||
// logos = new LogosModules(m_logosAPI);
|
||||
|
||||
// Main vertical layout
|
||||
mainLayout = new QVBoxLayout(this);
|
||||
}
|
||||
|
||||
StorageWidget::~StorageWidget() {
|
||||
// Reset the active widget if it's this instance
|
||||
if (activeWidget == this) {
|
||||
activeWidget = nullptr;
|
||||
}
|
||||
}
|
||||
@ -1,21 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QWidget>
|
||||
|
||||
class DebugWidget : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DebugWidget(QWidget* parent = nullptr);
|
||||
~DebugWidget();
|
||||
|
||||
// private slots:
|
||||
// void onSendButtonClicked();
|
||||
// void onStartButtonClicked();
|
||||
// void onDebugButtonClicked();
|
||||
|
||||
private:
|
||||
// UI elements
|
||||
QVBoxLayout* mainLayout;
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user