Recent

Author Topic: Designing dashboards  (Read 9351 times)

JD

  • Hero Member
  • *****
  • Posts: 1848
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 - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
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: 1848
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 - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

JD

  • Hero Member
  • *****
  • Posts: 1848
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 - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

soerensen3

  • Full Member
  • ***
  • Posts: 213
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: 1848
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 - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

 

TinyPortal © 2005-2018