File: shaderssourcewidget.h

package info (click to toggle)
apitrace 13.0%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,752 kB
  • sloc: cpp: 183,974; python: 33,969; ansic: 25,566; sh: 169; makefile: 88; sed: 3
file content (23 lines) | stat: -rw-r--r-- 437 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "ui_shaderssourcewidget.h"
#include <QWidget>

class GLSLEdit;

class ShadersSourceWidget : public QWidget
{
    Q_OBJECT
public:
    ShadersSourceWidget(QWidget *parent=0);

public slots:
    void setShaders(const QMap<QString, QString> &sources);

private slots:
    void changeShader(const QString &key);
private:
    Ui::ShadersSourceWidget m_ui;
    QMap<QString, QString> m_sources;
    GLSLEdit *m_edit;
};