Clementine-audio-player-Mac.../src/ui/console.h

31 lines
500 B
C
Raw Permalink Normal View History

2012-09-26 18:36:47 +02:00
#ifndef CONSOLE_H
#define CONSOLE_H
#include <QDialog>
#include "ui_console.h"
class Application;
class Console : public QDialog {
Q_OBJECT
public:
Console(Application* app, QWidget* parent = nullptr);
2012-09-26 18:36:47 +02:00
void AddPage(QWidget* page, const QString& label);
2012-09-26 18:36:47 +02:00
private slots:
// Database
2012-09-26 18:36:47 +02:00
void RunQuery();
// Qt
void Dump();
2012-09-26 18:36:47 +02:00
private:
QList<QObject*> GetTopLevelObjects();
QObject* FindTopLevelObject(QString& name);
2012-09-26 18:36:47 +02:00
Ui::Console ui_;
Application* app_;
};
#endif // CONSOLE_H