diff options
author | khumba <> | 2018-01-27 21:37:00 (GMT) |
---|---|---|
committer | hdiff <hdiff@hdiff.luite.com> | 2018-01-27 21:37:00 (GMT) |
commit | 8b86cf69ffd8ca7ea73f06edf62f751b1b24fddd (patch) | |
tree | 510471642cae8f6569b6d2e8e1f7091b29027401 | |
parent | 1690bbbd9230fc16d90c8e504507a82e3026fed3 (diff) |
version 0.4.00.4.0
-rw-r--r-- | Setup.hs | 2 | ||||
-rw-r--r-- | qtah-examples.cabal | 10 | ||||
-rw-r--r-- | src/Graphics/UI/Qtah/Example/Notepad.hs | 2 | ||||
-rw-r--r-- | src/Main.hs | 4 |
4 files changed, 9 insertions, 9 deletions
@@ -1,6 +1,6 @@ -- This file is part of Qtah. -- --- Copyright 2015-2017 The Qtah Authors. +-- Copyright 2015-2018 The Qtah Authors. -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as published by diff --git a/qtah-examples.cabal b/qtah-examples.cabal index 3ad7337..1211b39 100644 --- a/qtah-examples.cabal +++ b/qtah-examples.cabal @@ -1,14 +1,14 @@ name: qtah-examples -version: 0.3.0 +version: 0.4.0 synopsis: Example programs for Qtah Qt bindings homepage: http://khumba.net/projects/qtah license: LGPL-3 license-files: LICENSE.GPL, LICENSE.LGPL author: Bryan Gardiner <bog@khumba.net> maintainer: Bryan Gardiner <bog@khumba.net> -copyright: Copyright 2015-2017 The Qtah Authors. +copyright: Copyright 2015-2018 The Qtah Authors. category: Graphics -build-type: Custom +build-type: Simple cabal-version: >=1.10 description: Qtah is a set of Qt bindings for Haskell. This package contains example @@ -27,7 +27,7 @@ executable qtah-examples , bytestring >=0.10 && <0.11 , containers <0.6 , filepath >=1.0 && <1.5 - , hoppy-runtime >=0.3 && <0.4 - , qtah-qt5 >=0.3 && <0.4 + , hoppy-runtime >=0.4 && <0.5 + , qtah-qt5 >=0.4 && <0.5 ghc-options: -W -fwarn-incomplete-patterns -fwarn-unused-do-bind -dynamic default-language: Haskell2010 diff --git a/src/Graphics/UI/Qtah/Example/Notepad.hs b/src/Graphics/UI/Qtah/Example/Notepad.hs index daf93a0..faff50d 100644 --- a/src/Graphics/UI/Qtah/Example/Notepad.hs +++ b/src/Graphics/UI/Qtah/Example/Notepad.hs @@ -1,6 +1,6 @@ -- This file is part of Qtah. -- --- Copyright 2015-2017 The Qtah Authors. +-- Copyright 2015-2018 The Qtah Authors. -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as published by diff --git a/src/Main.hs b/src/Main.hs index 08ebff2..55c5ca6 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -1,6 +1,6 @@ -- This file is part of Qtah. -- --- Copyright 2015-2017 The Qtah Authors. +-- Copyright 2015-2018 The Qtah Authors. -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as published by @@ -139,7 +139,7 @@ newChooserWindow = do connect_ selectionModel QItemSelectionModel.currentChangedSignal $ \index _ -> exampleSelected ui index - connect_ listView QAbstractItemView.activatedSignal $ \_ -> runSelectedExample ui + connect_ listView QAbstractItemView.doubleClickedSignal $ \_ -> runSelectedExample ui connect_ runButton QAbstractButton.clickedSignal $ \_ -> runSelectedExample ui |