◆ ControlWidget
Enumerator |
---|
None | |
ToolTipButton | |
TokenButtons | |
ModifierToolButton | |
DefaultControls | |
◆ LayoutStyle
Enumerator |
---|
LayoutNormal | |
LayoutCompact | |
◆ AdvancedRenameWidget()
Digikam::AdvancedRenameWidget::AdvancedRenameWidget |
( |
QWidget *const |
parent = nullptr | ) |
|
|
explicit |
◆ ~AdvancedRenameWidget()
Digikam::AdvancedRenameWidget::~AdvancedRenameWidget |
( |
| ) |
|
|
override |
◆ clear()
void Digikam::AdvancedRenameWidget::clear |
( |
| ) |
|
clears the parse string as well as the history
◆ clearParseString()
void Digikam::AdvancedRenameWidget::clearParseString |
( |
| ) |
|
resets the current parse string, the LineEdit widget will be empty
◆ focusLineEdit()
void Digikam::AdvancedRenameWidget::focusLineEdit |
( |
| ) |
|
set focus for the LineEdit widget
◆ highlightLineEdit() [1/2]
void Digikam::AdvancedRenameWidget::highlightLineEdit |
( |
| ) |
|
highlight the LineEdit widgets text
◆ highlightLineEdit() [2/2]
void Digikam::AdvancedRenameWidget::highlightLineEdit |
( |
const QString & |
word | ) |
|
highlight a word in the LineEdit widgets text
◆ parse()
QString Digikam::AdvancedRenameWidget::parse |
( |
ParseSettings & |
settings | ) |
const |
evaluates the parse string and executes the parser
- Parameters
-
settings | information about the file to be renamed |
- Returns
- the new name of the file
References Digikam::ParseSettings::parseString.
◆ parser()
Parser * Digikam::AdvancedRenameWidget::parser |
( |
| ) |
const |
returns a pointer to the currently assigned parser
Referenced by setParser().
◆ parseString()
QString Digikam::AdvancedRenameWidget::parseString |
( |
| ) |
const |
returns the current parse string
◆ setControlWidgets()
void Digikam::AdvancedRenameWidget::setControlWidgets |
( |
ControlWidgets |
mask | ) |
|
◆ setLayoutStyle()
void Digikam::AdvancedRenameWidget::setLayoutStyle |
( |
LayoutStyle |
style | ) |
|
set the layout style of the widget
- Parameters
-
style | the style of the layout |
- See also
- LayoutStyle
◆ setParser()
void Digikam::AdvancedRenameWidget::setParser |
( |
Parser * |
parser | ) |
|
sets the current parser. If a parser has already been assigned, it will be deleted first.
- Parameters
-
parser | a pointer to the new parser instance |
References parser().
◆ setParseString()
void Digikam::AdvancedRenameWidget::setParseString |
( |
const QString & |
text | ) |
|
sets the current parse string
- Parameters
-
◆ setParseTimerDuration()
void Digikam::AdvancedRenameWidget::setParseTimerDuration |
( |
int |
milliseconds | ) |
|
◆ signalReturnPressed
void Digikam::AdvancedRenameWidget::signalReturnPressed |
( |
| ) |
|
|
signal |
◆ signalTextChanged
void Digikam::AdvancedRenameWidget::signalTextChanged |
( |
const QString & |
| ) |
|
|
signal |
The documentation for this class was generated from the following files: