Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Classes | Defines
linestyle.h File Reference
#include <qstring.h>
#include <qvaluelist.h>
#include "style.h"
#include "styles/stylecontextproxy.h"
#include "linestyle.attrdefs.cxx"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  SCRIBUS_API
 A Bookmark Palette. More...

Defines

#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT)
 getter: validates and returns the attribute's value
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT)
 getter: validates and returns the attribute's value
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT)   const attr_TYPE attr_GETTER() const { validate(); return m_##attr_NAME; }
 getter: validates and returns the attribute's value
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT)   void set##attr_NAME(attr_TYPE v) { m_##attr_NAME = v; inh_##attr_NAME = false; }
 getter: validates and returns the attribute's value
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT)   void reset##attr_NAME() { m_##attr_NAME = attr_DEFAULT; inh_##attr_NAME = true; }
 getter: validates and returns the attribute's value
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT)   bool isInh##attr_NAME() const { return inh_##attr_NAME; }
 getter: validates and returns the attribute's value
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT)
 getter: validates and returns the attribute's value
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT)
 getter: validates and returns the attribute's value
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT)
 getter: validates and returns the attribute's value
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT)
 getter: validates and returns the attribute's value

Define Documentation

#define ATTRDEF (   attr_TYPE,
  attr_GETTER,
  attr_NAME,
  attr_DEFAULT 
)
Value:
m_##attr_NAME = attr_DEFAULT; \
              inh_##attr_NAME = true;

getter: validates and returns the attribute's value

isDefined: returns true if the attribute is defined in this style or any parent

isInherited: returns true if the attribute is inherited

setter: resets the attribute's value and sets inherited flag

setter: sets the attribute's value and clears inherited flag

Definition at line 122 of file linestyle.h.

#define ATTRDEF (   attr_TYPE,
  attr_GETTER,
  attr_NAME,
  attr_DEFAULT 
)
Value:
m_##attr_NAME = attr_DEFAULT; \
              inh_##attr_NAME = true;

getter: validates and returns the attribute's value

isDefined: returns true if the attribute is defined in this style or any parent

isInherited: returns true if the attribute is inherited

setter: resets the attribute's value and sets inherited flag

setter: sets the attribute's value and clears inherited flag

Definition at line 122 of file linestyle.h.

#define ATTRDEF (   attr_TYPE,
  attr_GETTER,
  attr_NAME,
  attr_DEFAULT 
)    const attr_TYPE attr_GETTER() const { validate(); return m_##attr_NAME; }

getter: validates and returns the attribute's value

isDefined: returns true if the attribute is defined in this style or any parent

isInherited: returns true if the attribute is inherited

setter: resets the attribute's value and sets inherited flag

setter: sets the attribute's value and clears inherited flag

Definition at line 122 of file linestyle.h.

#define ATTRDEF (   attr_TYPE,
  attr_GETTER,
  attr_NAME,
  attr_DEFAULT 
)    void set##attr_NAME(attr_TYPE v) { m_##attr_NAME = v; inh_##attr_NAME = false; }

getter: validates and returns the attribute's value

isDefined: returns true if the attribute is defined in this style or any parent

isInherited: returns true if the attribute is inherited

setter: resets the attribute's value and sets inherited flag

setter: sets the attribute's value and clears inherited flag

Definition at line 122 of file linestyle.h.

#define ATTRDEF (   attr_TYPE,
  attr_GETTER,
  attr_NAME,
  attr_DEFAULT 
)    void reset##attr_NAME() { m_##attr_NAME = attr_DEFAULT; inh_##attr_NAME = true; }

getter: validates and returns the attribute's value

isDefined: returns true if the attribute is defined in this style or any parent

isInherited: returns true if the attribute is inherited

setter: resets the attribute's value and sets inherited flag

setter: sets the attribute's value and clears inherited flag

Definition at line 122 of file linestyle.h.

#define ATTRDEF (   attr_TYPE,
  attr_GETTER,
  attr_NAME,
  attr_DEFAULT 
)    bool isInh##attr_NAME() const { return inh_##attr_NAME; }

getter: validates and returns the attribute's value

isDefined: returns true if the attribute is defined in this style or any parent

isInherited: returns true if the attribute is inherited

setter: resets the attribute's value and sets inherited flag

setter: sets the attribute's value and clears inherited flag

Definition at line 122 of file linestyle.h.

#define ATTRDEF (   attr_TYPE,
  attr_GETTER,
  attr_NAME,
  attr_DEFAULT 
)
Value:
bool isDef##attr_NAME() const { \
              if ( !inh_##attr_NAME ) return true; \
              const LineStyle * par = dynamic_cast<const LineStyle*>(parentStyle()); \
              return par && par->isDef##attr_NAME(); \
       }

getter: validates and returns the attribute's value

isDefined: returns true if the attribute is defined in this style or any parent

isInherited: returns true if the attribute is inherited

setter: resets the attribute's value and sets inherited flag

setter: sets the attribute's value and clears inherited flag

Definition at line 122 of file linestyle.h.

#define ATTRDEF (   attr_TYPE,
  attr_GETTER,
  attr_NAME,
  attr_DEFAULT 
)
Value:
attr_TYPE m_##attr_NAME; \
       bool inh_##attr_NAME;

getter: validates and returns the attribute's value

isDefined: returns true if the attribute is defined in this style or any parent

isInherited: returns true if the attribute is inherited

setter: resets the attribute's value and sets inherited flag

setter: sets the attribute's value and clears inherited flag

Definition at line 122 of file linestyle.h.

#define ATTRDEF (   attr_TYPE,
  attr_GETTER,
  attr_NAME,
  attr_DEFAULT 
)
Value:
m_##attr_NAME = other.m_##attr_NAME; \
       inh_##attr_NAME = other.inh_##attr_NAME;

getter: validates and returns the attribute's value

isDefined: returns true if the attribute is defined in this style or any parent

isInherited: returns true if the attribute is inherited

setter: resets the attribute's value and sets inherited flag

setter: sets the attribute's value and clears inherited flag

Definition at line 122 of file linestyle.h.

#define ATTRDEF (   attr_TYPE,
  attr_GETTER,
  attr_NAME,
  attr_DEFAULT 
)
Value:
m_##attr_NAME = other.m_##attr_NAME; \
       inh_##attr_NAME = other.inh_##attr_NAME;

getter: validates and returns the attribute's value

isDefined: returns true if the attribute is defined in this style or any parent

isInherited: returns true if the attribute is inherited

setter: resets the attribute's value and sets inherited flag

setter: sets the attribute's value and clears inherited flag

Definition at line 122 of file linestyle.h.