kspread

KSpread::CellFormatDialog Class Reference

#include <kspread_dlg_layout.h>

List of all members.


Detailed Description

Dialog for the "Cell Format..." action.

Definition at line 472 of file kspread_dlg_layout.h.


Public Slots

void slotApply ()

Public Member Functions

 CellFormatDialog (View *_view, Sheet *_sheet)
 CellFormatDialog (View *_view, CustomStyle *_style, StyleManager *_manager, Doc *doc)
 ~CellFormatDialog ()
void init ()
void initGUI ()
void initMembers ()
void initParameters (Format *_obj, int column, int row)
void checkBorderRight (Format *obj, int x, int y)
void checkBorderLeft (Format *obj, int x, int y)
void checkBorderTop (Format *obj, int x, int y)
void checkBorderBottom (Format *obj, int x, int y)
void checkBorderVertical (Format *obj, int x, int y)
void checkBorderHorizontal (Format *obj, int x, int y)
int exec ()
DocgetDoc () const
SheetgetSheet () const
CustomStylegetStyle () const
StyleManagergetStyleManager () const
bool isSingleCell ()
bool checkCircle (QString const &name, QString const &parent)
KLocale * locale () const

Public Attributes

CellBorderFormat borders [BorderType_END]
BrushStyle brushStyle
QColor brushColor
bool oneCol
bool oneRow
QString prefix
QString postfix
int precision
Format::FloatFormat floatFormat
bool bFloatFormat
Format::FloatColor floatColor
Format::Currency cCurrency
bool bFloatColor
bool bCurrency
QColor textColor
bool bTextColor
bool bTextFontBold
bool textFontBold
bool bTextFontItalic
bool textFontItalic
bool bTextFontSize
int textFontSize
bool bTextFontFamily
QString textFontFamily
bool bStrike
bool strike
bool bUnderline
bool underline
QFont textFont
QColor bgColor
bool bBgColor
QString actionText
Format::Align alignX
Format::AlignY alignY
QString styleName
QString styleParent
bool bMultiRow
bool bVerticalText
bool bDontPrintText
bool bHideFormula
bool bHideAll
bool bIsProtected
double defaultHeightSize
double defaultWidthSize
double heightSize
double widthSize
double indent
QPixmap * formatOnlyNegSignedPixmap
QPixmap * formatRedOnlyNegSignedPixmap
QPixmap * formatRedNeverSignedPixmap
QPixmap * formatAlwaysSignedPixmap
QPixmap * formatRedAlwaysSignedPixmap
int textRotation
bool bTextRotation
FormatType formatType
bool bFormatType
Value value
bool isMerged
bool oneCell
bool isRowSelected
bool isColumnSelected
int left
int right
int top
int bottom

Protected Member Functions

QPixmap * paintFormatPixmap (const char *_string1, const QColor &_color1, const char *_string2, const QColor &_color2)
void applyStyle ()

Protected Attributes

GeneralTabgeneralPage
CellFormatPageFloatfloatPage
CellFormatPageBorderborderPage
CellFormatPageFontfontPage
CellFormatPagePositionpositionPage
CellFormatPagePatternpatternPage
CellFormatPageProtectionprotectPage
QTabDialog * tab
Docm_doc
Sheetm_sheet
Viewm_pView
CustomStylem_style
StyleManagerm_styleManager

Classes

struct  CellBorderFormat

Constructor & Destructor Documentation

CellFormatDialog::CellFormatDialog View _view,
Sheet _sheet
 

Create a format dlg for the rectangular area in '_sheet'.

Definition at line 320 of file kspread_dlg_layout.cc.


Member Function Documentation

int CellFormatDialog::exec  ) 
 

Run the dialogs event loop and return when closed.

Definition at line 970 of file kspread_dlg_layout.cc.

QPixmap * CellFormatDialog::paintFormatPixmap const char *  _string1,
const QColor &  _color1,
const char *  _string2,
const QColor &  _color2
[protected]
 

Draws a pixmap showing a text consisting of two parts, _string1 and _string2 .

The parts' colors are given by _color1 and _color2 .

Definition at line 944 of file kspread_dlg_layout.cc.


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