Scribus
Open source desktop publishing at your fingertips
SMCellStyleWidget Class Reference

#include <smcellstylewidget.h>

Inheritance diagram for SMCellStyleWidget:
Collaboration diagram for SMCellStyleWidget:

Public Member Functions

 SMCellStyleWidget (QWidget *parent=0)
 Constructor.
 
 ~SMCellStyleWidget ()
 Destructor.
 
virtual void changeEvent (QEvent *e)
 
void show (CellStyle *cellStyle, QList< CellStyle > &cellStyles, const QString &defaultLanguage, int unitIndex)
 
void show (QList< CellStyle * > &cellStyles, QList< CellStyle > &cellStylesAll, const QString &defaultLanguage, int unitIndex)
 
void languageChange ()
 
void fillFillColorCombo (ColorList &colors)
 
void showColors (const QList< CellStyle * > &cellStyles)
 

Detailed Description

Widget for editing cell style attributes.

NOTE: Many attributes unsupported.

Member Function Documentation

void SMCellStyleWidget::fillFillColorCombo ( ColorList colors)

Populates the fill color combo with the given color list.

Parameters
colorslist of colors to populate the combo with.
void SMCellStyleWidget::languageChange ( )

This function is called when the language is changed.

void SMCellStyleWidget::show ( CellStyle cellStyle,
QList< CellStyle > &  cellStyles,
const QString &  defaultLanguage,
int  unitIndex 
)

Shows attributes for a single cell style.

Parameters
cellStylecell style for which attributes should be shown.
cellStyleslist of all cell styles.
defaultLanguagedefault language.
unitIndexindex of currently used unit.
void SMCellStyleWidget::show ( QList< CellStyle * > &  cellStyles,
QList< CellStyle > &  cellStylesAll,
const QString &  defaultLanguage,
int  unitIndex 
)

Shows attributes for multiple cell styles.

TODO: Implement actual support for multiple styles.

Parameters
cellStyleslist of cell styles for which attributes should be shown.
cellStylesAlllist of all cell styles.
defaultLanguagedefault language.
unitIndexindex of currently used unit.

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