2 #include <score/widgets/ArrowButton.hpp>
3 #include <score/widgets/MarginLess.hpp>
12 #include <score_lib_inspector_export.h>
19 class SCORE_LIB_INSPECTOR_EXPORT
MenuButton final :
public QToolButton
38 QString name,
bool nameEditable =
false, QWidget* parent =
nullptr);
41 QMenu* menu()
const {
return m_menu; }
49 void renameSection(QString newName);
52 void addContent(QWidget* newWidget);
55 void removeContent(QWidget* toRemove);
58 void showMenu(
bool b);
61 void nameChanged(QString newName)
62 E_SIGNAL(SCORE_LIB_INSPECTOR_EXPORT, nameChanged, newName)
72 QPushButton m_buttonTitle;
73 QLineEdit m_sectionTitle;
Classes used for making and extending the inspector (default right panel).
Definition: lib/score/widgets/Layout.hpp:27