- Formatted all CodeGen module files (9 files) - Formatted LtsAppDescriptor module files - Formatted LtsAppManager/AppChooser files - Applied clang-format to all DTC and enum headers across modules - Removed coordTransTests from CommonUnitTestsPlaceholder (moved to tests/) Cosmetic changes only, no functional modifications. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
40 lines
823 B
C++
40 lines
823 B
C++
|
|
|
|
#ifndef LTS_TAB_SEQUENCE_WIDGET_H
|
|
#define LTS_TAB_SEQUENCE_WIDGET_H
|
|
|
|
#pragma once
|
|
#include "lts_abstract_sequence_widget.h"
|
|
#include "ltswidgets_export.h"
|
|
|
|
#include <QObject>
|
|
|
|
class QTabWidget;
|
|
|
|
namespace LtsWidgets
|
|
{
|
|
|
|
class LTSWIDGETS_EXPORT LtsTabSequenceWidget : public LtsAbstractSequenceWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
LtsTabSequenceWidget(QWidget* parent = nullptr);
|
|
|
|
virtual ~LtsTabSequenceWidget();
|
|
QWidget* getWidget(int index);
|
|
QWidget* getCurrentWidget();
|
|
int getCurrentTabIndex();
|
|
void changeTabName(const QString& name);
|
|
|
|
protected:
|
|
void setupMemberWidget(QWidget* child, QToolButton* pbChild, const QString& objectName,
|
|
bool isButtonVisible = true) override;
|
|
|
|
private:
|
|
QTabWidget* m_twSequences = nullptr;
|
|
};
|
|
} // namespace LtsWidgets
|
|
|
|
#endif
|