32 #ifndef TBX_PROGINFO_H_
33 #define TBX_PROGINFO_H_
35 #include "showfullobject.h"
42 class AboutToBeShownListener;
43 class HasBeenHiddenListener;
59 enum { TOOLBOX_CLASS = 0x82b40 };
void add_has_been_hidden_listener(HasBeenHiddenListener *listener)
This event is raised after the ProgInfo dialog has been completed.
Definition: proginfo.cc:61
void title(std::string value)
Set the title.
Definition: proginfo.h:193
ObjectId _handle
Handle for toolbox object.
Definition: object.h:173
int title_length() const
Return the title length.
Definition: proginfo.h:203
ProgInfo & operator=(const Object &other)
Assign this ProgInfo from an Object that refers to a ProgInfo.
Definition: proginfo.h:123
bool operator!=(const Object &other) const
Check if this ProgInfo does not refers to the same underlying toolbox object as another.
Definition: proginfo.h:139
int version_length() const
Return version string length.
Definition: proginfo.h:165
bool operator==(const Object &other) const
Check if this ProgInfo refers to the same underlying toolbox object as another.
Definition: proginfo.h:131
Listener for about to be shown event.
Definition: abouttobeshownlistener.h:76
void check_toolbox_class(int class_id) const
Check if this objects toolbox class is as specified.
Definition: object.cc:122
void remove_about_to_be_shown_listener(AboutToBeShownListener *listener)
Remove about to be shown listener.
Definition: proginfo.cc:53
int string_property_length(int property_id) const
Gets the size of a string properties buffer.
Definition: object.cc:530
void add_about_to_be_shown_listener(AboutToBeShownListener *listener)
This event is raised just before the ProgInfo underlying window is about to be shown.
Definition: proginfo.cc:45
Class to show a toolbox ProgInfo object.
Definition: proginfo.h:56
ProgInfo(const Object &other)
Construct a ProgInfo from an Object that refers to a ProgInfo.
Definition: proginfo.h:86
std::string version() const
Return version string.
Definition: proginfo.h:159
ProgInfo & operator=(const ProgInfo &other)
Assign this ProgInfo from another.
Definition: proginfo.h:111
void licence_type(LicenceType type)
Set the licence type.
Definition: proginfo.h:183
int int_property(int property_id) const
Return the value of a property that returns an integer.
Definition: object.cc:435
std::string string_property(int property_id) const
Return the value of a property that returns text.
Definition: object.cc:477
unsigned int ObjectId
Type for underlying toolbox object id.
Definition: handles.h:31
std::string title() const
Return the title.
Definition: proginfo.h:198
ObjectId handle() const
Return the underlying toolbox object id this object references.
Definition: object.h:93
void version(std::string value)
Set version.
Definition: proginfo.h:153
LicenceType licence_type() const
Get the licence type.
Definition: proginfo.h:188
The Window object represents a toolbox window.
Definition: window.h:69
LicenceType
Enumeration of license types.
Definition: proginfo.h:170
ProgInfo()
Construct creates an unassigned ProgInfo.
Definition: proginfo.h:66
void remove_has_been_hidden_listener(HasBeenHiddenListener *listener)
Remove has been hidden listener.
Definition: proginfo.cc:69
ProgInfo(const ProgInfo &other)
Construct a ProgInfo from another ProgInfo.
Definition: proginfo.h:75
Window window() const
Return the underlying toolbox window used to implement the ProgInfo object.
Definition: proginfo.h:146
Listener for an object has been hidden event.
Definition: hasbeenhiddenlistener.h:36
Objects derived from this class can be shown with there full location and size specified as well as t...
Definition: showfullobject.h:40
Class to manipulate a toolbox object.
Definition: object.h:50
Class to represent a ProgInfo resource.
Definition: resproginfo.h:42
ProgInfo(const std::string &template_name)
Create a ProgInfo from the named template.
Definition: proginfo.h:94