From 936ee20de5ee4da46c61f3614b1a46e6448b449b Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 28 Dec 2006 15:09:22 +0000 Subject: [PATCH] old and unused files from the SoC svn path=/trunk/playground/graphics/okular/; revision=617259 --- ui/embeddedannotationdialog.cpp | 50 --------------------------------- ui/embeddedannotationdialog.h | 39 ------------------------- 2 files changed, 89 deletions(-) delete mode 100644 ui/embeddedannotationdialog.cpp delete mode 100644 ui/embeddedannotationdialog.h diff --git a/ui/embeddedannotationdialog.cpp b/ui/embeddedannotationdialog.cpp deleted file mode 100644 index ca9c1cba7..000000000 --- a/ui/embeddedannotationdialog.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2006 by Chu Xiaodong * - * * - * 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 "core/document.h" -#include "embeddedannotationdialog.h" - -EmbeddedAnnotationDialog::EmbeddedAnnotationDialog( QWidget * parent, Annotation * annot) -: QDialog(parent,0) -{ - m_annot=annot; - setObjectName(QString::fromUtf8("Dialog")); - resize(QSize(260, 220).expandedTo(minimumSizeHint())); - setWindowIcon(QIcon()); - setSizeGripEnabled(true); - textEdit = new QTextEdit(this); - textEdit->setObjectName(QString::fromUtf8("textEdit")); - textEdit->setGeometry(QRect(3, 3, 256, 201)); - if(annot) - textEdit->setPlainText(annot->window.text); - // textEdit->setBackgroundColor(QColor::fromRgb(255,255,0)); - QPalette pl; - - pl=palette(); - this->setPalette(QPalette(Qt::yellow)); - pl=textEdit->palette(); - pl.setColor(QPalette::Background,Qt::yellow); - setPalette(pl); - // pl.setColor(QPalette::Window,QColor(255,0,0)); - // pl.setColor(QPalette::Background,QColor(255,0,0)); - // pl.setColor(QPalette::AlternateBase,QColor(255,0,0)); - pl.setColor(QPalette::Base,Qt::yellow); - textEdit->setPalette(pl); - // textEdit->setTextColor(QColor(0,255,0)); - // textEdit->set - //retranslateUi(Dialog); -setWindowTitle(QApplication::translate("Dialog", "", 0, QApplication::UnicodeUTF8)); -// Q_UNUSED(this); - -// QMetaObject::connectSlotsByName(this); -} - - -#include "embeddedannotationdialog.moc" - diff --git a/ui/embeddedannotationdialog.h b/ui/embeddedannotationdialog.h deleted file mode 100644 index cc0b3c2ad..000000000 --- a/ui/embeddedannotationdialog.h +++ /dev/null @@ -1,39 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2006 by Chu Xiaodong * - * * - * 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. * - ***************************************************************************/ - -#ifndef _EMBEDDEDANNOTATIONDIALOG_H -#define _EMBEDDEDANNOTATIONDIALOG_H - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "core/annotations.h" - -class EmbeddedAnnotationDialog : public QDialog -{ -Q_OBJECT -public: - EmbeddedAnnotationDialog( QWidget * parent, Annotation * annot); - - - -public: - QTextEdit *textEdit; - - Annotation* m_annot; -}; - - -#endif // _EMBEDDEDANNOTATIONDIALOG_H