Scribus
Open source desktop publishing at your fingertips
SMTableStyleWidget Class Reference

#include <smtablestylewidget.h>

Inheritance diagram for SMTableStyleWidget:
Collaboration diagram for SMTableStyleWidget:

Public Member Functions

 SMTableStyleWidget (QWidget *parent=0)
 Constructor.
 
 ~SMTableStyleWidget ()
 Destructor.
 
virtual void changeEvent (QEvent *e)
 
void show (TableStyle *tableStyle, QList< TableStyle > &tableStyles, const QString &defaultLanguage, int unitIndex)
 
void show (QList< TableStyle * > &tableStyles, QList< TableStyle > &tableStylesAll, const QString &defaultLanguage, int unitIndex)
 
void languageChange ()
 
void fillFillColorCombo (ColorList &colors)
 
void showColors (const QList< TableStyle * > &tableStyles)
 

Detailed Description

Widget for editing table style attributes.

NOTE: Many attributes unsupported.

Member Function Documentation

void SMTableStyleWidget::fillFillColorCombo ( ColorList colors)

Populates the fill color combo with the given color list.

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

This function is called when the language is changed.

void SMTableStyleWidget::show ( TableStyle tableStyle,
QList< TableStyle > &  tableStyles,
const QString &  defaultLanguage,
int  unitIndex 
)

Shows attributes for a single table style.

Parameters
tableStyletable style for which attributes should be shown.
tableStyleslist of all table styles.
defaultLanguagedefault language.
unitIndexindex of currently used unit.
void SMTableStyleWidget::show ( QList< TableStyle * > &  tableStyles,
QList< TableStyle > &  tableStylesAll,
const QString &  defaultLanguage,
int  unitIndex 
)

Shows attributes for multiple table styles.

TODO: Implement actual support for multiple styles.

Parameters
tableStyleslist of table styles for which attributes should be shown.
tableStylesAlllist of all table styles.
defaultLanguagedefault language.
unitIndexindex of currently used unit.

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