Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Private Attributes
SMRowWidget Class Reference

#include <smreplacedia.h>

List of all members.

Public Member Functions

 SMRowWidget (const QString &toBeDeleted, QStringList replaceOptions, QWidget *parent)
 ~SMRowWidget ()
QString toBeDeleted ()
QString replaceWith ()

Private Attributes

QHBoxLayout * layout
QLabel * deleteLabel
QComboBox * optionsCombo

Detailed Description

Definition at line 20 of file smreplacedia.h.

Constructor & Destructor Documentation

SMRowWidget::SMRowWidget ( const QString &  toBeDeleted,
QStringList  replaceOptions,
QWidget *  parent 

Definition at line 18 of file smreplacedia.cpp.

: QWidget(parent, "SMRowWidget")
       layout = new QHBoxLayout(this, 0, 5, "layout");
       deleteLabel = new QLabel(toBeDeleted, this, "deleteLabel");
       optionsCombo = new QComboBox(this, "optionsCombo");
       optionsCombo->insertItem( tr("No Style"), 0);

Here is the call graph for this function:

Definition at line 40 of file smreplacedia.cpp.

       delete deleteLabel;
       delete optionsCombo;
       delete layout;

Member Function Documentation

Definition at line 35 of file smreplacedia.cpp.

       return optionsCombo->currentItem() == 0 ? "" : optionsCombo->currentText();

Definition at line 30 of file smreplacedia.cpp.

       return deleteLabel->text();

Member Data Documentation

QLabel* SMRowWidget::deleteLabel [private]

Definition at line 32 of file smreplacedia.h.

QHBoxLayout* SMRowWidget::layout [private]

Definition at line 31 of file smreplacedia.h.

QComboBox* SMRowWidget::optionsCombo [private]

Definition at line 33 of file smreplacedia.h.

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