Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CToolsLayouts.hpp
Go to the documentation of this file.
1#ifndef LIBS_GUI_CTOOLSLAYOUTS_HPP_
2#define LIBS_GUI_CTOOLSLAYOUTS_HPP_
3
4#include "ui/gui/CList.hpp"
5
6#include <cstdint>
7#include <string>
8
10{
11public:
12 static CList *createPanelListSelection(IModelList **model, uint64_t sizeXMin, uint64_t sizeYMin,
13 uint64_t *indRowSelected);
14 static CList *createPanelListSelectionMultiple(IModelList **model, uint64_t sizeXMin, uint64_t sizeYMin,
15 std::vector<uint64_t> *indRowSelected);
16
17 static AbstractComponentGUI *createPanelWithImageLeft(uint64_t sizeX, uint64_t sizeY,
18 const std::string &strNameResource,
19 AbstractComponentGUI *component);
20 static AbstractComponentGUI *createPanelWithLabelLeft(const std::string &nameField,
21 AbstractComponentGUI *component);
22 static AbstractComponentGUI *createWithTitleCenter(const std::string &strTitle, AbstractComponentGUI *component);
23 static AbstractComponentGUI *createWithTitleLeft(const std::string &strTitle, AbstractComponentGUI *component);
25 static AbstractComponentGUI *createPanelNoElement(const std::string &nameElement, const std::string &imageElement);
27 static AbstractComponentGUI *panelFindReplaceSubstring(std::string *substringToFind,
28 std::string *substringToReplace);
29 static AbstractComponentGUI *panelError(const std::string &txtError);
30 static AbstractComponentGUI *panelInfo(const std::string &txtInfo);
31
32 static AbstractComponentGUI *panelFolderMedia(std::string *folderMediaSelected);
33
34 static void runDialogClickOkCancel(CEventClick *evt, AbstractComponentGUI **panel, bool *isOkOpt,
35 bool isResizable = false, bool isModal = false, bool isTransitentFor = false);
36 static void runDialogClickClose(CEventClick *evt, AbstractComponentGUI **panel);
37};
38
39#endif /* LIBS_GUI_CTOOLSLAYOUTS_HPP_ */
Definition AbstractComponentGUI.hpp:30
Definition CEventClick.hpp:9
Definition CList.hpp:15
Definition CToolsLayouts.hpp:10
static void runDialogClickOkCancel(CEventClick *evt, AbstractComponentGUI **panel, bool *isOkOpt, bool isResizable=false, bool isModal=false, bool isTransitentFor=false)
Definition CToolsLayouts.cpp:296
static AbstractComponentGUI * panelFolderMedia(std::string *folderMediaSelected)
static AbstractComponentGUI * createWithTitleCenter(const std::string &strTitle, AbstractComponentGUI *component)
Definition CToolsLayouts.cpp:193
static CList * createPanelListSelectionMultiple(IModelList **model, uint64_t sizeXMin, uint64_t sizeYMin, std::vector< uint64_t > *indRowSelected)
Definition CToolsLayouts.cpp:143
static AbstractComponentGUI * createPanelNoElement(const std::string &nameElement, const std::string &imageElement)
Definition CToolsLayouts.cpp:217
static AbstractComponentGUI * panelInfo(const std::string &txtInfo)
Definition CToolsLayouts.cpp:291
static AbstractComponentGUI * createWithTitleLeft(const std::string &strTitle, AbstractComponentGUI *component)
Definition CToolsLayouts.cpp:198
static AbstractComponentGUI * createPanelWithLabelLeft(const std::string &nameField, AbstractComponentGUI *component)
Definition CToolsLayouts.cpp:180
static CList * createPanelListSelection(IModelList **model, uint64_t sizeXMin, uint64_t sizeYMin, uint64_t *indRowSelected)
Definition CToolsLayouts.cpp:115
static AbstractComponentGUI * panelError(const std::string &txtError)
Definition CToolsLayouts.cpp:286
static void runDialogClickClose(CEventClick *evt, AbstractComponentGUI **panel)
Definition CToolsLayouts.cpp:345
static AbstractComponentGUI * createPanelWithImageLeft(uint64_t sizeX, uint64_t sizeY, const std::string &strNameResource, AbstractComponentGUI *component)
Definition CToolsLayouts.cpp:172
static AbstractComponentGUI * createPanelVoid()
Definition CToolsLayouts.cpp:233
static AbstractComponentGUI * createPanelNoDocument()
Definition CToolsLayouts.cpp:203
static AbstractComponentGUI * panelFindReplaceSubstring(std::string *substringToFind, std::string *substringToReplace)
Definition CToolsLayouts.cpp:256
Definition IModelList.hpp:14