summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/designer/examples/colortool/findform.ui.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/designer/examples/colortool/findform.ui.rb')
-rw-r--r--qtruby/rubylib/designer/examples/colortool/findform.ui.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/qtruby/rubylib/designer/examples/colortool/findform.ui.rb b/qtruby/rubylib/designer/examples/colortool/findform.ui.rb
new file mode 100644
index 00000000..6bfb4f0a
--- /dev/null
+++ b/qtruby/rubylib/designer/examples/colortool/findform.ui.rb
@@ -0,0 +1,11 @@
+class FindForm
+
+def find()
+ emit lookfor( @findLineEdit.text() )
+end
+
+def notfound()
+ @findLineEdit.selectAll()
+end
+
+end