Code Monkey home page Code Monkey logo

lifetimev3's People

lifetimev3's Issues

Multiselection of Elements

  • multiselection in general (in object browser)
  • highlighting in editor
  • displaying properties of first element in the collection
  • changing of properties in multiselection and take over to all selected items
  • If there are multiple elements selected highlight any property that is not equal over all elements in the selection
  • State what (green) highlighted properties mean for user guidance
  • inform user that he's going to edit multiple elements, label in grid
    drawn:
    copy / paste of multiselections?
    draw box in editor to achieve multiselection?

New diagram condition

Needs default text element locations

  • Diagram has a span > 0 days
  • diagram has a first group already added
  • diagram has a first element already added
  • diagram has a Marker-Group already added containing two markers: begin and end of span
  • diagram has a text element already added "powered by LifeTimeV3"

Some fonts causes the diagrom viewer to crash

The diagram viewer is subsequently down afterwards. Need to catch such fonts to prevent viewer crashing. Consider that some fonts may work on some systems and on other not... default action could be to use standard font like Arial Narrow but without changing the originally selected fonts. Inform user about that problem by activating an info label in the viewer or diagram box.

  • Check where the exception is thrown and why
  • Catch the exception and prepare for user information (new issue)

Label positioning by mouse

  • Bring Locked property to elements
  • Master switch locking in diagram settings
  • Drag and drop on (Non-Text-Box) Elements will positioning the label when it is not locked

Add Textboxes

Place them free in the diagram or use default locations
Select f/b color, font, ...

  • Add new Element Type Text
  • Make new element Type to be drawn
  • Use of properties accordingly - absolute x/y position, not defined by any date/group
  • new element type will be saved and loaded
  • Catch the text element when clicking on it (return valid fence)
  • Add new icon for text elements
  • hide superfluous properties in grid
  • add properties for boxing the label
  • Multiline (means own property for the text, not use just the elements name)
  • make box bigger than the drawn string itself

Switch diagram font (global)

  • get list of fonts
  • new property in settings object to pick a font
  • new property in settings object to select font size
  • use font and size in diagram drawing
  • use own font in elements or earn font from diagram
  • Set bold, italic and underline in the elements and global
  • New properties in elements / diagram settings B U I
  • New control to handle properties
  • Apply B U I properties in diagram drawing
  • what if font doesn't exist / handle

Label positioning by mouse only when drag/drop label itself

How to determine whether element or label was clicked since the value in the fence (key) dictionary is the same?

Don't use a Rectangle/Element dictionary but use a Collection of FenceObjects that has a the fence pos/size, a reference to the element and a tag inside defining the fence's nature.

  • new fence model
  • allow moving only when movable flag is true

Helping hints

E. G. text element selected and moving disabled

  • No group in diagram
  • No element in diagram
  • Toolbox not visible
  • Errors while drawing

Add Info Dlg

  • Make Main Menu Item
  • Make form
  • Display of Authors information and picture
  • Display License
  • Link to GitHub and GitHub Wiki

Improve label drawing

  • Draw lines from either upper (y < 0) or lower (y > 0) edge of element, depening on label position (do not always draw through element from upper edge)
  • no line when position is inside label or directly besides events (text pos y = 0)
  • Text centered if textposy is zero

Printing feature

Printing Basics:

  • Main Menu
  • Method in Diagram to print
    Printing Dialog:
  • Show Printing dialog before
  • Scale output graphic to fit page

Reload settigns object when loading/creating diagram

  • Done
  • Verifiy, Test

The old settings object is still shown in the toolbox but has no influence to the current diagram

Repro:
Create new Diag
Change font --> Font is changed in the diag
Creaete new Diag
Recent font is still shown but should be "Arial Narrow"
Change font / size --> nothing happens to the diag

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.