summaryrefslogtreecommitdiffstats
path: root/examples/webengine/customdialogs/index.html
blob: 69c0e6b219a8033e35d0a37c59c26ef444848fad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
     <head>
         <meta charset="utf-8">
         <title>Custom UI</title>
         <link rel="stylesheet" type="text/css" href="style.css">
     </head>
     <body>
         <table align="center">
             <tr>
                 <td><div class="div"><a href="#openMenu" class="link">Right click on text to see link context menu</a></div></td>
             </tr>
             <tr>
                 <td><div class="div"><p title="I am a tooltip.">Hover this text to display a tooltip</a></div></td>
             </tr>
             <tr>
                 <td><button class="button" onclick="window.location = 'http://localhost.:5555/OPEN_AUTH'">
                 Open Authentication Dialog</button></td>
             </tr>
             <tr>
                 <td><button class="button" onclick="window.location = 'http://localhost.:5555/OPEN_PROXY'">
                 Open Proxy Dialog</button></td>
             </tr>
             <tr>
                 <td><button class="button" onclick="alert('This is the Alert Dialog !')">
                 Open Alert Dialog</button></td>
             </tr>
             <tr>
                 <td><button class="button" onclick="confirm('This is the Confirm Dialog.')">
                 Open Confirm Dialog</button></td>
             </tr>
             <tr>
                 <td><button class="button" onclick="prompt('Is this the Prompt Dialog ?', 'Yes')">
                 Open Prompt Dialog</button></td>
             </tr>
             <tr>
                 <td><button class="button" onclick="document.getElementById('colorpicker').click()">
                 Open Color Dialog</button></td>
             </tr>
             <tr>
                 <td><button class="button" onclick="document.getElementById('filepicker').click()">
                 Open File Dialog</button></td>
             </tr>
         </table>
         <input type="color" id="colorpicker" value="#ff0000" style="visibility:hidden"/>
         <input type="file" id="filepicker" accept=".cpp, .html, .h, .png, .qdoc, .qml" style="visibility:hidden"/>
     </body>
</html>