Recent

Author Topic: Designing dashboards  (Read 3161 times)

JD

  • Hero Member
  • *****
  • Posts: 1731
Re: Designing dashboards
« Reply #15 on: May 06, 2018, 09:24:17 am »
@lainz

Thanks, I've got the correct version now.  :D Any ideas on how to create the buttons on the blue panel on the left of the model I sent?

JD
Windows (10, 7) - Lazarus 1.8/FPC 3.0.4, NewPascal, Delphi
Linux Mint Cinnamon  - Lazarus 1.8/FPC 3.0.4, NewPascal

Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

lainz

  • Hero Member
  • *****
  • Posts: 2923
    • Home
Re: Designing dashboards
« Reply #16 on: May 06, 2018, 03:15:35 pm »
@lainz

Thanks, I've got the correct version now.  :D Any ideas on how to create the buttons on the blue panel on the left of the model I sent?

JD

Is the same as the MDButton, only with the 'bottom blue line' at the left. And just changing the colors. Plus adding glyph support (I've not added that yet).

So you will need to code a bit =)

JD

  • Hero Member
  • *****
  • Posts: 1731
Re: Designing dashboards
« Reply #17 on: May 06, 2018, 04:26:10 pm »
@lainz

Thanks, I've got the correct version now.  :D Any ideas on how to create the buttons on the blue panel on the left of the model I sent?

JD

Is the same as the MDButton, only with the 'bottom blue line' at the left. And just changing the colors. Plus adding glyph support (I've not added that yet).

So you will need to code a bit =)

:D Graphics are my weakest point in programming. I gave it up when I was labouring with MFC - Microsoft Foundation Classes (or Microsoft Frustration Classes as some were calling it at that time) on C/C++.

JD
Windows (10, 7) - Lazarus 1.8/FPC 3.0.4, NewPascal, Delphi
Linux Mint Cinnamon  - Lazarus 1.8/FPC 3.0.4, NewPascal

Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

JD

  • Hero Member
  • *****
  • Posts: 1731
Re: Designing dashboards
« Reply #18 on: May 16, 2018, 12:42:57 pm »
@lainz

Thanks a lot for your example. I was able to create a good looking dashboard.  :D

JD
Windows (10, 7) - Lazarus 1.8/FPC 3.0.4, NewPascal, Delphi
Linux Mint Cinnamon  - Lazarus 1.8/FPC 3.0.4, NewPascal

Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

soerensen3

  • Full Member
  • ***
  • Posts: 161
Re: Designing dashboards
« Reply #19 on: May 16, 2018, 01:43:44 pm »
Wow this is amazing, it looks almost exactly like the original.

You can draw the shadows like this (attachment)

I suppose this could still be optimized. If the panels are all the same size it should be enough to store on shadow in the image and draw it under each control.
Lazarus 1.9 with FPC 3.0.4
Target: Manjaro Linux 64 Bit (4.9.68-1-MANJARO)

JD

  • Hero Member
  • *****
  • Posts: 1731
Re: Designing dashboards
« Reply #20 on: May 16, 2018, 03:14:36 pm »
This is what I've been able to do for the moment.  :D

JD

Windows (10, 7) - Lazarus 1.8/FPC 3.0.4, NewPascal, Delphi
Linux Mint Cinnamon  - Lazarus 1.8/FPC 3.0.4, NewPascal

Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1