#ifndef MENUHELPER_H #define MENUHELPER_H #include #include class MenuHelper : public QObject { Q_OBJECT public: /** * @brief Creates a menu of new items that can be created * * Adds the full set of creatable items to a QMenu (e.g. new project, * new sequence, new folder, etc.) * * @param parent * * The menu to add items to. */ void make_new_menu(QMenu* parent); /** * @brief Creates a menu of options for working with in/out points * * Adds a set of options for working with sequence/footage in/out points, * e.g. setting in/out points, clearing in/out points, etc. * * @param parent * * The menu to add items to. */ void make_inout_menu(QMenu* parent); private slots: }; namespace Olive { /** * @brief A global MenuHelper object to assist menu creation throughout Olive. */ extern MenuHelper MenuHelper; } #endif // MENUHELPER_H