#include <FxDesignDataItem.h>
|
virtual | ~CFxDesignDataItem (void) |
|
virtual CFxDesignResourceModel::ItemType | Type () const =0 |
|
virtual CFxString | GetName () const =0 |
|
virtual void | SetName (const CFxString &)=0 |
|
virtual void | SetTooltip (const CFxString &)=0 |
|
virtual CFxString | GetURL () const =0 |
|
virtual void | SetURL (const CFxString &)=0 |
|
virtual void | SetIconImage (const QIcon &)=0 |
|
virtual void | SetThumbnailImage (const QImage &)=0 |
|
virtual CFxString | GetLink () const =0 |
|
virtual void | SetLink (const CFxString &)=0 |
|
virtual void | SetProperty (CFxDesignDataItem::ItemProperty, bool bEnable)=0 |
|
virtual bool | IsPropertyEnabled (CFxDesignDataItem::ItemProperty) const =0 |
|
virtual void | SetOperationAllowed (CFxDesignDataItem::OperationFlags, bool bAllow)=0 |
|
virtual bool | IsOperationAllowed (CFxDesignDataItem::OperationFlags) const =0 |
|
virtual void | SetDetailColumnData (int iColumn, const OdResBufPtr pData)=0 |
|
virtual void | SetDetailColumnData (int iColumn, const OdDbDate pData)=0 |
|
virtual void | GetDetailColumnData (int iColumn, OdResBufPtr &pData) const =0 |
|
virtual void | GetDetailColumnData (int iColumn, OdDbDate &pData) const =0 |
|
virtual void | SetDetailColumnDataPrefix (int iColumn, const CFxString &strPrefix)=0 |
|
virtual void | GetDetailColumnDataPrefix (int iColumn, CFxString &strPrefix) const =0 |
|
virtual void | SetDetailColumnDataSuffix (int iColumn, const CFxString &strSuffix)=0 |
|
virtual void | GetDetailColumnDataSuffix (int iColumn, CFxString &strSuffix) const =0 |
|
virtual void | SetCustomData (int identifier, const OdResBufPtr ptrData)=0 |
|
virtual OdResBufPtr | GetCustomData (int identifier) const =0 |
|
virtual CFxDatabasePtr | GetDatabase () const =0 |
|
virtual void | Refresh ()=0 |
|
virtual CFxString | GetStatusText () const =0 |
|
virtual void | SetStatusText (const CFxString &sStatusText)=0 |
|
Definition at line 34 of file FxDesignDataItem.h.
◆ ItemProperty
Description: Item Property which describes the Item behavior and set/reset by user as per requirement.
Enumerator |
---|
ItemIsDragDrop | |
ItemIsEnable | |
Definition at line 40 of file FxDesignDataItem.h.
◆ OperationFlags
Description: Item operation Flags control on item context menu item by enable/disable it.
Enumerator |
---|
eAddtoFavorites | |
eRemoveFromFavorites | |
eSetAsHome | |
eInsertAsBlock | |
eAttachAsXref | |
eOpenInApplication | |
Definition at line 49 of file FxDesignDataItem.h.
◆ ~CFxDesignDataItem()
virtual CFxDesignDataItem::~CFxDesignDataItem |
( |
void |
| ) |
|
|
virtual |
◆ CFxDesignDataItem()
CFxDesignDataItem::CFxDesignDataItem |
( |
void |
| ) |
|
|
protected |
◆ GetCustomData()
virtual OdResBufPtr CFxDesignDataItem::GetCustomData |
( |
int |
identifier | ) |
const |
|
pure virtual |
◆ GetDatabase()
Description: Get Database of this item already loaded else try to load database for this item URL. It will return database for following item type only else return null. CFxDesignResourceModel::eDrawingItem ,
CFxDesignResourceModel::eBlockTable , CFxDesignResourceModel::eDimStyleTable , CFxDesignResourceModel::eLayerTable, CFxDesignResourceModel::eLineStyleTable, CFxDesignResourceModel::eXrefDrawings, CFxDesignResourceModel::eSheets, CFxDesignResourceModel::eTableStyles, CFxDesignResourceModel::eTextStyleTable, CFxDesignResourceModel::eBlock, CFxDesignResourceModel::eDimStyle , CFxDesignResourceModel::eLayer, CFxDesignResourceModel::eLineStyle, CFxDesignResourceModel::eXrefDrawing, CFxDesignResourceModel::eSheet, CFxDesignResourceModel::eTableStyle, CFxDesignResourceModel::eTextStyle
Return Value: database pointer if loaded else null.
◆ GetDetailColumnData() [1/2]
virtual void CFxDesignDataItem::GetDetailColumnData |
( |
int |
iColumn, |
|
|
OdDbDate & |
pData |
|
) |
| const |
|
pure virtual |
◆ GetDetailColumnData() [2/2]
virtual void CFxDesignDataItem::GetDetailColumnData |
( |
int |
iColumn, |
|
|
OdResBufPtr & |
pData |
|
) |
| const |
|
pure virtual |
Description: Get Detail View Column Data. Arguments:
- Parameters
-
int | Column number. |
OdResBufPtr/OdDbDate | Get column data that has set.
|
◆ GetDetailColumnDataPrefix()
virtual void CFxDesignDataItem::GetDetailColumnDataPrefix |
( |
int |
iColumn, |
|
|
CFxString & |
strPrefix |
|
) |
| const |
|
pure virtual |
◆ GetDetailColumnDataSuffix()
virtual void CFxDesignDataItem::GetDetailColumnDataSuffix |
( |
int |
iColumn, |
|
|
CFxString & |
strSuffix |
|
) |
| const |
|
pure virtual |
◆ GetLink()
virtual CFxString CFxDesignDataItem::GetLink |
( |
| ) |
const |
|
pure virtual |
Description: Get/Set item Link if any. Arguments:
- Parameters
-
Return Value: Link URL string.
◆ GetName()
virtual CFxString CFxDesignDataItem::GetName |
( |
| ) |
const |
|
pure virtual |
Description: Get or Set Item Display Name. Arguments:
- Parameters
-
Return Value: Item Name.
◆ GetStatusText()
virtual CFxString CFxDesignDataItem::GetStatusText |
( |
| ) |
const |
|
pure virtual |
Description: Get/Set item's text to display in palette's status bar, when this item is selected. Arguments:
- Parameters
-
Return Value: Status text string
◆ GetURL()
virtual CFxString CFxDesignDataItem::GetURL |
( |
| ) |
const |
|
pure virtual |
Description: Get/Set item URL. Arguments:
- Parameters
-
Return Value: URL String.
◆ IsOperationAllowed()
◆ IsPropertyEnabled()
◆ Refresh()
virtual void CFxDesignDataItem::Refresh |
( |
| ) |
|
|
pure virtual |
Description: Refresh this node by removing all its children and refill again.
◆ SetCustomData()
virtual void CFxDesignDataItem::SetCustomData |
( |
int |
identifier, |
|
|
const OdResBufPtr |
ptrData |
|
) |
| |
|
pure virtual |
Description: Set/Get Custom data with item. Arguments:
- Parameters
-
int | User defined custom data identifier. |
OdResBufPtr | data stored with item.
|
Return Value: OdResBufPtr data if set with item else null.
◆ SetDetailColumnData() [1/2]
virtual void CFxDesignDataItem::SetDetailColumnData |
( |
int |
iColumn, |
|
|
const OdDbDate |
pData |
|
) |
| |
|
pure virtual |
◆ SetDetailColumnData() [2/2]
virtual void CFxDesignDataItem::SetDetailColumnData |
( |
int |
iColumn, |
|
|
const OdResBufPtr |
pData |
|
) |
| |
|
pure virtual |
Description: Set Detail View Column Data. Arguments:
- Parameters
-
int | Column number. |
OdResBufPtr/OdDbDate | Column Data to set.
|
◆ SetDetailColumnDataPrefix()
virtual void CFxDesignDataItem::SetDetailColumnDataPrefix |
( |
int |
iColumn, |
|
|
const CFxString & |
strPrefix |
|
) |
| |
|
pure virtual |
Description: Set/Get Detail View Column Data Prefix. Arguments:
- Parameters
-
int | Column number. |
CFxString | column data prefix string stored with item.
|
◆ SetDetailColumnDataSuffix()
virtual void CFxDesignDataItem::SetDetailColumnDataSuffix |
( |
int |
iColumn, |
|
|
const CFxString & |
strSuffix |
|
) |
| |
|
pure virtual |
Description: Set/Get Detail View Column Data Suffix. Arguments:
- Parameters
-
int | Column number. |
CFxString | column data suffix string stored with item.
|
◆ SetIconImage()
virtual void CFxDesignDataItem::SetIconImage |
( |
const QIcon & |
| ) |
|
|
pure virtual |
Description: Set item Icon/Thumbnail view Image. Arguments:
- Parameters
-
CFxRasterImagePtr | Item Icon/Thumbnail view Image |
◆ SetLink()
◆ SetName()
◆ SetOperationAllowed()
Description: Set/Get item Operation flags . Arguments:
- Parameters
-
Return Value: true if Operation allowed.
◆ SetProperty()
Description: Set/Get item property. Arguments:
- Parameters
-
Return Value: true if property enable.
◆ SetStatusText()
virtual void CFxDesignDataItem::SetStatusText |
( |
const CFxString & |
sStatusText | ) |
|
|
pure virtual |
◆ SetThumbnailImage()
virtual void CFxDesignDataItem::SetThumbnailImage |
( |
const QImage & |
| ) |
|
|
pure virtual |
◆ SetTooltip()
Description: Set Item Tooltip. Arguments:
- Parameters
-
◆ SetURL()
◆ Type()
Description: Returns item type. Return Value: Item type.
The documentation for this class was generated from the following file: