Commit Graph

16 Commits

Author SHA1 Message Date
Marco Bubke
f3c6200513 Welcome: Keep sidebar and headers static on scrolling
Task-number: QTCREATORBUG-12872
Change-Id: I8ab9a88203fcce60fa9f9cdf06369eb0c572a0bf
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2014-10-02 12:08:03 +02:00
Thomas Hartmann
dbff333229 WelcomePage: Fixing missing images and warnings
The property help source was always defined.

The actual reason for the warnings was that we did not check
if model.imageUrl is undefined and java script turns an undefined
value into the string "undefined".

Change-Id: Ifb433ff5cdc3142ff5e552ff1b01b04b1a859590
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-26 14:10:53 +01:00
Thomas Hartmann
c3e027e5b0 WelcomePage: Fix warning if searching in examples
During search/filtering the model returns undefined values
for delegates.

Task-number: QTCREATORBUG-11579
Task-number: QTCREATORBUG-11847

Change-Id: Ia15acd54991373f5bdebe4407e4f4a39503f6966
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-03-25 17:19:09 +01:00
Robert Loehning
746c5d8863 Incremented year in copyright info
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-01-08 08:29:47 +01:00
Jens Bache-Wiig
1193cfa092 Cache loaded items
This is a somewhat different solution for improving the
performance of the welcome screen. It has the added benefit
of caching loaded items while still retaining a decent
performance.

Change-Id: I9927a90f1b7de5bb06c43b16dc80cb2afec3f8ad
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-12-17 16:23:35 +01:00
Ulf Hermann
b7ac243c3b WelcomeScreen: Avoid loading of invalid pictures
Apparently the QML engine also loads pictures for invisible Image
objects. The pictures icons for examples and tutorials on the welcome
screen thus always try to load an extra video icon, which always fails.
By setting the URL to an empty string if the example or tutorial being
loaded is no video we can avoid that.

Change-Id: Ibafc11ed233f386bbbf1e7a4830fcb34bc1cd55d
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-12-03 14:01:53 +01:00
Ulf Hermann
50b61dbe4e WelcomePage: Fix scrolling logic
We only need one scrollable element in the WelcomePage. By passing
the height properties of inner elements to the outermost one we can
avoid multiple vertical scrollbars next to each other. Since this
removes the QScrollArea around the welcome page it fixes
QTCREATORBUG-10796

Task-number: QTCREATORBUG-10796

Change-Id: I08b0409e21f16be6c3e0e5a58f2665320d0a14fe
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-19 11:36:34 +01:00
Jens Bache-Wiig
cf56178df1 Port welcome screen to Qt Quick 2
This ports the welcome screen to use QtQuick 2.0.
I have disabled the plugin on Qt4 builds.

Change-Id: Ia921d0747c8f7d4441c88fc9fb77b822496091f4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-09-16 13:31:59 +02:00
Robert Loehning
298531e370 Incremented year in copyright info
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2013-01-29 16:27:03 +01:00
hjk
386ca7c8dd Adjust license headers
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-10-05 17:12:56 +02:00
Eike Ziller
e0e8cf3ada Contact -> qt-project.org
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-07-19 13:23:21 +02:00
Thomas Hartmann
5e36568628 WelcomePage: fix scrollbars of grid view
Task-number: QTCREATORBUG-7012


Change-Id: I015db6f3ccff4a8b28b59f7eab530a07464e771d
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-03-06 12:48:43 +01:00
hjk
2931a499e6 Long live the king!
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-26 19:55:36 +01:00
Thomas Hartmann
3807b0fae5 WelcomePage: optimizing GridView
Instead of placing the "complete" GridView to a ScrollArea we now add
a ScrollBar to the GridView. This means that only visible delegates are
instanciated and the GridView gets alot faster.

Change-Id: I63b8593b260acd4d3a786a99c7dd58507c12e221
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2011-12-08 11:23:23 +01:00
Thomas Hartmann
f7fc5820c5 WelcomePage: add better thumbnails for tutorials
Adding customized thumbnails for tutorials

Change-Id: Ide75daadff24180f7d3274c5a6b08bbce630281c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-11-25 11:58:34 +01:00
Thomas Hartmann
2fc8c10b8f new design of the welcomepage
Design done by: Virva Auvinen

Change-Id: I94ca75f50d3924088bc7d9be6cc884975480bcac
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-11-23 13:57:13 +01:00