View Issue Details

IDProjectCategoryView StatusLast Update
0001829Slicer4Core: GUIpublic2012-05-21 12:42
Reporterfedorov Assigned Tocrmullin  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product VersionSlicer 4.0.1 
Target VersionSlicer 4.2.0Fixed in VersionSlicer 4.2.0 
Summary0001829: Add option to customize font size(and family ?) for the python console
Description

Add an entry in the Python settings panel.

From Andriy - March 21:

Hi,

An issue came up today during the python tutorial that the font in
python console for projection on the screen.

Just to check -- there is no easy way to increase this font size, right?

TagsNo tags attached.

Relationships

related to 0001851 closedfinetjul Few fonts available. Impaired readability 

Activities

jcfr

jcfr

2012-05-07 12:33

administrator   ~0004184

From Jc - March 21:

Hi Andriy,

Waiting we update the Python settings, you could do the following:

pythonShell().children()[0].setFontPointSize(14)

Doing so, we get the reference to the pythonConsole, access the associated QTextEdit and set its font size.

Hth
Jc

crmullin

crmullin

2012-05-10 13:32

developer   ~0004297

The option to specify font in the Python console has been implemented here:

https://github.com/chrismullins/CTK/tree/add-set-get-shellfont-to-ctkconsole

and here:

https://github.com/chrismullins/Slicer/tree/1829-option-customize-python-console-font

Chris

jcfr

jcfr

2012-05-18 12:12

administrator   ~0004502

Last edited: 2012-05-18 12:13

CTK topic integrated to master - See https://github.com/commontk/CTK/commit/e048878f9ce1bc5ae2a34d004181250162470750

Author of the commit has been changed into:

Christopher Mullins <christopher.mullins@kitware.com>

Chris> Make sure to set your global git setting adequately. See http://www.commontk.org/index.php/Contributing_to_CTK#Prerequisites

Comments within the code of ctkConsole.cpp have been updated to match the coding style.

jcfr

jcfr

2012-05-21 11:27

administrator   ~0004535

Fixed in http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=20133

Issue History

Date Modified Username Field Change
2012-03-21 16:06 finetjul New Issue
2012-03-21 16:06 finetjul Status new => assigned
2012-03-21 16:06 finetjul Assigned To => jcfr
2012-03-21 16:07 finetjul Reporter finetjul => fedorov
2012-04-02 16:09 finetjul Relationship added related to 0001851
2012-05-07 08:05 jcfr Assigned To jcfr => crmullin
2012-05-07 12:32 jcfr Description Updated
2012-05-07 12:32 jcfr Description Updated
2012-05-07 12:33 jcfr Note Added: 0004184
2012-05-08 15:05 jcfr Target Version => Slicer 4.x AHM Summer 2012
2012-05-10 13:32 crmullin Note Added: 0004297
2012-05-18 12:12 jcfr Note Added: 0004502
2012-05-18 12:13 jcfr Note Edited: 0004502
2012-05-21 11:27 jcfr Note Added: 0004535
2012-05-21 11:27 jcfr Status assigned => resolved
2012-05-21 11:27 jcfr Fixed in Version => Slicer 4.2.0 AHM Summer 2012
2012-05-21 11:27 jcfr Resolution open => fixed
2012-05-21 12:42 fedorov Status resolved => closed