![]() |
Miam-Player
0.8.0
A nice music player
|
The ViewLoader class is an Helper class designed to load complex views (subclasses of QWidget). More...
#include <viewloader.h>
Public Member Functions | |
ViewLoader (MediaPlayer *mediaPlayer, PluginManager *pluginManager, QWidget *parent=nullptr) | |
AbstractView * | load (AbstractView *currentView, const QString &menuAction) |
The ViewLoader class is an Helper class designed to load complex views (subclasses of QWidget).
This class can instanciate ViewPlaylists and UniqueLibrary classes of this player, but it also has the ability to load views from any plugin, if this plugin provides an implementation of AbstractView.
|
explicit |
AbstractView * ViewLoader::load | ( | AbstractView * | currentView, |
const QString & | menuAction | ||
) |