Skip to content

Commit

Permalink
Release prep (#35)
Browse files Browse the repository at this point in the history
* start code review, etc. for release

* move default position setting to top of each setup method

* fixes #32  change access to ?wt.test.BaseWidgetTest for private props for unit testing

* fixes #33 Updated several widgets missing BackgroundColor capability

* fixes #24  Change PasswordField to run ValueChanged event on Enter key instead of typing.  New ValueChanging event runs on typing.

* #27 Partial work on SliderCheckbox unit test - Incomplete

* fixes #27  Complete unit test for SliderCheckboxGroup

* fixes #19  Update icons for transparency, revised test app to verify all coloring properties work

* fixed bug in wt.test.SliderCheckboxGroup

* fixes #20  Add pattern to FileSelector, also add warn icon when path is invalid

* fixes #13  FileSelector restores figure focus after completing uigetfile/uigetdir

* add tolerance to wt.test.SliderCheckboxGroup after drag interactions

* Add WidgetsExampleApp

* Prepare release 2.2.0

* Tweaked the deployment and examples text summary a bit, and deployed release 2.2.0

* Add link to new examples app in getting started.  Repackage 2.2.0

* Repackage release 2.2.0
  • Loading branch information
rjackey authored May 13, 2022
1 parent b35fc9f commit 60a0245
Show file tree
Hide file tree
Showing 57 changed files with 1,308 additions and 1,050 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Widgets Toolbox - MATLAB App Building Components
# Widgets Toolbox - MATLAB App Designer Components

[![View Widgets Toolbox - MATLAB App Building Components on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/83328-widgets-toolbox-matlab-app-building-components)
[![View Widgets Toolbox - MATLAB App Designer Components on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/83328-widgets-toolbox-matlab-app-building-components)

Additional app building components to efficiently develop advanced user interfaces in MATLAB

Expand Down
30 changes: 13 additions & 17 deletions deploy/Toolbox Packaging Project.prj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<deployment-project plugin="plugin.toolbox" plugin-version="1.0">
<configuration file="C:\Work\widgets-toolbox\deploy\Toolbox Packaging Project.prj" location="C:\Work\widgets-toolbox\deploy" name="Toolbox Packaging Project" target="target.toolbox" target-name="Package Toolbox">
<param.appname>Widgets Toolbox - MATLAB App Building Components</param.appname>
<configuration build-checksum="818648512" file="C:\Work\widgets-toolbox\deploy\Toolbox Packaging Project.prj" location="C:\Work\widgets-toolbox\deploy" name="Toolbox Packaging Project" target="target.toolbox" target-name="Package Toolbox">
<param.appname>Widgets Toolbox - MATLAB App Designer Components</param.appname>
<param.authnamewatermark>Robyn Jackey (MathWorks Consulting)</param.authnamewatermark>
<param.email />
<param.company>MathWorks Consulting</param.company>
<param.summary>Additional app building components to efficiently develop advanced user interfaces in MATLAB</param.summary>
<param.description>Widgets Toolbox helps you efficiently develop advanced user interfaces in MATLAB. Widgets combine existing control functionalities together into larger, reusable, common functionality to accelerate development of graphical user interfaces. The widgets may be used directly within App Designer
<param.description>Widgets Toolbox helps you efficiently develop advanced user interfaces in MATLAB and App Designer. Widgets combine existing control functionalities together into larger, reusable, common functionality to accelerate development of graphical user interfaces.

The toolbox provides additional UI controls and higher-level components that implement common building blocks needed in MATLAB apps. Components include:
Components include:

Grid of buttons grouped together
List of checkboxes and labels grouped together
Expand All @@ -29,16 +29,16 @@ https://www.mathworks.com/matlabcentral/fileexchange/66235-widgets-toolbox

Planning a complex or business-critical app? MathWorks Consulting can advise you on design and architecture: https://www.mathworks.com/services/consulting/proven-solutions/software-development-with-matlab.html</param.description>
<param.screenshot>${PROJECT_ROOT}\widgets_logo.png</param.screenshot>
<param.version>2.1.3</param.version>
<param.output>${PROJECT_ROOT}\Widgets Toolbox - MATLAB App Building Components.mltbx</param.output>
<param.version>2.2.0</param.version>
<param.output>${PROJECT_ROOT}\Widgets Toolbox - MATLAB App Designer Components.mltbx</param.output>
<param.products.name>
<item>MATLAB</item>
</param.products.name>
<param.products.id>
<item>1</item>
</param.products.id>
<param.products.version>
<item>9.10</item>
<item>9.12</item>
</param.products.version>
<param.platforms />
<param.guid>78895307-cc36-4970-8b66-0697da8f9352</param.guid>
Expand All @@ -56,7 +56,9 @@ Planning a complex or business-critical app? MathWorks Consulting can advise you
&lt;/examples&gt;</param.examples>
<param.demosxml />
<param.apps />
<param.registered.apps />
<param.registered.apps>
<file>C:\Work\widgets-toolbox\widgets\examples\WidgetsExampleApp.mlapp</file>
</param.registered.apps>
<param.docs />
<param.getting.started.guide>C:\Work\widgets-toolbox\widgets\doc\GettingStarted.mlx</param.getting.started.guide>
<param.matlabpath.excludes />
Expand Down Expand Up @@ -86,7 +88,6 @@ Planning a complex or business-critical app? MathWorks Consulting can advise you
<param.exclude.pcodedmfiles />
<param.demosxml />
<param.apps />
<param.registered.apps />
<param.docs />
<param.matlabpath.excludes />
<param.javaclasspath.excludes />
Expand All @@ -111,6 +112,7 @@ Planning a complex or business-critical app? MathWorks Consulting can advise you
<fileset.rootfiles>
<file>C:\Work\widgets-toolbox\widgets\+wt</file>
<file>C:\Work\widgets-toolbox\widgets\demos.xml</file>
<file>C:\Work\widgets-toolbox\widgets\DesktopToolset.xml</file>
<file>C:\Work\widgets-toolbox\widgets\doc</file>
<file>C:\Work\widgets-toolbox\widgets\examples</file>
<file>C:\Work\widgets-toolbox\widgets\icons</file>
Expand All @@ -120,15 +122,14 @@ Planning a complex or business-critical app? MathWorks Consulting can advise you
<fileset.depfun.excluded />
<fileset.package />
<build-deliverables>
<file location="${PROJECT_ROOT}" name="Widgets Toolbox - MATLAB App Building Components.mltbx" optional="false">C:\Work\widgets-toolbox\deploy\Widgets Toolbox - MATLAB App Building Components.mltbx</file>
<file location="${PROJECT_ROOT}" name="Widgets Toolbox - MATLAB App Designer Components.mltbx" optional="false">C:\Work\widgets-toolbox\deploy\Widgets Toolbox - MATLAB App Designer Components.mltbx</file>
</build-deliverables>
<workflow />
<matlab>
<root>C:\Program Files\MATLAB\R2021a</root>
<root>C:\Program Files\MATLAB\R2022a</root>
<toolboxes>
<toolbox name="matlabcoder" />
<toolbox name="embeddedcoder" />
<toolbox name="neuralnetwork" />
</toolboxes>
<toolbox>
<matlabcoder>
Expand All @@ -140,11 +141,6 @@ Planning a complex or business-critical app? MathWorks Consulting can advise you
<enabled>true</enabled>
</embeddedcoder>
</toolbox>
<toolbox>
<neuralnetwork>
<enabled>true</enabled>
</neuralnetwork>
</toolbox>
</matlab>
<platform>
<unix>false</unix>
Expand Down
Binary file added release/Widgets Toolbox 2.2.0.mltbx
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info>
<Category UUID="FileClassCategory">
<Label UUID="design"/>
</Category>
</Info>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info location="AllWidgetsTestApp.mlapp" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info location="Widgets Toolbox 2.2.0.mltbx" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info>
<Category UUID="FileClassCategory">
<Label UUID="design"/>
</Category>
</Info>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info location="PropertyViewable.m" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info>
<Category UUID="FileClassCategory">
<Label UUID="test"/>
</Category>
</Info>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info location="SliderCheckboxGroup.m" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info>
<Category UUID="FileClassCategory">
<Label UUID="design"/>
</Category>
</Info>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info location="WidgetsExampleApp.mlapp" type="File"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info>
<Category UUID="FileClassCategory">
<Label UUID="derived"/>
</Category>
</Info>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<Info location="DesktopToolset.xml" type="File"/>
18 changes: 18 additions & 0 deletions test/+wt/+test/FileSelector.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ function testFolderEditField(testCase)
% Type a valid value
newValue = string(matlabroot);
testCase.verifyTypeAction(editControl, newValue, "Value");

% Verify the warn image does not show
testCase.verifyFalse(logical(testCase.Widget.WarnImage.Visible));

% Verify the ValueIsValidPath value
testCase.verifyTrue(testCase.Widget.ValueIsValidPath)
Expand All @@ -63,6 +66,9 @@ function testFolderEditField(testCase)

% Verify the ValueIsValidPath value
testCase.verifyFalse(testCase.Widget.ValueIsValidPath)

% Verify the warn image shows
testCase.verifyTrue(logical(testCase.Widget.WarnImage.Visible));

end %function

Expand All @@ -81,13 +87,19 @@ function testFileEditField(testCase)

% Verify the ValueIsValidPath value
testCase.verifyTrue(testCase.Widget.ValueIsValidPath)

% Verify the warn image does not show
testCase.verifyFalse(logical(testCase.Widget.WarnImage.Visible));

% Type an invalid value
newValue = "some bad file path";
testCase.verifyTypeAction(editControl, newValue, "Value");

% Verify the ValueIsValidPath value
testCase.verifyFalse(testCase.Widget.ValueIsValidPath)

% Verify the warn image shows
testCase.verifyTrue(logical(testCase.Widget.WarnImage.Visible));

end %function

Expand Down Expand Up @@ -116,6 +128,9 @@ function testRootDirectoryAndHistory(testCase)

% Verify the ValueIsValidPath value
testCase.verifyTrue(testCase.Widget.ValueIsValidPath)

% Verify the warn image does not show
testCase.verifyFalse(logical(testCase.Widget.WarnImage.Visible));

% Verify the full path
fullPath = fullfile(rootDir,newValue1);
Expand All @@ -133,6 +148,9 @@ function testRootDirectoryAndHistory(testCase)

% Verify the ValueIsValidPath value
testCase.verifyTrue(testCase.Widget.ValueIsValidPath)

% Verify the warn image does not show
testCase.verifyFalse(logical(testCase.Widget.WarnImage.Visible));

% Verify the full path
fullPath = fullfile(rootDir,newValue2);
Expand Down
Loading

0 comments on commit 60a0245

Please sign in to comment.