kspread

#include <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)
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 ()
Doc * getDoc () const
Sheet * getSheet () const
CustomStyle * getStyle () const
StyleManager * getStyleManager () const
bool isSingleCell ()
bool checkCircle (TQString const &name, TQString const &parent)
TDELocale * locale () const

Public Attributes

CellBorderFormat borders [BorderType_END]
TQt::BrushStyle brushStyle
TQColor brushColor
bool oneCol
bool oneRow
TQString prefix
TQString postfix
int precision
Format::FloatFormat floatFormat
bool bFloatFormat
Format::FloatColor floatColor
Format::Currency cCurrency
bool bFloatColor
bool bCurrency
TQColor textColor
bool bTextColor
bool bTextFontBold
bool textFontBold
bool bTextFontItalic
bool textFontItalic
bool bTextFontSize
int textFontSize
bool bTextFontFamily
TQString textFontFamily
bool bStrike
bool strike
bool bUnderline
bool underline
TQFont textFont
TQColor bgColor
bool bBgColor
TQString actionText
Format::Align alignX
Format::AlignY alignY
TQString styleName
TQString styleParent
bool bMultiRow
bool bVerticalText
bool bDontPrintText
bool bHideFormula
bool bHideAll
bool bIsProtected
double defaultHeightSize
double defaultWidthSize
double heightSize
double widthSize
double indent
TQPixmap * formatOnlyNegSignedPixmap
TQPixmap * formatRedOnlyNegSignedPixmap
TQPixmap * formatRedNeverSignedPixmap
TQPixmap * formatAlwaysSignedPixmap
TQPixmap * 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

TQPixmap * paintFormatPixmap (const char *_string1, const TQColor &_color1, const char *_string2, const TQColor &_color2)
void applyStyle ()

Protected Attributes

GeneralTab * generalPage
CellFormatPageFloat * floatPage
CellFormatPageBorder * borderPage
CellFormatPageFont * fontPage
CellFormatPagePosition * positionPage
CellFormatPagePattern * patternPage
CellFormatPageProtection * protectPage
TQTabDialog * tab
Doc * m_doc
Sheet * m_sheet
View * m_pView
CustomStyle * m_style
StyleManager * m_styleManager

Detailed Description

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

Definition at line 483 of file kspread_dlg_layout.h.

Constructor & Destructor Documentation

◆ CellFormatDialog() [1/2]

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.cpp.

◆ CellFormatDialog() [2/2]

CellFormatDialog::CellFormatDialog ( View * _view,
CustomStyle * _style,
StyleManager * _manager,
Doc * doc )

Definition at line 630 of file kspread_dlg_layout.cpp.

◆ ~CellFormatDialog()

CellFormatDialog::~CellFormatDialog ( )

Definition at line 720 of file kspread_dlg_layout.cpp.

Member Function Documentation

◆ applyStyle()

void CellFormatDialog::applyStyle ( )
protected

Definition at line 975 of file kspread_dlg_layout.cpp.

◆ checkBorderBottom()

void CellFormatDialog::checkBorderBottom ( Format * obj,
int x,
int y )

Definition at line 801 of file kspread_dlg_layout.cpp.

◆ checkBorderHorizontal()

void CellFormatDialog::checkBorderHorizontal ( Format * obj,
int x,
int y )

Definition at line 819 of file kspread_dlg_layout.cpp.

◆ checkBorderLeft()

void CellFormatDialog::checkBorderLeft ( Format * obj,
int x,
int y )

Definition at line 783 of file kspread_dlg_layout.cpp.

◆ checkBorderRight()

void CellFormatDialog::checkBorderRight ( Format * obj,
int x,
int y )

Definition at line 774 of file kspread_dlg_layout.cpp.

◆ checkBorderTop()

void CellFormatDialog::checkBorderTop ( Format * obj,
int x,
int y )

Definition at line 792 of file kspread_dlg_layout.cpp.

◆ checkBorderVertical()

void CellFormatDialog::checkBorderVertical ( Format * obj,
int x,
int y )

Definition at line 810 of file kspread_dlg_layout.cpp.

◆ checkCircle()

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

Definition at line 769 of file kspread_dlg_layout.cpp.

◆ exec()

int CellFormatDialog::exec ( )

Run the dialogs event loop and return when closed.

Definition at line 970 of file kspread_dlg_layout.cpp.

◆ getDoc()

Doc * KSpread::CellFormatDialog::getDoc ( ) const
inline

Definition at line 513 of file kspread_dlg_layout.h.

◆ getSheet()

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

Definition at line 514 of file kspread_dlg_layout.h.

◆ getStyle()

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

Definition at line 515 of file kspread_dlg_layout.h.

◆ getStyleManager()

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

Definition at line 516 of file kspread_dlg_layout.h.

◆ init()

void CellFormatDialog::init ( )

Definition at line 887 of file kspread_dlg_layout.cpp.

◆ initGUI()

void CellFormatDialog::initGUI ( )

Definition at line 644 of file kspread_dlg_layout.cpp.

◆ initMembers()

void CellFormatDialog::initMembers ( )

Definition at line 729 of file kspread_dlg_layout.cpp.

◆ initParameters()

void CellFormatDialog::initParameters ( Format * _obj,
int column,
int row )

Definition at line 829 of file kspread_dlg_layout.cpp.

◆ isSingleCell()

bool KSpread::CellFormatDialog::isSingleCell ( )
inline

Definition at line 518 of file kspread_dlg_layout.h.

◆ locale()

TDELocale * KSpread::CellFormatDialog::locale ( ) const
inline

Definition at line 521 of file kspread_dlg_layout.h.

◆ paintFormatPixmap()

TQPixmap * CellFormatDialog::paintFormatPixmap ( const char * _string1,
const TQColor & _color1,
const char * _string2,
const TQColor & _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.cpp.

◆ slotApply

void CellFormatDialog::slotApply ( )
slot

Definition at line 989 of file kspread_dlg_layout.cpp.

Member Data Documentation

◆ actionText

TQString KSpread::CellFormatDialog::actionText

Definition at line 568 of file kspread_dlg_layout.h.

◆ alignX

Format::Align KSpread::CellFormatDialog::alignX

Definition at line 569 of file kspread_dlg_layout.h.

◆ alignY

Format::AlignY KSpread::CellFormatDialog::alignY

Definition at line 570 of file kspread_dlg_layout.h.

◆ bBgColor

bool KSpread::CellFormatDialog::bBgColor

Definition at line 567 of file kspread_dlg_layout.h.

◆ bCurrency

bool KSpread::CellFormatDialog::bCurrency

Definition at line 550 of file kspread_dlg_layout.h.

◆ bDontPrintText

bool KSpread::CellFormatDialog::bDontPrintText

Definition at line 577 of file kspread_dlg_layout.h.

◆ bFloatColor

bool KSpread::CellFormatDialog::bFloatColor

Definition at line 549 of file kspread_dlg_layout.h.

◆ bFloatFormat

bool KSpread::CellFormatDialog::bFloatFormat

Definition at line 546 of file kspread_dlg_layout.h.

◆ bFormatType

bool KSpread::CellFormatDialog::bFormatType

Definition at line 599 of file kspread_dlg_layout.h.

◆ bgColor

TQColor KSpread::CellFormatDialog::bgColor

Definition at line 566 of file kspread_dlg_layout.h.

◆ bHideAll

bool KSpread::CellFormatDialog::bHideAll

Definition at line 579 of file kspread_dlg_layout.h.

◆ bHideFormula

bool KSpread::CellFormatDialog::bHideFormula

Definition at line 578 of file kspread_dlg_layout.h.

◆ bIsProtected

bool KSpread::CellFormatDialog::bIsProtected

Definition at line 580 of file kspread_dlg_layout.h.

◆ bMultiRow

bool KSpread::CellFormatDialog::bMultiRow

Definition at line 574 of file kspread_dlg_layout.h.

◆ borderPage

CellFormatPageBorder* KSpread::CellFormatDialog::borderPage
protected

Definition at line 630 of file kspread_dlg_layout.h.

◆ borders

CellBorderFormat KSpread::CellFormatDialog::borders[BorderType_END]

Definition at line 534 of file kspread_dlg_layout.h.

◆ bottom

int KSpread::CellFormatDialog::bottom

Definition at line 613 of file kspread_dlg_layout.h.

◆ brushColor

TQColor KSpread::CellFormatDialog::brushColor

Definition at line 537 of file kspread_dlg_layout.h.

◆ brushStyle

TQt::BrushStyle KSpread::CellFormatDialog::brushStyle

Definition at line 536 of file kspread_dlg_layout.h.

◆ bStrike

bool KSpread::CellFormatDialog::bStrike

Definition at line 561 of file kspread_dlg_layout.h.

◆ bTextColor

bool KSpread::CellFormatDialog::bTextColor

Definition at line 552 of file kspread_dlg_layout.h.

◆ bTextFontBold

bool KSpread::CellFormatDialog::bTextFontBold

Definition at line 553 of file kspread_dlg_layout.h.

◆ bTextFontFamily

bool KSpread::CellFormatDialog::bTextFontFamily

Definition at line 559 of file kspread_dlg_layout.h.

◆ bTextFontItalic

bool KSpread::CellFormatDialog::bTextFontItalic

Definition at line 555 of file kspread_dlg_layout.h.

◆ bTextFontSize

bool KSpread::CellFormatDialog::bTextFontSize

Definition at line 557 of file kspread_dlg_layout.h.

◆ bTextRotation

bool KSpread::CellFormatDialog::bTextRotation

Definition at line 596 of file kspread_dlg_layout.h.

◆ bUnderline

bool KSpread::CellFormatDialog::bUnderline

Definition at line 563 of file kspread_dlg_layout.h.

◆ bVerticalText

bool KSpread::CellFormatDialog::bVerticalText

Definition at line 575 of file kspread_dlg_layout.h.

◆ cCurrency

Format::Currency KSpread::CellFormatDialog::cCurrency

Definition at line 548 of file kspread_dlg_layout.h.

◆ defaultHeightSize

double KSpread::CellFormatDialog::defaultHeightSize

Definition at line 582 of file kspread_dlg_layout.h.

◆ defaultWidthSize

double KSpread::CellFormatDialog::defaultWidthSize

Definition at line 583 of file kspread_dlg_layout.h.

◆ floatColor

Format::FloatColor KSpread::CellFormatDialog::floatColor

Definition at line 547 of file kspread_dlg_layout.h.

◆ floatFormat

Format::FloatFormat KSpread::CellFormatDialog::floatFormat

Definition at line 545 of file kspread_dlg_layout.h.

◆ floatPage

CellFormatPageFloat* KSpread::CellFormatDialog::floatPage
protected

Definition at line 629 of file kspread_dlg_layout.h.

◆ fontPage

CellFormatPageFont* KSpread::CellFormatDialog::fontPage
protected

Definition at line 631 of file kspread_dlg_layout.h.

◆ formatAlwaysSignedPixmap

TQPixmap* KSpread::CellFormatDialog::formatAlwaysSignedPixmap

Definition at line 592 of file kspread_dlg_layout.h.

◆ formatOnlyNegSignedPixmap

TQPixmap* KSpread::CellFormatDialog::formatOnlyNegSignedPixmap

Definition at line 589 of file kspread_dlg_layout.h.

◆ formatRedAlwaysSignedPixmap

TQPixmap* KSpread::CellFormatDialog::formatRedAlwaysSignedPixmap

Definition at line 593 of file kspread_dlg_layout.h.

◆ formatRedNeverSignedPixmap

TQPixmap* KSpread::CellFormatDialog::formatRedNeverSignedPixmap

Definition at line 591 of file kspread_dlg_layout.h.

◆ formatRedOnlyNegSignedPixmap

TQPixmap* KSpread::CellFormatDialog::formatRedOnlyNegSignedPixmap

Definition at line 590 of file kspread_dlg_layout.h.

◆ formatType

FormatType KSpread::CellFormatDialog::formatType

Definition at line 598 of file kspread_dlg_layout.h.

◆ generalPage

GeneralTab* KSpread::CellFormatDialog::generalPage
protected

Definition at line 628 of file kspread_dlg_layout.h.

◆ heightSize

double KSpread::CellFormatDialog::heightSize

Definition at line 584 of file kspread_dlg_layout.h.

◆ indent

double KSpread::CellFormatDialog::indent

Definition at line 587 of file kspread_dlg_layout.h.

◆ isColumnSelected

bool KSpread::CellFormatDialog::isColumnSelected

Definition at line 607 of file kspread_dlg_layout.h.

◆ isMerged

bool KSpread::CellFormatDialog::isMerged

Definition at line 603 of file kspread_dlg_layout.h.

◆ isRowSelected

bool KSpread::CellFormatDialog::isRowSelected

Definition at line 606 of file kspread_dlg_layout.h.

◆ left

int KSpread::CellFormatDialog::left

Definition at line 610 of file kspread_dlg_layout.h.

◆ m_doc

Doc* KSpread::CellFormatDialog::m_doc
protected

Definition at line 637 of file kspread_dlg_layout.h.

◆ m_pView

View* KSpread::CellFormatDialog::m_pView
protected

Definition at line 639 of file kspread_dlg_layout.h.

◆ m_sheet

Sheet* KSpread::CellFormatDialog::m_sheet
protected

Definition at line 638 of file kspread_dlg_layout.h.

◆ m_style

CustomStyle* KSpread::CellFormatDialog::m_style
protected

Definition at line 640 of file kspread_dlg_layout.h.

◆ m_styleManager

StyleManager* KSpread::CellFormatDialog::m_styleManager
protected

Definition at line 641 of file kspread_dlg_layout.h.

◆ oneCell

bool KSpread::CellFormatDialog::oneCell

Definition at line 604 of file kspread_dlg_layout.h.

◆ oneCol

bool KSpread::CellFormatDialog::oneCol

Definition at line 539 of file kspread_dlg_layout.h.

◆ oneRow

bool KSpread::CellFormatDialog::oneRow

Definition at line 540 of file kspread_dlg_layout.h.

◆ patternPage

CellFormatPagePattern* KSpread::CellFormatDialog::patternPage
protected

Definition at line 633 of file kspread_dlg_layout.h.

◆ positionPage

CellFormatPagePosition* KSpread::CellFormatDialog::positionPage
protected

Definition at line 632 of file kspread_dlg_layout.h.

◆ postfix

TQString KSpread::CellFormatDialog::postfix

Definition at line 543 of file kspread_dlg_layout.h.

◆ precision

int KSpread::CellFormatDialog::precision

Definition at line 544 of file kspread_dlg_layout.h.

◆ prefix

TQString KSpread::CellFormatDialog::prefix

Definition at line 542 of file kspread_dlg_layout.h.

◆ protectPage

CellFormatPageProtection* KSpread::CellFormatDialog::protectPage
protected

Definition at line 634 of file kspread_dlg_layout.h.

◆ right

int KSpread::CellFormatDialog::right

Definition at line 611 of file kspread_dlg_layout.h.

◆ strike

bool KSpread::CellFormatDialog::strike

Definition at line 562 of file kspread_dlg_layout.h.

◆ styleName

TQString KSpread::CellFormatDialog::styleName

Definition at line 571 of file kspread_dlg_layout.h.

◆ styleParent

TQString KSpread::CellFormatDialog::styleParent

Definition at line 572 of file kspread_dlg_layout.h.

◆ tab

TQTabDialog* KSpread::CellFormatDialog::tab
protected

Definition at line 635 of file kspread_dlg_layout.h.

◆ textColor

TQColor KSpread::CellFormatDialog::textColor

Definition at line 551 of file kspread_dlg_layout.h.

◆ textFont

TQFont KSpread::CellFormatDialog::textFont

Definition at line 565 of file kspread_dlg_layout.h.

◆ textFontBold

bool KSpread::CellFormatDialog::textFontBold

Definition at line 554 of file kspread_dlg_layout.h.

◆ textFontFamily

TQString KSpread::CellFormatDialog::textFontFamily

Definition at line 560 of file kspread_dlg_layout.h.

◆ textFontItalic

bool KSpread::CellFormatDialog::textFontItalic

Definition at line 556 of file kspread_dlg_layout.h.

◆ textFontSize

int KSpread::CellFormatDialog::textFontSize

Definition at line 558 of file kspread_dlg_layout.h.

◆ textRotation

int KSpread::CellFormatDialog::textRotation

Definition at line 595 of file kspread_dlg_layout.h.

◆ top

int KSpread::CellFormatDialog::top

Definition at line 612 of file kspread_dlg_layout.h.

◆ underline

bool KSpread::CellFormatDialog::underline

Definition at line 564 of file kspread_dlg_layout.h.

◆ value

Value KSpread::CellFormatDialog::value

Definition at line 601 of file kspread_dlg_layout.h.

◆ widthSize

double KSpread::CellFormatDialog::widthSize

Definition at line 585 of file kspread_dlg_layout.h.


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