-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
140 changed files
with
11,726 additions
and
1,886 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ build/ | |
material-design-icons/ | ||
icons/ | ||
*.user | ||
*.qmlc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* This file is part of Fluid. | ||
* | ||
* Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> | ||
* | ||
* $BEGIN_LICENSE:MPL2$ | ||
* | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
* | ||
* $END_LICENSE$ | ||
*/ | ||
|
||
import QtQuick 2.0 | ||
import QtQuick.Controls 2.0 | ||
import QtQuick.Controls.Material 2.0 | ||
import Fluid.Core 1.0 as FluidCore | ||
|
||
Label { | ||
font.pixelSize: FluidCore.Device.isMobile ? 18 : 17 | ||
color: Material.secondaryTextColor | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* This file is part of Fluid. | ||
* | ||
* Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> | ||
* | ||
* $BEGIN_LICENSE:MPL2$ | ||
* | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
* | ||
* $END_LICENSE$ | ||
*/ | ||
|
||
import QtQuick 2.0 | ||
import QtQuick.Controls 2.1 | ||
import Fluid.Controls 1.0 as FluidControls | ||
|
||
/*! | ||
\qmltype Dialog | ||
\inqmlmodule Fluid.Controls | ||
\ingroup fluidcontrols | ||
\brief Alert dialogs are urgent interruptions to inform the user about a situation. | ||
An alert dialog is used to interrupt the user's workflow to inform them about | ||
a situation that requires their acknowledgement. | ||
Most alert don't need a title and they summarize a decision in a sentence or two | ||
by either asking a question or making a statement related to the action buttons. | ||
*/ | ||
Dialog { | ||
default property alias content: dialogContent.data | ||
|
||
property alias text: dialogLabel.text | ||
|
||
x: (parent.width - width) / 2 | ||
y: (parent.height - height) / 2 | ||
|
||
focus: true | ||
modal: true | ||
|
||
Column { | ||
id: dialogContent | ||
anchors { | ||
left: parent.left | ||
top: parent.top | ||
} | ||
spacing: FluidControls.Units.smallSpacing | ||
width: parent.width | ||
|
||
FluidControls.DialogLabel { | ||
id: dialogLabel | ||
wrapMode: Text.Wrap | ||
width: parent.width | ||
visible: text !== "" | ||
} | ||
} | ||
} |
Oops, something went wrong.