mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 20:57:09 +02:00
22 lines
568 B
C++
22 lines
568 B
C++
//
|
|
// Application.cpp
|
|
// interface
|
|
//
|
|
// Created by Andrzej Kapolka on 5/10/13.
|
|
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved.
|
|
|
|
#include <QMenuBar>
|
|
#include <QtDebug>
|
|
|
|
#include "Application.h"
|
|
|
|
Application::Application(int& argc, char** argv) : QApplication(argc, argv) {
|
|
// simple menu bar (will only appear on OS X, for now)
|
|
QMenuBar* menuBar = new QMenuBar();
|
|
QMenu* fileMenu = menuBar->addMenu("File");
|
|
fileMenu->addAction("Test", this, SLOT(testSlot()));
|
|
}
|
|
|
|
void Application::testSlot() {
|
|
qDebug() << "Hello world.";
|
|
}
|