KDEUI
kaboutapplicationdialog.cpp
Go to the documentation of this file.
69 KAboutApplicationDialog::KAboutApplicationDialog(const KAboutData *aboutData, Options opt, QWidget *parent)
110 titleWidget->setPixmap(QPixmap::fromImage(aboutData->programLogo().value<QImage>()), KTitleWidget::ImageLeft);
113 titleWidget->setText(i18n("<html><font size=\"5\">%1</font><br /><b>Version %2</b><br /> </html>",
116 titleWidget->setText(i18nc("Program name, version and KDE platform version; do not translate 'Development Platform'",
117 "<html><font size=\"5\">%1</font><br /><b>Version %2</b><br />Using KDE Development Platform %3</html>",
171 transparentBackgroundPalette.setColor(QPalette::Text, transparentBackgroundPalette.color(QPalette::WindowText));
186 bugsLabel->setText( i18n("Please use <a href=\"http://bugs.kde.org\">http://bugs.kde.org</a> to report bugs.\n") );
static int marginHint()
Returns the number of pixels that should be used between a dialog edge and the outermost widget(s) ac...
Definition: kdialog.cpp:427
QString i18n(const char *text)
void setColor(ColorGroup group, ColorRole role, const QColor &color)
void setOpenExternalLinks(bool open)
const QColor & color(ColorGroup group, ColorRole role) const
Standard "About Application" dialog box.
Definition: kaboutapplicationdialog.h:48
void setAttribute(Qt::WidgetAttribute attribute, bool on)
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
const KAboutData * aboutData() const
virtual void setCaption(const QString &caption)
Make a KDE compliant caption.
Definition: kdialog.cpp:469
QString i18nc(const char *ctxt, const char *text)
QPixmap pixmap(const QSize &size, Mode mode, State state) const
width
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
QString number(int n, int base)
void setLayout(QLayout *layout)
No options, show the standard about dialog.
Definition: kaboutapplicationdialog.h:60
int toInt(bool *ok, int base) const
bool isEmpty() const
qreal idealWidth() const
QString trimmed() const
int addTab(QWidget *page, const QString &label)
void setText(const QString &)
void setButtons(ButtonCodes buttonMask)
Creates (or recreates) the button box and all the buttons in it.
Definition: kdialog.cpp:206
QScrollBar * verticalScrollBar() const
void setMargin(int margin)
void setSizePolicy(QSizePolicy)
QTextDocument * document() const
QString name(KAboutData::NameFormat formatName) const
void setFont(const QFont &)
void setDefaultButton(ButtonCode id)
Sets the button that will be activated when the Enter key is pressed.
Definition: kdialog.cpp:287
void setLineWrapMode(LineWrapMode mode)
void setTextInteractionFlags(QFlags< Qt::TextInteractionFlag > flags)
QString & replace(int position, int n, QChar after)
virtual ~KAboutApplicationDialog()
Definition: kaboutapplicationdialog.cpp:304
void setUsesScrollButtons(bool useButtons)
void addStretch(int stretch)
QSize expandedTo(const QSize &otherSize) const
KAboutApplicationDialog(const KAboutData *aboutData, Options opts, QWidget *parent=0)
Constructor.
Definition: kaboutapplicationdialog.cpp:69
static QString aboutTranslationTeam()
const QChar at(int position) const
const KComponentData & mainComponent()
Standard title widget with a white background and round border.
Definition: ktitlewidget.h:61
void setPixmap(const QPixmap &pixmap, ImageAlignment alignment=ImageRight)
Definition: ktitlewidget.cpp:231
void show()
void setText(const QString &text, Qt::Alignment alignment=Qt::AlignLeft|Qt::AlignVCenter)
Definition: ktitlewidget.cpp:201
QObject * parent() const
void setText(const QString &text)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
void setWordWrap(bool on)
void setContentsMargins(int left, int top, int right, int bottom)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 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:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.