Views
Gadgets Package API Reference Guide
Product Documentation:
Views Documentation Home
Classes | Macros
notebook.h File Reference
#include <ilviews/gadgets/arrowb.h>
#include <ilviews/base/value.h>
#include <ilviews/gadgets/itemgdt.h>
#include <ilviews/gadgets/macrosadv.h>

Classes

class  IlvDefaultNotebookLFHandler
 Object look-and-feel class. More...
 
class  IlvNotebook
 Gadget class. More...
 
class  IlvNotebookLFHandler
 Object Look-and-Feel class. More...
 
class  IlvNotebookPage
 Gadget-related class. More...
 

Macros

#define DeclareNotebookPageInfo()
 
#define DeclareNotebookPageInfoRO()
 
#define DeclareNotebookPageIOConstructors(classname)
 
#define IlvNotebookDefaultPageMargin
 
#define IlvNotebookDefaultXMargin
 
#define IlvNotebookDefaultYMargin
 
#define IlvPredefinedNotebookPageIOMembers(classname)
 
#define IlvRegisterNotebookPageClass(classname, superclass)
 

Detailed Description

Library: ilvadvgdt
Declaration of the IlvNotebook and related classes.

Macro Definition Documentation

◆ DeclareNotebookPageInfo

#define DeclareNotebookPageInfo ( )

Use this macro to declare the input/output routines of your notebook page subclass readItem(), write(), and copy().

See also
DeclareNotebookPageInfoRO(), DeclareNotebookPageIOConstructors()

◆ DeclareNotebookPageInfoRO

#define DeclareNotebookPageInfoRO ( )

Use this macro to declare the input/output routines of your notebook page subclass when you do not need to add the write() member function (that is, your notebook page subtype do not add any new data that needs to be saved, and the implementation of the() write member function in the parent class already does the job).

See also
DeclareNotebookPageInfo(), DeclareNotebookPageIOConstructors().

◆ DeclareNotebookPageIOConstructors

#define DeclareNotebookPageIOConstructors (   classname)

Use this macro to declare the input/output constructors of your notebook page subclass.

Parameters
classnameThe class name.
See also
DeclareNotebookPageInfoRO(), DeclareNotebookPageInfo().

◆ IlvNotebookDefaultPageMargin

#define IlvNotebookDefaultPageMargin

◆ IlvNotebookDefaultXMargin

#define IlvNotebookDefaultXMargin

Defines the value used to represent the last page of the notebook.

See also
IlvNotebook::addPage().

Defines the default x margin of the notebook.

See also
IlvNotebook::setXMargin().

◆ IlvNotebookDefaultYMargin

#define IlvNotebookDefaultYMargin

Defines the default y margin of the notebook.

See also
IlvNotebook::setYMargin().

◆ IlvPredefinedNotebookPageIOMembers

#define IlvPredefinedNotebookPageIOMembers (   classname)

Use this macro to provide a default implementation for the copy() and readItem() member functions of the IlvNotebookPage class when subclassing it.

Parameters
classnameThe name of the class.
See also
DeclareNotebookPageIOConstructors(), DeclareNotebookPageInfo().

◆ IlvRegisterNotebookPageClass

#define IlvRegisterNotebookPageClass (   classname,
  superclass 
)

Use this macro to register your subclass of IlvNotebookPage.

Parameters
classnameThe name of the class being registered.
superclassThe superclass of classname.