Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+36
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* ToolBox for Menus
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "lts_base.h"
|
||||
#include "lts_widgets_export.h"
|
||||
|
||||
#include <QToolBox>
|
||||
|
||||
namespace LtsWidgets
|
||||
{
|
||||
|
||||
class LTSWIDGETS_EXPORT LtsToolBox : public QToolBox
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LtsToolBox(QWidget *parent = nullptr);
|
||||
~LtsToolBox();
|
||||
void resizeEvent(QResizeEvent *e) override;
|
||||
void addItem(QWidget *widget, const QString &text);
|
||||
|
||||
signals:
|
||||
void resized(QResizeEvent *e);
|
||||
|
||||
public slots:
|
||||
void showContextMenu(const QPoint &pos);
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user