kexi

KexiRecordMarker Class Reference

#include <kexirecordmarker.h>

List of all members.


Detailed Description

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

Original Author: Till Busch

Definition at line 36 of file kexirecordmarker.h.


Public Slots

void setOffset (int offset)
void setCellHeight (int cellHeight)
void setCurrentRow (int row)
void setEditRow (int row)
void showInsertRow (bool show)
void setColor (const QColor &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 (QWidget *parent, const char *name=0)
 ~KexiRecordMarker ()
int rows () const

Static Public Member Functions

static QImage * penImage ()
static QImage * plusImage ()

Protected Member Functions

virtual void paintEvent (QPaintEvent *e)

Protected Attributes

int m_rowHeight
int m_offset
int m_currentRow
int m_editRow
int m_rows
bool m_showInsertRow: 1
QColor m_pointerColor

Member Function Documentation

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

Adds num labels

Definition at line 137 of file kexirecordmarker.cpp.

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 231 of file kexirecordmarker.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys