Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-qt-ui-qml
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
libdap-qt-ui-qml
Commits
1deee6f9
Commit
1deee6f9
authored
5 years ago
by
littletux89@gmail.com
Browse files
Options
Downloads
Patches
Plain Diff
[+] Added widget for informational message window.
parent
8be59b39
No related branches found
Branches containing commit
No related tags found
1 merge request
!30
features-2994
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libdap-qt-ui-qml.qrc
+2
-0
2 additions, 0 deletions
libdap-qt-ui-qml.qrc
widgets/DapMessageBox.qml
+6
-0
6 additions, 0 deletions
widgets/DapMessageBox.qml
widgets/DapMessageBoxForm.ui.qml
+99
-0
99 additions, 0 deletions
widgets/DapMessageBoxForm.ui.qml
with
107 additions
and
0 deletions
libdap-qt-ui-qml.qrc
+
2
−
0
View file @
1deee6f9
...
...
@@ -25,5 +25,7 @@
<file>widgets/DapText.qml</file>
<file>widgets/DapTextForm.ui.qml</file>
<file>widgets/DapScrollViewHandling.qml</file>
<file>widgets/DapMessageBox.qml</file>
<file>widgets/DapMessageBoxForm.ui.qml</file>
</qresource>
</RCC>
This diff is collapsed.
Click to expand it.
widgets/DapMessageBox.qml
0 → 100644
+
6
−
0
View file @
1deee6f9
import
QtQuick
2.4
DapMessageBoxForm
{
}
This diff is collapsed.
Click to expand it.
widgets/DapMessageBoxForm.ui.qml
0 → 100644
+
99
−
0
View file @
1deee6f9
import
QtQuick
2.4
import
QtQuick
.
Controls
2.0
import
QtGraphicalEffects
1.0
Rectangle
{
id
:
dapMessageBox
property
alias
dapTitleText
:
titleText
property
alias
dapContentText
:
contentText
property
alias
dapButtonOk
:
buttonOk
layer.enabled
:
true
layer.effect
:
DropShadow
{
horizontalOffset
:
3
verticalOffset
:
3
radius
:
13
samples
:
17
color
:
"
#ababab
"
}
Rectangle
{
id
:
frameTitle
anchors.top
:
parent
.
top
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
height
:
44
*
pt
color
:
"
#908D9D
"
Text
{
id
:
titleText
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
anchors.leftMargin
:
30
*
pt
anchors.rightMargin
:
30
*
pt
font.pixelSize
:
16
*
pt
font.family
:
"
Roboto
"
font.styleName
:
"
Normal
"
font.weight
:
Font
.
Normal
color
:
"
#FFFFFF
"
}
}
Rectangle
{
id
:
frameContent
anchors.top
:
frameTitle
.
bottom
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
anchors.bottom
:
parent
.
bottom
anchors.topMargin
:
30
*
pt
anchors.leftMargin
:
30
*
pt
anchors.rightMargin
:
30
*
pt
anchors.bottomMargin
:
32
*
pt
height
:
172
*
pt
color
:
"
#FFFFFF
"
Text
{
id
:
contentText
anchors.top
:
parent
.
top
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
anchors.bottom
:
buttonOk
.
top
font.pixelSize
:
16
*
pt
font.family
:
"
Roboto
"
font.styleName
:
"
Normal
"
font.weight
:
Font
.
Normal
color
:
"
#070023
"
wrapMode
:
Text
.
WordWrap
}
DapButton
{
id
:
buttonOk
widthButton
:
78
*
pt
heightButton
:
36
*
pt
anchors.right
:
parent
.
right
anchors.bottom
:
parent
.
bottom
textButton
:
qsTr
(
"
OK
"
)
colorBackgroundNormal
:
"
#3E3853
"
colorBackgroundHover
:
"
#D51F5D
"
colorButtonTextNormal
:
"
#FFFFFF
"
colorButtonTextHover
:
"
#FFFFFF
"
fontButton.pixelSize
:
14
*
pt
borderColorButton
:
"
#FFFFFF
"
borderWidthButton
:
0
fontButton.family
:
"
Roboto
"
fontButton.weight
:
Font
.
Normal
horizontalAligmentText
:
Qt
.
AlignCenter
colorTextButton
:
"
#FFFFFF
"
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment