Skip to content

Commit

Permalink
+ ‘rectification/about.cpp’
Browse files Browse the repository at this point in the history
+ ‘rectification/about.h’
+ ‘rectification/about.ui’
+ ‘rectification/form1.cpp’
+ ‘rectification/form1.h’
+ ‘rectification/form1.ui’
+ ‘rectification/form1.ui.h’
+ ‘rectification/form2.cpp’
+ ‘rectification/form2.h’
+ ‘rectification/form2.ui’
+ ‘rectification/form2.ui.h’
+ ‘rectification/imagem.cpp’
+ ‘rectification/imagem.h’
+ ‘rectification/images/efoto2.png’
+ ‘rectification/images/folder.png’
+ ‘rectification/images/frame_edit.png’
+ ‘rectification/images/gnome-dev-floppy.png’
+ ‘rectification/images/identity.png’
+ ‘rectification/images/limpar.png’
+ ‘rectification/images/rect.ico’
...
  • Loading branch information
lucaarcteam committed May 24, 2012
1 parent ffe79b0 commit 6870ad4
Show file tree
Hide file tree
Showing 37 changed files with 3,282 additions and 2,951 deletions.
37 changes: 37 additions & 0 deletions rectification/about.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#include "about.h"

#include <qvariant.h>
#include <qimage.h>
#include <qpixmap.h>

/*
* Constructs a About as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*
* The dialog will by default be modeless, unless you set 'modal' to
* true to construct a modal dialog.
*/
About::About(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
: QDialog(parent, name, modal, fl)
{
setupUi(this);

}

/*
* Destroys the object and frees any allocated resources
*/
About::~About()
{
// no need to delete child widgets, Qt does it all for us
}

/*
* Sets the strings of the subwidgets using the current
* language.
*/
void About::languageChange()
{
retranslateUi(this);
}

122 changes: 122 additions & 0 deletions rectification/about.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
/********************************************************************************
** Form generated from reading ui file 'about.ui'
**
** Created: Fri Jan 18 12:03:20 2008
** by: Qt User Interface Compiler version 4.2.3
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
********************************************************************************/

#ifndef ABOUT_H
#define ABOUT_H

#include <Qt3Support/Q3TextBrowser>
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDialog>
#include <QtGui/QPushButton>
#include <Qt3Support/Q3MimeSourceFactory>

class Ui_About
{
public:
QPushButton *pushButton1;
Q3TextBrowser *textBrowser1;

void setupUi(QDialog *About)
{
About->setObjectName(QString::fromUtf8("About"));
About->setWindowIcon(QIcon(qPixmapFromMimeSource("images/identity.png")));
pushButton1 = new QPushButton(About);
pushButton1->setObjectName(QString::fromUtf8("pushButton1"));
pushButton1->setGeometry(QRect(187, 270, 50, 30));
textBrowser1 = new Q3TextBrowser(About);
textBrowser1->setObjectName(QString::fromUtf8("textBrowser1"));
textBrowser1->setGeometry(QRect(10, 10, 410, 250));

retranslateUi(About);

QSize size(432, 310);
size = size.expandedTo(About->minimumSizeHint());
About->resize(size);

QObject::connect(pushButton1, SIGNAL(clicked()), About, SLOT(close()));

QMetaObject::connectSlotsByName(About);
} // setupUi

void retranslateUi(QDialog *About)
{
About->setWindowTitle(QApplication::translate("About", "About Rectification", 0, QApplication::UnicodeUTF8));
pushButton1->setText(QApplication::translate("About", "Ok", 0, QApplication::UnicodeUTF8));
textBrowser1->setText(QApplication::translate("About", "<u>Rectification Module</u><br><br>\n"
"\n"
"<u>What's new:</u><br><br>\n"
"Version 1.2 - Dec 2006<br>\n"
"- Layout improvement. <br>\n"
"- Resize main window. <br>\n"
"- Resize report window.<br>\n"
"- Interpolation for images less than 32 bit color.<br><br><br>\n"
"\n"
"Version 1.1<br>\n"
"- Results statistics added.<br>\n"
"- Proportional rectangle aid added.<br><br><br>\n"
"\n"
"<u>Programmers:</u><br><br>\n"
"Marcelo Teixeira Silveira, M.Sc.<br>\n"
"- Final layout design<br>\n"
"- Image handle code<br>\n"
"- Image interpolation code<br>\n"
"- Image transformations convertion to C++ (all but general affine)<br>\n"
"- Report <br><br>\n"
"Rafael Paz <br>\n"
"- First prototype<br>\n"
"- Matrix library converted to class<br>\n"
"- Image transformations convertion to C++ (general affine)<br><br>\n"
"Orlando Bernardo Filho, D.Sc.<br>\n"
"- Professor responsible for converting some codes to classes<br>\n"
"- Matrix library converted to class<br>\n"
"- Image transformations convertion to C++ (general affine)<br>\n"
""
"- Statistics<br><br>\n"
"Sidney Andrade de Lima<br>\n"
"- All transformation work done in Mathcad<br><br>\n"
"Luiz Coelho, M.Sc.<br>\n"
"- E-FOTO creator<br>\n"
"- Matrix code<br><br>\n"
"<br>\n"
"<u>Bibliography</u><br><br>\n"
"E-BOOK<br>\n"
"- Luiz Coelho, M.Sc.<br>\n"
"- Jorge Nunes Brito, Ph.D.<br>\n"
"<br>\n"
"Estrategias para Retificacao de Imagens Digitais -<i> UERJ Engineering Course monograph</i><br>\n"
"- Sidney Andrade de Lima, Cartographic Engineer<br>\n"
"- Jorge Nunes Brito, Ph.D.<br>\n"
"<br>\n"
"Contact: <a href=\"http://www.efoto.eng.uerj.br\">http://www.efoto.eng.uerj.br</a>", 0, QApplication::UnicodeUTF8));
Q_UNUSED(About);
} // retranslateUi

};

namespace Ui {
class About: public Ui_About {};
} // namespace Ui

class About : public QDialog, public Ui::About
{
Q_OBJECT

public:
About(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
~About();

protected slots:
virtual void languageChange();

};

#endif // ABOUT_H
117 changes: 117 additions & 0 deletions rectification/about.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<ui version="4.0" >
<class>About</class>
<widget class="QDialog" name="About" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>432</width>
<height>310</height>
</rect>
</property>
<property name="windowTitle" >
<string>About Rectification</string>
</property>
<property name="windowIcon" >
<iconset>images/identity.png</iconset>
</property>
<widget class="QPushButton" name="pushButton1" >
<property name="geometry" >
<rect>
<x>187</x>
<y>270</y>
<width>50</width>
<height>30</height>
</rect>
</property>
<property name="text" >
<string>Ok</string>
</property>
</widget>
<widget class="Q3TextBrowser" name="textBrowser1" >
<property name="geometry" >
<rect>
<x>10</x>
<y>10</y>
<width>410</width>
<height>250</height>
</rect>
</property>
<property name="text" >
<string>&lt;u>Rectification Module&lt;/u>&lt;br>&lt;br>

&lt;u>What's new:&lt;/u>&lt;br>&lt;br>
Version 1.2 - Dec 2006&lt;br>
- Layout improvement. &lt;br>
- Resize main window. &lt;br>
- Resize report window.&lt;br>
- Interpolation for images less than 32 bit color.&lt;br>&lt;br>&lt;br>

Version 1.1&lt;br>
- Results statistics added.&lt;br>
- Proportional rectangle aid added.&lt;br>&lt;br>&lt;br>

&lt;u>Programmers:&lt;/u>&lt;br>&lt;br>
Marcelo Teixeira Silveira, M.Sc.&lt;br>
- Final layout design&lt;br>
- Image handle code&lt;br>
- Image interpolation code&lt;br>
- Image transformations convertion to C++ (all but general affine)&lt;br>
- Report &lt;br>&lt;br>
Rafael Paz &lt;br>
- First prototype&lt;br>
- Matrix library converted to class&lt;br>
- Image transformations convertion to C++ (general affine)&lt;br>&lt;br>
Orlando Bernardo Filho, D.Sc.&lt;br>
- Professor responsible for converting some codes to classes&lt;br>
- Matrix library converted to class&lt;br>
- Image transformations convertion to C++ (general affine)&lt;br>
- Statistics&lt;br>&lt;br>
Sidney Andrade de Lima&lt;br>
- All transformation work done in Mathcad&lt;br>&lt;br>
Luiz Coelho, M.Sc.&lt;br>
- E-FOTO creator&lt;br>
- Matrix code&lt;br>&lt;br>
&lt;br>
&lt;u>Bibliography&lt;/u>&lt;br>&lt;br>
E-BOOK&lt;br>
- Luiz Coelho, M.Sc.&lt;br>
- Jorge Nunes Brito, Ph.D.&lt;br>
&lt;br>
Estrategias para Retificacao de Imagens Digitais -&lt;i> UERJ Engineering Course monograph&lt;/i>&lt;br>
- Sidney Andrade de Lima, Cartographic Engineer&lt;br>
- Jorge Nunes Brito, Ph.D.&lt;br>
&lt;br>
Contact: &lt;a href="http://www.efoto.eng.uerj.br">http://www.efoto.eng.uerj.br&lt;/a></string>
</property>
</widget>
</widget>
<layoutdefault spacing="6" margin="11" />
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
<customwidgets>
<customwidget>
<class>Q3TextBrowser</class>
<extends>Q3TextEdit</extends>
<header>Qt3Support/Q3TextBrowser</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>pushButton1</sender>
<signal>clicked()</signal>
<receiver>About</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel" >
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel" >
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
</connections>
</ui>
35 changes: 35 additions & 0 deletions rectification/form1.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#include "form1.h"

#include <qvariant.h>
#include "form1.ui.h"
/*
* Constructs a Form1 as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*
*/
Form1::Form1(QWidget* parent, const char* name, Qt::WindowFlags fl)
: Q3MainWindow(parent, name, fl)
{
setupUi(this);

(void)statusBar();
init();
}

/*
* Destroys the object and frees any allocated resources
*/
Form1::~Form1()
{
// no need to delete child widgets, Qt does it all for us
}

/*
* Sets the strings of the subwidgets using the current
* language.
*/
void Form1::languageChange()
{
retranslateUi(this);
}

Loading

0 comments on commit 6870ad4

Please sign in to comment.