I am trying to include QTextEdit widget in main... I am able to do so (with a code given below), I want you to insert or help me put my QTextEdit:
Code:
# include <QApplication>
# include <QtGui> "Fe.h"
# include "Fe.h"
int main (int argc, char * argv [])
(
QApplication app (argc, argv);
Fe window;
window. show ();
return app. exec ();
)
Fe.h
# ifndef HEADER_FE
# define HEADER_FE
# include <QtGui>
Fe class: public QMainWindow
(
public:
Fe();
private:
);
# endif
Fe.cpp
Code: C + + 1
2
3
4
5
6 # include "Fe.h"
Fe: Fe ()
(
)
Bookmarks