Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWebView- Html5 support

QWebView- Html5 support

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maximus
    wrote on 10 Jul 2014, 20:29 last edited by
    #1

    Hi,

    Is there any plan to add Html5 fonctionnality to QWebView?

    I'm using Qt 5.2.1 and some feature seems missing/incomplete
    For example :
    input type="number" - validation (min, max, required) not implemented. (validation on server side in image below)
    input effect on type="number" is always present.

    Here is an example
    https://www.dropbox.com/s/2on4zhmphm2a3c0/html5QWebView.png

    Thank you Qt


    Free Indoor Cycling Software - https://maximumtrainer.com

    1 Reply Last reply
    0
    • M Offline
      M Offline
      maximus
      wrote on 22 Jul 2014, 17:10 last edited by
      #2

      The most important update would be to support
      <input type="number"> so we can use the min and max properties.

      Right now I have to rely on complex jquery code to do the job but it would be much easier with html5 support.

      Keep up the good work !

      Edit
      Not that complex afterall, gotta love jquery
      @ /// Validate wheel size field (positive integer)
      $("#wheel_speed").on("input", function() {

       if(Math.floor(this.value) == this.value && $.isNumeric(this.value) && this.value > 0) {
        $("#div-wheel-circ").removeClass("has-error");
        /// Emit signal wheel circ changed
       }
       else { ///show error form on wheel size
        $("#div-wheel-circ").addClass("has-error");
       }
      

      });@


      Free Indoor Cycling Software - https://maximumtrainer.com

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved