Warning, /maui/mauikit/src/controls.5/DialogWindow.qml is written in an unsupported language. File is not indexed.

0001 /*
0002  *   Copyright 2018 Camilo Higuita <milo.h@aol.com>
0003  *
0004  *   This program is free software; you can redistribute it and/or modify
0005  *   it under the terms of the GNU Library General Public License as
0006  *   published by the Free Software Foundation; either version 2, or
0007  *   (at your option) any later version.
0008  *
0009  *   This program is distributed in the hope that it will be useful,
0010  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
0011  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0012  *   GNU General Public License for more details
0013  *
0014  *   You should have received a copy of the GNU Library General Public
0015  *   License along with this program; if not, write to the
0016  *   Free Software Foundation, Inc.,
0017  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
0018  */
0019 
0020 import QtQuick 
0021 
0022 import QtQuick.Controls
0023 
0024 import org.mauikit.controls 1.3 as Maui
0025 
0026 import "private" as Private
0027 
0028 /**
0029  * @inherit QtQuick.Window
0030  * @brief A window that provides some basic features needed for most applications.
0031  */
0032 
0033 Private.BaseWindow
0034 {
0035     id: control
0036     
0037     flags: Maui.App.controls.enableCSD ? (Qt.FramelessWindowHint | Qt.Dialog ): (Qt.Dialog & ~Qt.FramelessWindowHint)
0038     
0039     
0040     /***************************************************/
0041     /********************* COLORS *********************/
0042     /*************************************************/
0043     Maui.Theme.colorSet: Maui.Theme.View         
0044     
0045     default property alias content : _page.content
0046         readonly property alias page: _page
0047         // maximumHeight: 700
0048         maximumWidth: 900
0049         
0050         Maui.Page
0051         {
0052             id: _page
0053              anchors.fill: parent
0054              title: control.title
0055         Maui.Controls.showCSD: true
0056         }
0057 }