From c1e23ca994bcb312d6a9357aab0e71c3fec27814 Mon Sep 17 00:00:00 2001 From: laserpants Date: Sat, 19 Mar 2016 11:53:49 +0300 Subject: [PATCH] add AppBar to main layout --- mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 13a372e..f14ca3d 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -4,6 +4,7 @@ #include "mainwindow.h" #include "flatbutton.h" #include "iconbutton.h" +#include "appbar.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) @@ -14,6 +15,9 @@ MainWindow::MainWindow(QWidget *parent) setCentralWidget(widget); + AppBar *appBar = new AppBar; + layout->addWidget(appBar); + QPushButton *button1 = new QPushButton("Test #1"); layout->addWidget(button1);