kexi

#include <kexirecordmarker.h>

Inherits TQWidget.

Public Slots

void setOffset (int offset)
 
void setCellHeight (int cellHeight)
 
void setCurrentRow (int row)
 
void setHighlightedRow (int row)
 
void setEditRow (int row)
 
void showInsertRow (bool show)
 
TQColor selectionBackgroundColor () const
 
void setSelectionBackgroundColor (const TQColor &color)
 
void addLabel (bool upd=true)
 
void removeLabel (bool upd=true)
 
void addLabels (int num, bool upd=true)
 
void clear (bool upd=true)
 

Public Member Functions

 KexiRecordMarker (TQWidget *parent, const char *name=0)
 
int rows () const
 

Static Public Member Functions

static TQImage * penImage ()
 
static TQImage * plusImage ()
 

Protected Member Functions

virtual void paintEvent (TQPaintEvent *e)
 

Protected Attributes

Private *const d
 

Detailed Description

Record marker, usually displayed at the left side of a table view or a continuous form.

Definition at line 31 of file kexirecordmarker.h.

Constructor & Destructor Documentation

◆ KexiRecordMarker()

KexiRecordMarker::KexiRecordMarker ( TQWidget *  parent,
const char *  name = 0 
)

Definition at line 119 of file kexirecordmarker.cpp.

◆ ~KexiRecordMarker()

KexiRecordMarker::~KexiRecordMarker ( )

Definition at line 126 of file kexirecordmarker.cpp.

Member Function Documentation

◆ addLabel

void KexiRecordMarker::addLabel ( bool  upd = true)
slot

Definition at line 143 of file kexirecordmarker.cpp.

◆ addLabels

void KexiRecordMarker::addLabels ( int  num,
bool  upd = true 
)
slot

Adds num labels

Definition at line 159 of file kexirecordmarker.cpp.

◆ clear

void KexiRecordMarker::clear ( bool  upd = true)
slot

Definition at line 166 of file kexirecordmarker.cpp.

◆ paintEvent()

void KexiRecordMarker::paintEvent ( TQPaintEvent *  e)
protectedvirtual

Definition at line 181 of file kexirecordmarker.cpp.

◆ penImage()

TQImage * KexiRecordMarker::penImage ( )
static

Definition at line 131 of file kexirecordmarker.cpp.

◆ plusImage()

TQImage * KexiRecordMarker::plusImage ( )
static

Definition at line 137 of file kexirecordmarker.cpp.

◆ removeLabel

void KexiRecordMarker::removeLabel ( bool  upd = true)
slot

Definition at line 150 of file kexirecordmarker.cpp.

◆ rows()

int KexiRecordMarker::rows ( ) const

Definition at line 173 of file kexirecordmarker.cpp.

◆ selectionBackgroundColor

TQColor KexiRecordMarker::selectionBackgroundColor ( ) const
slot

Definition at line 302 of file kexirecordmarker.cpp.

◆ setCellHeight

void KexiRecordMarker::setCellHeight ( int  cellHeight)
slot

Definition at line 278 of file kexirecordmarker.cpp.

◆ setCurrentRow

void KexiRecordMarker::setCurrentRow ( int  row)
slot

Definition at line 245 of file kexirecordmarker.cpp.

◆ setEditRow

void KexiRecordMarker::setEditRow ( int  row)
slot

Sets 'edit row' flag for row. Use row==-1 if you want to switch the flag off.

Definition at line 283 of file kexirecordmarker.cpp.

◆ setHighlightedRow

void KexiRecordMarker::setHighlightedRow ( int  row)
slot

Definition at line 258 of file kexirecordmarker.cpp.

◆ setOffset

void KexiRecordMarker::setOffset ( int  offset)
slot

Definition at line 271 of file kexirecordmarker.cpp.

◆ setSelectionBackgroundColor

void KexiRecordMarker::setSelectionBackgroundColor ( const TQColor &  color)
slot

Definition at line 297 of file kexirecordmarker.cpp.

◆ showInsertRow

void KexiRecordMarker::showInsertRow ( bool  show)
slot

Definition at line 290 of file kexirecordmarker.cpp.

Member Data Documentation

◆ d

Private* const KexiRecordMarker::d
protected

Definition at line 70 of file kexirecordmarker.h.


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