You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

49 lines
2.2 KiB

/***************************************************************************
* Copyright (C) 2006 by Pino Toscano <toscano.pino@tiscali.it> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
#include "dlgannotations.h"
#include "widgetannottools.h"
#include <KLocalizedString>
#include <QFormLayout>
#include <QLabel>
#include <QLineEdit>
DlgAnnotations::DlgAnnotations(QWidget *parent)
: QWidget(parent)
{
QFormLayout *layout = new QFormLayout(this);
// BEGIN Author row: Line edit to set the annotation’s default author value.
QLineEdit *authorLineEdit = new QLineEdit(this);
authorLineEdit->setObjectName(QStringLiteral("kcfg_IdentityAuthor"));
layout->addRow(i18nc("@label:textbox Config dialog, annotations page", "Author:"), authorLineEdit);
QLabel *authorInfoLabel = new QLabel(this);
authorInfoLabel->setText(
i18nc("@info Config dialog, annotations page", "<b>Note:</b> the information here is used only for annotations. The information is saved in annotated documents, and so will be transmitted together with the document."));
authorInfoLabel->setWordWrap(true);
layout->addRow(authorInfoLabel);
// END Author row
// Silly 1Em spacer:
layout->addRow(new QLabel(this));
// BEGIN Quick annotation tools section: WidgetAnnotTools manages tools.
QLabel *toolsLabel = new QLabel(this);
toolsLabel->setText(i18nc("@label Config dialog, annotations page, heading line for Quick Annotations tool manager", "<h3>Quick Annotation Tools</h3>"));
layout->addRow(toolsLabel);
WidgetAnnotTools *kcfg_QuickAnnotationTools = new WidgetAnnotTools(this);
kcfg_QuickAnnotationTools->setObjectName(QStringLiteral("kcfg_QuickAnnotationTools"));
layout->addRow(kcfg_QuickAnnotationTools);
// END Quick annotation tools section
}