Skip to content

pavelvasev/qmlweb.components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QmlWeb Components

Subset of QtQuick.Controls and other useful things.

Online demo

http://pavelvasev.github.io/qmlweb.run/?s=https%3A%2F%2Fgithub.com%2Fpavelvasev%2Fqmlweb.components%2Fblob%2Fmaster%2Fsrc%2Ftest%2FIndex.qml

Demo and testing

I. Download qmlweb from special fork https://github.com/pavelvasev/qmlweb and put to sibling directory, e.g:

  • qmlweb
  • qmlweb.components

You need those special fork because it has addImportPath method and other enhancements.

II. Configure your browser to allow ajax requests to local files.

  • Chrome command line arg: --allow-file-access-from-files

III. Open src/test/test_run.html

Adding new controls

  1. Go to directory src and add some control.
  2. Put reference to it in qmldir file.
  3. Create a test case of that control in src/test/Index.qml.

When choosing what to create at step 1, please note that QmlWeb already has some built-in implementations of some controls

TODO

  • ParamCookie - save/restore some property to cookie
  • RowLayout,ColumnLayout,GridLayout (with Layout attached properties)
  • ScrollView (seems to be simple as css.overflow), SplitView
  • Dialogs (at least Dialog class)
  • ColorPicker (brand new control, maybe using ColorDialog).

Next todo things probably should be done exclusively in QmlWeb:

  • Component
  • Connections

About

gui components for qmlweb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published