umbrello/umbrello
overwritedialog.cpp
Go to the documentation of this file.
45 QLabel* dialogueLabel = new QLabel(i18n("The file %1 already exists in %2.\n\nUmbrello can overwrite the file, generate a similar\nfile name or not generate this file.", fileName, outputDirectory), frame);
OverwriteDialog(const QString &fileName, const QString &outputDirectory, bool applyToAllRemaining, QWidget *parent=0)
Constructor sets up the dialog, adding checkbox and label.
Definition: overwritedialog.cpp:26
virtual void slotApply()
Overrides standard operation to call QDialog::done(No).
Definition: overwritedialog.cpp:79
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
virtual void slotCancel()
Overrides standard operation to call QDialog::done(Cancel).
Definition: overwritedialog.cpp:87
virtual void slotOk()
Overrides standard operation to call QDialog::done(Yes).
Definition: overwritedialog.cpp:71
void setMargin(int margin)
void setChecked(bool)
void setSpacing(int spacing)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.