An editor for labeler placeholders.
More...
#include <bpslabelerplaceholderdialog.h>
List of all members.
Detailed Description
An editor for labeler placeholders.
BpsLabelerPlaceholderDialog dlg(mDatastore, this);
dlg.setPlaceholder(bStr("[a_name:maxlines=1]"));
if (dlg.exec() == QDialog::Accepted) {
QString ph = dlg.placeholder();
}
See documentation at http://ibk-software.com/wiki/bps2/labelers for details about placeholders.
Constructor & Destructor Documentation
| BpsLabelerPlaceholderDialog::BpsLabelerPlaceholderDialog |
( |
BpsDatastore * |
aDatastore, |
|
|
QWidget * |
aParent = 0 |
|
) |
| |
- Parameters:
-
| [in] | aDatastore | The datastore to use. |
| [in] | aParent | The parent widget. |
Member Function Documentation
| QString BpsLabelerPlaceholderDialog::placeholder |
( |
| ) |
const |
- Returns:
- The placeholder as string enclosed in square braces.
| void BpsLabelerPlaceholderDialog::setPlaceholder |
( |
const QString & |
aPlaceholder | ) |
|
Set the editor inputs by a placeholder string enclosed in square braces.
- Parameters:
-
| [in] | aPlaceholder | The placeholder string. |
The documentation for this class was generated from the following file: