21#ifndef LIBRARYFILEEXTENSIONBAR_H
22#define LIBRARYFILEEXTENSIONBAR_H
24#include "Gui/Utils/Widgets/Widget.h"
25#include "Utils/Pimpl.h"
40 class FileExtensionBar :
44 PIMPL(FileExtensionBar)
47 void sigCloseClicked();
50 explicit FileExtensionBar(QWidget* parent =
nullptr);
51 ~FileExtensionBar()
override;
77 void languageChanged()
override;
80 void buttonToggled(
bool b);
Definition AbstractLibrary.h:41
Collection of extensions. Handles extensions currently active or inactive and the extension toolbar.
Definition ExtensionSet.h:33
void clear()
clears all buttons and the layout
void refresh()
refetches all tracks with extensions, clears the layout, adds new buttons
void init(AbstractLibrary *library)
This method needs to be called before any other operation.
bool hasExtensions() const
has_extensions