Kexi/Junior Jobs/Add Close All Tabs command: Difference between revisions

From KDE Community Wiki
(Created page with "'''Status: UNASSIGNED''', '''Target: 2.9''', Difficulty: EASY Proposed and mentored by ~~~~ __TOC__ ==The Goal== Implement "Close All Tabs" command for tabs of opened views....")
 
Line 11: Line 11:


==Requirements==
==Requirements==
#There is "Close Tab" command already implemented, "Close All Tabs" would be similar:<br/>[[File:Kexi-2.9-close-menu.png]]
#There is "Close Tab" command already implemented, "Close All Tabs" would be similar:<br/>[[File:Kexi-2.9-close-menu.png|600px]]
#The command should be placed below the "Close Tab"
#The command should be placed below the "Close Tab"
#The command should close all tabs without any question
#The command should close all tabs without any question
Line 17: Line 17:
#The command should have no icon
#The command should have no icon
#The command should be always enabled
#The command should be always enabled
==Hints==
#Starting point to look is implementation of Close Tab action in KexiMainWindowTabWidget

Revision as of 19:47, 14 March 2014

Status: UNASSIGNED, Target: 2.9, Difficulty: EASY

Proposed and mentored by Jstaniek (talk) 19:45, 14 March 2014 (UTC)

The Goal

Implement "Close All Tabs" command for tabs of opened views.

Rationale

When more tabs are open, closing one by one is a tedious job.

Requirements

  1. There is "Close Tab" command already implemented, "Close All Tabs" would be similar:
  2. The command should be placed below the "Close Tab"
  3. The command should close all tabs without any question
  4. The command's caption should be translated (use i18n())
  5. The command should have no icon
  6. The command should be always enabled

Hints

  1. Starting point to look is implementation of Close Tab action in KexiMainWindowTabWidget