/********************************************************************************
** Form generated from reading ui file 'okno.ui'
**
** Created: Mon 7. Jul 20:25:54 2008
** by: Qt User Interface Compiler version 4.4.0
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
********************************************************************************/
#ifndef UI_OKNO_H
#define UI_OKNO_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QMainWindow>
#include <QtGui/QMenu>
#include <QtGui/QMenuBar>
#include <QtGui/QStatusBar>
#include <QtGui/QTextEdit>
#include <QtGui/QToolBar>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_Okno
{
public:
{
if (Okno->objectName().isEmpty())
Okno
->setObjectName
(QString::fromUtf8("Okno"));
Okno->resize(600, 400);
actionOtworz
->setObjectName
(QString::fromUtf8("actionOtworz"));
actionOtworz->setIcon(icon);
actionZapisz
->setObjectName
(QString::fromUtf8("actionZapisz"));
actionZapisz->setIcon(icon1);
actionNowy
->setObjectName
(QString::fromUtf8("actionNowy"));
actionNowy->setIcon(icon2);
actionZapiszjako
= new QAction(Okno
);
actionZapiszjako
->setObjectName
(QString::fromUtf8("actionZapiszjako"));
actionWyjscie
->setObjectName
(QString::fromUtf8("actionWyjscie"));
centralwidget
->setObjectName
(QString::fromUtf8("centralwidget"));
centralwidget
->setGeometry
(QRect(0,
55,
600,
326));
verticalLayout
->setObjectName
(QString::fromUtf8("verticalLayout"));
poletekstowe
->setObjectName
(QString::fromUtf8("poletekstowe"));
verticalLayout->addWidget(poletekstowe);
Okno->setCentralWidget(centralwidget);
menubar
->setObjectName
(QString::fromUtf8("menubar"));
menubar
->setGeometry
(QRect(0,
0,
600,
21));
menuPlik
= new QMenu(menubar
);
menuPlik
->setObjectName
(QString::fromUtf8("menuPlik"));
Okno->setMenuBar(menubar);
statusbar
->setObjectName
(QString::fromUtf8("statusbar"));
statusbar
->setGeometry
(QRect(0,
381,
600,
19));
Okno->setStatusBar(statusbar);
toolBar
->setObjectName
(QString::fromUtf8("toolBar"));
toolBar
->setGeometry
(QRect(0,
21,
600,
34));
Okno->addToolBar(Qt::TopToolBarArea, toolBar);
menubar->addAction(menuPlik->menuAction());
menuPlik->addAction(actionOtworz);
menuPlik->addAction(actionZapisz);
menuPlik->addAction(actionNowy);
menuPlik->addAction(actionZapiszjako);
menuPlik->addSeparator();
menuPlik->addAction(actionWyjscie);
toolBar->addAction(actionOtworz);
toolBar->addAction(actionZapisz);
toolBar->addAction(actionNowy);
retranslateUi(Okno);
} // setupUi
{
} // retranslateUi
};
namespace Ui {
class Okno: public Ui_Okno {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_OKNO_H
/********************************************************************************
** Form generated from reading ui file 'okno.ui'
**
** Created: Mon 7. Jul 20:25:54 2008
** by: Qt User Interface Compiler version 4.4.0
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
********************************************************************************/
#ifndef UI_OKNO_H
#define UI_OKNO_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QMainWindow>
#include <QtGui/QMenu>
#include <QtGui/QMenuBar>
#include <QtGui/QStatusBar>
#include <QtGui/QTextEdit>
#include <QtGui/QToolBar>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_Okno
{
public:
QAction *actionOtworz;
QAction *actionZapisz;
QAction *actionNowy;
QAction *actionZapiszjako;
QAction *actionWyjscie;
QWidget *centralwidget;
QVBoxLayout *verticalLayout;
QTextEdit *poletekstowe;
QMenuBar *menubar;
QMenu *menuPlik;
QStatusBar *statusbar;
QToolBar *toolBar;
void setupUi(QMainWindow *Okno)
{
if (Okno->objectName().isEmpty())
Okno->setObjectName(QString::fromUtf8("Okno"));
Okno->resize(600, 400);
actionOtworz = new QAction(Okno);
actionOtworz->setObjectName(QString::fromUtf8("actionOtworz"));
QIcon icon;
icon.addPixmap(QPixmap(QString::fromUtf8(":/images/open.png")), QIcon::Normal, QIcon::Off);
actionOtworz->setIcon(icon);
actionZapisz = new QAction(Okno);
actionZapisz->setObjectName(QString::fromUtf8("actionZapisz"));
QIcon icon1;
icon1.addPixmap(QPixmap(QString::fromUtf8(":/images/save.png")), QIcon::Normal, QIcon::Off);
actionZapisz->setIcon(icon1);
actionNowy = new QAction(Okno);
actionNowy->setObjectName(QString::fromUtf8("actionNowy"));
QIcon icon2;
icon2.addPixmap(QPixmap(QString::fromUtf8(":/images/new.png")), QIcon::Normal, QIcon::Off);
actionNowy->setIcon(icon2);
actionZapiszjako = new QAction(Okno);
actionZapiszjako->setObjectName(QString::fromUtf8("actionZapiszjako"));
actionWyjscie = new QAction(Okno);
actionWyjscie->setObjectName(QString::fromUtf8("actionWyjscie"));
centralwidget = new QWidget(Okno);
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
centralwidget->setGeometry(QRect(0, 55, 600, 326));
verticalLayout = new QVBoxLayout(centralwidget);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
poletekstowe = new QTextEdit(centralwidget);
poletekstowe->setObjectName(QString::fromUtf8("poletekstowe"));
verticalLayout->addWidget(poletekstowe);
Okno->setCentralWidget(centralwidget);
menubar = new QMenuBar(Okno);
menubar->setObjectName(QString::fromUtf8("menubar"));
menubar->setGeometry(QRect(0, 0, 600, 21));
menuPlik = new QMenu(menubar);
menuPlik->setObjectName(QString::fromUtf8("menuPlik"));
Okno->setMenuBar(menubar);
statusbar = new QStatusBar(Okno);
statusbar->setObjectName(QString::fromUtf8("statusbar"));
statusbar->setGeometry(QRect(0, 381, 600, 19));
Okno->setStatusBar(statusbar);
toolBar = new QToolBar(Okno);
toolBar->setObjectName(QString::fromUtf8("toolBar"));
toolBar->setGeometry(QRect(0, 21, 600, 34));
Okno->addToolBar(Qt::TopToolBarArea, toolBar);
menubar->addAction(menuPlik->menuAction());
menuPlik->addAction(actionOtworz);
menuPlik->addAction(actionZapisz);
menuPlik->addAction(actionNowy);
menuPlik->addAction(actionZapiszjako);
menuPlik->addSeparator();
menuPlik->addAction(actionWyjscie);
toolBar->addAction(actionOtworz);
toolBar->addAction(actionZapisz);
toolBar->addAction(actionNowy);
retranslateUi(Okno);
QMetaObject::connectSlotsByName(Okno);
} // setupUi
void retranslateUi(QMainWindow *Okno)
{
Okno->setWindowTitle(QApplication::translate("Okno", "MainWindow", 0, QApplication::UnicodeUTF8));
actionOtworz->setText(QApplication::translate("Okno", "Otw\303\263rz", 0, QApplication::UnicodeUTF8));
actionZapisz->setText(QApplication::translate("Okno", "Zapisz", 0, QApplication::UnicodeUTF8));
actionNowy->setText(QApplication::translate("Okno", "Nowy", 0, QApplication::UnicodeUTF8));
actionZapiszjako->setText(QApplication::translate("Okno", "Zapisz jako", 0, QApplication::UnicodeUTF8));
actionWyjscie->setText(QApplication::translate("Okno", "Wyj\305\233cie", 0, QApplication::UnicodeUTF8));
menuPlik->setTitle(QApplication::translate("Okno", "Plik", 0, QApplication::UnicodeUTF8));
toolBar->setWindowTitle(QApplication::translate("Okno", "toolBar", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class Okno: public Ui_Okno {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_OKNO_H
To copy to clipboard, switch view to plain text mode
ui_okno.h:28: error: expected constructor, destructor, or type conversion before ‘class’
ui_okno.h:125: error: expected class-name before ‘{’ token
mojeokno.h:7: error: expected constructor, destructor, or type conversion before ‘class’
main.cpp: In function ‘int main(int, char**)’:
main.cpp:7: error: ‘MojeOkno’ was not declared in this scope
main.cpp:7: error: expected `;' before ‘okno’
main.cpp:8: error: ‘okno’ was not declared in this scope
make: *** [main.o] Błąd 1
ui_okno.h:28: error: expected constructor, destructor, or type conversion before ‘class’
ui_okno.h:125: error: expected class-name before ‘{’ token
mojeokno.h:7: error: expected constructor, destructor, or type conversion before ‘class’
main.cpp: In function ‘int main(int, char**)’:
main.cpp:7: error: ‘MojeOkno’ was not declared in this scope
main.cpp:7: error: expected `;' before ‘okno’
main.cpp:8: error: ‘okno’ was not declared in this scope
make: *** [main.o] Błąd 1
To copy to clipboard, switch view to plain text mode
Bookmarks