Commits

Author Commit Message Labels Comments Date
Pedro Ferreira
- fix, closing the ruler through the taskbar wouldn't close the options window (if was opened)
Branches
py_qt
Pedro Ferreira
- add readme - center the ruler in the middle of the screen on start-up
Branches
py_qt
Pedro Ferreira
- save/load the options to an external file - the width/height of the ruler - if its horizontal/vertical - background/lines color - always above option - if the options window was opened
Branches
py_qt
Pedro Ferreira
- fix, initialize the QColorDialog() with the current color (in ColorButton) - fix, set the main window with a translucent background, so that when a color with opacity is chosen it works correctly (for the background for example) - rotate around the mouse position in certain situations - when using the keyboard (alt + r) - mouse middle click - or with the right click context menu - when its done from the options menu, just use the normal way (based on the …
Branches
py_qt
Pedro Ferreira
- pressing the middle button rotates the ruler - add keyboard shortcuts (alt + o: open options, alt + r: rotate) - when trying to open the options/about window, if its already opened bring that window to the front (focus on it) - fix, don't open multiple windows, check if one is already opened - pressing 'esc' key closes the options/about window - fix, wrong object when setting the Qt.WindowStayOnTopHint flag (in options, was calling self when…
Branches
py_qt
Pedro Ferreira
- remove margins from ColorButton (was messing the position in the options window - set fixed width for the QPushButton in ColorButton (so that all have the same dimensions) - implement the units (cm / inch / px)
Branches
py_qt
Pedro Ferreira
- don't draw the first text/line (since it is drawn cut off) - implement the current length in the options window (distance from the beginning of the ruler to the mouse position) - move the options window code to its own file/module - update the orientation in the options menu when changed from the context menu
Branches
py_qt
Pedro Ferreira
- implement the always_above setting
Branches
py_qt
Pedro Ferreira
- do absolute position of the SizeGrip elements (instead of using a layout) - override the resizeEvent() of the ruler to take care of its position when resized - the right SizeGrip now is positioned correctly - rotate of the ruler now works properly
Branches
py_qt
Pedro Ferreira
- add a custom SizeGrip, which occupies the whole height of the ruler, and is transparent
Branches
py_qt
Pedro Ferreira
- update the ruler's color when its changed in the options window (for background and lines)
Branches
py_qt
Pedro Ferreira
- add about and options window - implement a color_button to pick the color of the lines/background in the options
Branches
py_qt
Pedro Ferreira
- add a context menu when right clicking on the ruler - add quit entry
Branches
py_qt
Pedro Ferreira
- start porting the ruler to py/qt - dragging is working - have a resize element to resize the ruler - draw the lines in pixels - draw the text each 100px
Branches
py_qt
Pedro Ferreira
- move the c++/gtk code to a new folder
Branches
py_qt
Pedro Ferreira
- delete ScreenRuler object when exiting
drk
- removed labels from the options window
drk
- the measure (from origin to where the mouse is) is showed in the options window
drk
- be able to resize in the ruler extremes
drk
- simplified dragging of the window
drk
- bold font weight - fixed blurred line problem
drk
- added license - added automake files
drk
- better description in About - medium traces from 25 units - added drag cursor - alt + ( r )otate
drk
- re-arranged the options ui - added the option to change the orientation in the options window - added 'Rotate' to context menu (right click on the ruler)
drk
- use Cairo::Context::rotate() to rotate 90 degrees the ruler - works for text now too!
drk
- saving/loading the windows position on the screen - finished loading stuff from the external file
drk
- removed angle option - added background color and number/lines color options - now CONFIGURATIONS is a global
drk
- save/load the state of the program (still not done) - added keyboard shortcut (alt + ( o )ptions --> open options window)
drk
- text aligned
drk
- added units (pixels/centimeters/inches) to options - have the traces spacing work for the different units
  1. Prev
  2. Next