Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+43
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* widget for creating a tab view of dds sequences
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Verena Eberlein, SPMO, 2023-08-03
|
||||
*/
|
||||
#ifndef LTS_TAB_SEQUENCE_WIDGET_H
|
||||
#define LTS_TAB_SEQUENCE_WIDGET_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "lts_abstract_sequence_widget.h"
|
||||
#include "lts_widgets_export.h"
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // LTS_TAB_SEQUENCE_WIDGET_H
|
||||
Reference in new issue
Block a user