Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicorePopupEntry.h
Go to the documentation of this file.
1
7#ifndef __HDI_CORE_POPUP_ENTRY__
8#define __HDI_CORE_POPUP_ENTRY__
9
10#include "hdicoreListEntry.h"
11
12namespace hdi
13{
14 namespace core
15 {
19 class PopupEntry : public ListEntry
20 {
21 public:
34
43
56 const std::string& id_,
57 const std::string& value_,
58 void* userData_,
59 const bool enabled_
60 );
61
67 virtual ~PopupEntry();
68
78 virtual PopupEntry& operator=(const PopupEntry& rhs_);
79
87 virtual bool editable() const;
88
96 virtual void setEditable(const bool editable_);
97
106 virtual bool operator==(const PopupEntry& rhs_) const;
107
116 virtual bool operator!=(const PopupEntry& rhs_) const;
117 };
118
119 typedef std::unique_ptr<PopupEntry> PopupEntryUP;
120 typedef std::shared_ptr<PopupEntry> PopupEntrySP;
121 typedef std::weak_ptr<PopupEntry> PopupEntryWP;
122 }
123}
124
125#endif
126// __HDI_CORE_POPUP_ENTRY__
Allows combo boxes, popups, and lists to store more data than simply strings and indices.
Definition: hdicoreListEntry.h:25
Allows combo boxes, popups, and flyouts to store more data than simply strings and indices.
Definition: hdicorePopupEntry.h:20
PopupEntry(const std::string &id_, const std::string &value_, void *userData_, const bool enabled_)
Constructs a PopupEntry object with some custom data.
virtual void setEditable(const bool editable_)
Sets the editability of the entry (whether the user can edit it inline)
virtual ~PopupEntry()
Destructs a PopupEntry object.
PopupEntry()
Constructs an empty PopupEntry object.
virtual bool editable() const
Gets the editability of the entry (whether the user can edit it inline)
virtual bool operator==(const PopupEntry &rhs_) const
Tests whether a given PopupEntry object is the same as another.
virtual PopupEntry & operator=(const PopupEntry &rhs_)
Assigns one PopupEntry object to another.
virtual bool operator!=(const PopupEntry &rhs_) const
Tests whether a given PopupEntry object is not the same as another.
PopupEntry(const PopupEntry &e_)
Constructs a new PopupEntry object from an existing PopupEntry object (copy constructor)
Header file for creating entry objects to be added to Widget subclasses (that support them)