File: MatrixWindow.hpp

package info (click to toggle)
vite 1.2%2Bsvn%2Bgit4.c6c0ce7-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 21,544 kB
  • sloc: cpp: 32,343; makefile: 461; sh: 144; ansic: 67
file content (30 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef MATRIX_WINDOW_HPP
#define MATRIX_WINDOW_HPP

#include "../Formats/SymbolMatrix.hpp"
#include "MatrixGLWidget.hpp"

#include <QMainWindow>
#include <QCloseEvent>
#include <QKeyEvent>
#include <QLabel>

#define MATRIX_WINDOW_LENGTH 512
#define MATRIX_WINDOW_HEIGHT 512

class Matrix_window : public QMainWindow
{
public:
    Matrix_window(symbol_matrix_t* matrix);
    ~Matrix_window();

protected:
    void closeEvent(QCloseEvent* event);
    void keyPressEvent(QKeyEvent* keyEvent);

private:
    MatrixGLWidget* m_gl;
    QLabel*         m_label;
};

#endif