List of all members | Public Types | Properties | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Friends
Comments Class Reference

#include <comments.h>

Inheritance diagram for Comments:
QWidget

Public Types

enum  CommentSources {
  Uninitialized, Address, BBOMHead, BBOMItem,
  BOMHead, BOMItem, BOOHead, BOOItem,
  CRMAccount, Contact, Customer, Employee,
  FixedAsset, MaintOrder, ExchangeRate, Incident,
  Invoice, InvoiceItem, Item, ItemSite,
  ItemSource, Location, LotSerial, Opportunity,
  Project, PurchaseOrder, PurchaseOrderItem, ReturnAuth,
  ReturnAuthItem, RentalItem, Quote, QuoteItem,
  SalesOrder, SalesOrderItem, Task, TimeAttendance,
  TodoItem, TransferOrder, TransferOrderItem, Vendor,
  Voucher, Warehouse, WorkOrder
}
 

Properties

int type
 

Public Slots

void anchorClicked (const QUrl &)
 
void refresh ()
 
void sCheckButtonPriv (bool)
 
void sEdit ()
 
void setEditable (bool p)
 
void setId (int)
 
void setReadOnly (bool)
 
void setType (int sourceType)
 
void setType (QString sourceType)
 
void setVerboseCommentList (bool)
 
void sNew ()
 
void sOpen ()
 
void sView ()
 

Signals

void commentAdded ()
 

Public Member Functions

 Comments (QWidget *, const char *=0)
 
 ~Comments ()
 
int sourceid ()
 
int type () const
 
bool userCanEdit (int)
 

Static Public Member Functions

static void cleanup ()
 
static QMap< QString, struct CommentMap * > & commentMap ()
 

Friends

class comment
 

Member Enumeration Documentation

◆ CommentSources

Enumerator
Uninitialized 
Address 
BBOMHead 
BBOMItem 
BOMHead 
BOMItem 
BOOHead 
BOOItem 
CRMAccount 
Contact 
Customer 
Employee 
FixedAsset 
MaintOrder 
ExchangeRate 
Incident 
Invoice 
InvoiceItem 
Item 
ItemSite 
ItemSource 
Location 
LotSerial 
Opportunity 
Project 
PurchaseOrder 
PurchaseOrderItem 
ReturnAuth 
ReturnAuthItem 
RentalItem 
Quote 
QuoteItem 
SalesOrder 
SalesOrderItem 
Task 
TimeAttendance 
TodoItem 
TransferOrder 
TransferOrderItem 
Vendor 
Voucher 
Warehouse 
WorkOrder 

Property Documentation

◆ type

int Comments::type
readwrite

Constructor & Destructor Documentation

◆ Comments()

Comments::Comments ( QWidget pParent,
const char *  name = 0 
)

◆ ~Comments()

Comments::~Comments ( )

Member Function Documentation

◆ anchorClicked

void Comments::anchorClicked ( const QUrl &  url)
slot

◆ cleanup()

void Comments::cleanup ( )
static

◆ commentAdded

void Comments::commentAdded ( )
signal

◆ commentMap()

QMap< QString, struct CommentMap * > & Comments::commentMap ( )
static

◆ refresh

void Comments::refresh ( )
slot

◆ sCheckButtonPriv

void Comments::sCheckButtonPriv ( bool  pValid)
slot

◆ sEdit

void Comments::sEdit ( )
slot

◆ setEditable

void Comments::setEditable ( bool  p)
inlineslot

◆ setId

void Comments::setId ( int  pSourceid)
slot

◆ setReadOnly

void Comments::setReadOnly ( bool  pReadOnly)
slot

◆ setType [1/2]

void Comments::setType ( int  sourceType)
slot

◆ setType [2/2]

void Comments::setType ( QString  sourceType)
slot

◆ setVerboseCommentList

void Comments::setVerboseCommentList ( bool  vcl)
slot

◆ sNew

void Comments::sNew ( )
slot

◆ sOpen

void Comments::sOpen ( )
slot

◆ sourceid()

int Comments::sourceid ( )
inline

◆ sView

void Comments::sView ( )
slot

◆ type()

int Comments::type ( ) const

◆ userCanEdit()

bool Comments::userCanEdit ( int  id)

Friends And Related Function Documentation

◆ comment

friend class comment
friend

The documentation for this class was generated from the following files:

Generated on Mon May 3 2021 xTuple ERP Programmer Reference, Version 4.12.0 doxygen 1.8.17