Continues migration with DDS, Common
This commit is contained in:
1 parent
9b15cee841
commit
fa48db111e
668 files changed
+111841
-2
No files matched your search
Executable
+39
@@ -0,0 +1,39 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QTabBar>
|
||||
#include "lts_widgets_export.h"
|
||||
|
||||
namespace LtsWidgets
|
||||
{
|
||||
|
||||
|
||||
|
||||
class LTSWIDGETS_EXPORT LtsTabBar : public QTabBar
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(bool secondary MEMBER m_secondary)
|
||||
|
||||
public:
|
||||
|
||||
|
||||
explicit LtsTabBar(bool isSecondary = false, QWidget *parent = nullptr);
|
||||
|
||||
|
||||
|
||||
void _internal_closeTab();
|
||||
|
||||
protected:
|
||||
void onCustomContextMenuRequested(const QPoint pos);
|
||||
void onSaveCurrentWidgetAsImage(const QPoint pos);
|
||||
private:
|
||||
bool m_secondary;
|
||||
|
||||
public slots:
|
||||
void updateCloseButtonColors(int newIndex = -1);
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user