?? mainprogram.h
字號:
#pragma once
// Qt includes
#include <QtCore/QObject>
// local includes
#include "MainWindow.h"
// forward declarations
class Snake;
class QtCvWrapper;
//! The MainProgram class
/*!
* The MainProgram fires up the gui and defines the needed classes
* for the program
*/
class MainProgram : public QObject
{
Q_OBJECT;
public:
//! constructor for connecting Snake Class with the Qt GUI
MainProgram(int argc, char* argv[]);
//! desctructor
~MainProgram(void);
//! launches the gui application
void startGui(int argc, char* argv[]);
// returns the actual loaded image filename
inline const QString* getFileName(){m_mainWindow->getFileName();};
protected:
private:
//! Connection to the GUI
MainWindow* m_mainWindow;
//! Connection to the Image-Processing Part
QtCvWrapper* m_wrapper;
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -