kspread

KSpread::CellFormatDialog Class Reference

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

#include <LayoutDialog.h>

Inheritance diagram for KSpread::CellFormatDialog:

List of all members.

Classes

struct  CellBorderFormat

Public Slots

void slotApply ()

Public Member Functions

 CellFormatDialog (QWidget *parent, Selection *selection, CustomStyle *style, StyleManager *manager)
 CellFormatDialog (QWidget *parent, Selection *selection)
 ~CellFormatDialog ()
void checkBorderBottom (const Style &obj)
void checkBorderHorizontal (const Style &obj)
void checkBorderLeft (const Style &obj)
void checkBorderRight (const Style &obj)
void checkBorderTop (const Style &obj)
void checkBorderVertical (const Style &obj)
bool checkCircle (QString const &name, QString const &parent)
SheetgetSheet () const
CustomStylegetStyle () const
StyleManagergetStyleManager () const
void init ()
void initGUI ()
void initMembers ()
void initParameters (const Style &_obj)
bool isSingleCell ()
KLocalelocale () const
Selectionselection () const

Public Attributes

QString actionText
Style::HAlign alignX
Style::VAlign alignY
bool bBgColor
bool bCurrency
bool bDontPrintText
bool bFloatColor
bool bFloatFormat
bool bFormatType
QColor bgColor
bool bHideAll
bool bHideFormula
bool bIsProtected
bool bMultiRow
CellBorderFormat borders [BorderType_END]
int bottom
QColor brushColor
Qt::BrushStyle brushStyle
bool bStrike
bool bTextColor
bool bTextFontBold
bool bTextFontFamily
bool bTextFontItalic
bool bTextFontSize
bool bTextRotation
bool bUnderline
bool bVerticalText
double defaultHeightSize
double defaultWidthSize
Style::FloatColor floatColor
Style::FloatFormat floatFormat
QFont font
bool fontBold
QString fontFamily
bool fontItalic
int fontSize
QPixmapformatAlwaysSignedPixmap
QPixmapformatOnlyNegSignedPixmap
QPixmapformatRedAlwaysSignedPixmap
QPixmapformatRedNeverSignedPixmap
QPixmapformatRedOnlyNegSignedPixmap
Format::Type formatType
double heightSize
double indent
bool isColumnSelected
bool isMerged
bool isRowSelected
int left
Currency m_currency
bool oneCell
bool oneCol
bool oneRow
QString postfix
int precision
QString prefix
int right
bool strike
QString styleName
QString styleParent
QColor textColor
int textRotation
int top
bool underline
Value value
double widthSize

Protected Member Functions

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

Protected Attributes

CellFormatPageBorderborderPage
CellFormatPageFloatfloatPage
CellFormatPageFontfontPage
GeneralTabgeneralPage
Selectionm_selection
Sheetm_sheet
CustomStylem_style
StyleManagerm_styleManager
CellFormatPagePatternpatternPage
CellFormatPagePositionpositionPage
CellFormatPageProtectionprotectPage

Detailed Description

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

Definition at line 474 of file LayoutDialog.h.


Constructor & Destructor Documentation

CellFormatDialog::CellFormatDialog ( QWidget parent,
Selection selection 
)

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

Definition at line 321 of file LayoutDialog.cpp.

CellFormatDialog::CellFormatDialog ( QWidget parent,
Selection selection,
CustomStyle style,
StyleManager manager 
)

Definition at line 510 of file LayoutDialog.cpp.

CellFormatDialog::~CellFormatDialog (  ) 

Definition at line 598 of file LayoutDialog.cpp.


Member Function Documentation

void CellFormatDialog::applyStyle (  )  [protected]

Definition at line 835 of file LayoutDialog.cpp.

void CellFormatDialog::checkBorderBottom ( const Style obj  ) 

Definition at line 683 of file LayoutDialog.cpp.

void CellFormatDialog::checkBorderHorizontal ( const Style obj  ) 

Definition at line 701 of file LayoutDialog.cpp.

void CellFormatDialog::checkBorderLeft ( const Style obj  ) 

Definition at line 665 of file LayoutDialog.cpp.

void CellFormatDialog::checkBorderRight ( const Style obj  ) 

Definition at line 656 of file LayoutDialog.cpp.

void CellFormatDialog::checkBorderTop ( const Style obj  ) 

Definition at line 674 of file LayoutDialog.cpp.

void CellFormatDialog::checkBorderVertical ( const Style obj  ) 

Definition at line 692 of file LayoutDialog.cpp.

bool CellFormatDialog::checkCircle ( QString const &  name,
QString const &  parent 
)

Definition at line 646 of file LayoutDialog.cpp.

Sheet* KSpread::CellFormatDialog::getSheet (  )  const [inline]

Definition at line 498 of file LayoutDialog.h.

CustomStyle* KSpread::CellFormatDialog::getStyle (  )  const [inline]

Definition at line 500 of file LayoutDialog.h.

StyleManager* KSpread::CellFormatDialog::getStyleManager (  )  const [inline]

Definition at line 501 of file LayoutDialog.h.

void CellFormatDialog::init (  ) 

Definition at line 766 of file LayoutDialog.cpp.

void CellFormatDialog::initGUI (  ) 

Definition at line 523 of file LayoutDialog.cpp.

void CellFormatDialog::initMembers (  ) 

Definition at line 607 of file LayoutDialog.cpp.

void CellFormatDialog::initParameters ( const Style _obj  ) 

Definition at line 711 of file LayoutDialog.cpp.

bool KSpread::CellFormatDialog::isSingleCell (  )  [inline]

Definition at line 503 of file LayoutDialog.h.

KLocale * CellFormatDialog::locale (  )  const

Definition at line 651 of file LayoutDialog.cpp.

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 818 of file LayoutDialog.cpp.

Selection* KSpread::CellFormatDialog::selection (  )  const [inline]

Definition at line 499 of file LayoutDialog.h.

void CellFormatDialog::slotApply (  )  [slot]

Definition at line 848 of file LayoutDialog.cpp.


Member Data Documentation

Definition at line 552 of file LayoutDialog.h.

Definition at line 535 of file LayoutDialog.h.

Definition at line 534 of file LayoutDialog.h.

Definition at line 584 of file LayoutDialog.h.

Definition at line 564 of file LayoutDialog.h.

Definition at line 559 of file LayoutDialog.h.

Definition at line 519 of file LayoutDialog.h.

Definition at line 598 of file LayoutDialog.h.

Definition at line 521 of file LayoutDialog.h.

Definition at line 546 of file LayoutDialog.h.

Definition at line 537 of file LayoutDialog.h.

Definition at line 548 of file LayoutDialog.h.

Definition at line 539 of file LayoutDialog.h.

Definition at line 541 of file LayoutDialog.h.

Definition at line 543 of file LayoutDialog.h.

Definition at line 613 of file LayoutDialog.h.

Definition at line 569 of file LayoutDialog.h.

Definition at line 572 of file LayoutDialog.h.

Definition at line 588 of file LayoutDialog.h.

Definition at line 595 of file LayoutDialog.h.

Definition at line 622 of file LayoutDialog.h.

Definition at line 621 of file LayoutDialog.h.

Definition at line 623 of file LayoutDialog.h.

Definition at line 589 of file LayoutDialog.h.

Definition at line 524 of file LayoutDialog.h.

Definition at line 525 of file LayoutDialog.h.

Definition at line 529 of file LayoutDialog.h.

Definition at line 596 of file LayoutDialog.h.

Definition at line 547 of file LayoutDialog.h.

Definition at line 597 of file LayoutDialog.h.

Definition at line 549 of file LayoutDialog.h.

Definition at line 570 of file LayoutDialog.h.


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