WIP: refactoring ongoing.

This commit is contained in:
Matthias Koefferlein 2020-02-07 01:32:05 +01:00
parent 68472e6e14
commit b604624123
2 changed files with 3 additions and 31 deletions

View File

@ -532,36 +532,6 @@ public:
*/
static std::vector<std::string> menu_symbols ();
/**
* @brief Get the action for a slot
*/
lay::Action &action_for_slot (const char *slot);
/**
* @brief Create a configuration action with the given title, parameter name and value
*
* The action will be owned by the main window but can be deleted to remove the action from the main window.
*/
lay::Action *create_config_action (const std::string &title, const std::string &cname, const std::string &cvalue);
/**
* @brief Create a configuration action with the given parameter name and value
*
* The action will be owned by the main window but can be deleted to remove the action from the main window.
* This version is provided for applications, where the title is set later.
*/
lay::Action *create_config_action (const std::string &cname, const std::string &cvalue);
/**
* @brief Register a configuration action with the given name
*/
void register_config_action (const std::string &name, lay::ConfigureAction *action);
/**
* @brief Unregister a configuration action with the given name
*/
void unregister_config_action (const std::string &name, lay::ConfigureAction *action);
/**
* @brief Open a new layout in mode 'mode'
*

View File

@ -24,6 +24,8 @@
#ifndef HDR_SelectCellViewForm
#define HDR_SelectCellViewForm
#include "laybasicCommon.h"
#include <string>
#include <vector>
@ -37,7 +39,7 @@ namespace lay
class CellView;
class LayoutView;
class SelectCellViewForm
class LAYBASIC_PUBLIC SelectCellViewForm
: public QDialog, private Ui::SelectCellViewForm
{
Q_OBJECT