This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

CModEditor.h

By: egor7 on Jul 12th, 2011  |  syntax: C++ (with Qt extensions)  |  size: 0.51 KB  |  views: 85  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #ifndef CMODEDITOR_H
  2. #define CMODEDITOR_H
  3.  
  4. #include <QWidget>
  5. // #include "CModEdiWidget.h"
  6.  
  7. QT_BEGIN_NAMESPACE
  8. class QMainWindow;
  9. class QAction;
  10. class QMenu;
  11. class QMenuBar;
  12. class QToolBar;
  13. QT_END_NAMESPACE
  14.  
  15. class CModEditor : public QWidget
  16. {
  17.         Q_OBJECT
  18.  
  19. public:
  20.         CModEditor(QWidget *parent = 0);
  21.  
  22. public slots:
  23.         void cut();
  24.  
  25. private:
  26.         void createActions();
  27.         void createToolBars();
  28.         void interCom();
  29.  
  30.         QAction *cutAct;
  31.         QToolBar *editToolBar;
  32.  
  33.         // parent
  34.         QMainWindow *mainWnd;
  35. };
  36.  
  37. #endif
clone this paste RAW Paste Data