![]() |
Scribus
Open source desktop publishing at your fingertips
|
#include <smtablestylewidget.h>
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) |
Widget for editing table style attributes.
NOTE: Many attributes unsupported.
void SMTableStyleWidget::fillFillColorCombo | ( | ColorList & | colors | ) |
Populates the fill color combo with the given color list.
colors | list 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.
tableStyle | table style for which attributes should be shown. |
tableStyles | list of all table styles. |
defaultLanguage | default language. |
unitIndex | index 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.
tableStyles | list of table styles for which attributes should be shown. |
tableStylesAll | list of all table styles. |
defaultLanguage | default language. |
unitIndex | index of currently used unit. |