Jump to content

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

From KDE Community Wiki
Vishwa (talk | contribs)
No edit summary
Vishwa (talk | contribs)
No edit summary
 
Line 1: Line 1:
'''Status: ASSIGNED To Vishwa Modi''', '''Target: 2.9''', Difficulty: EASY
'''Status: Done''', '''Target: 2.9''', Difficulty: EASY


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

Latest revision as of 21:58, 26 March 2014

Status: Done, 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