// Copyright 2017 Alejandro Sirgo Rica
//
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see .
#include "configwindow.h"
#include "capture/button.h"
#include "config/buttonlistview.h"
#include "config/uicoloreditor.h"
#include
#include
#include
#include
// ConfigWindow contains the menus where you can configure the application
ConfigWindow::ConfigWindow(QWidget *parent) : QWidget(parent){
setAttribute(Qt::WA_DeleteOnClose);
setWindowIcon(QIcon(":img/flameshot.svg"));
setWindowTitle(tr("Configuration"));
QVBoxLayout *baseLayout = new QVBoxLayout(this);
QLabel *colorSelectionLabel = new QLabel("UI color editor", this);
baseLayout->addWidget(colorSelectionLabel);
baseLayout->addWidget(new UIcolorEditor(this));
QLabel *buttonSelectLabel = new QLabel("Button selection", this);
baseLayout->addWidget(buttonSelectLabel);
ButtonListView *m_buttonListView = new ButtonListView(this);
m_buttonListView->setFlow(QListWidget::TopToBottom);
baseLayout->addWidget(m_buttonListView);
show();
}