# eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesQueueManagementDialog

Module implementing a dialog used by the queue management functions.

### Global Attributes

None

### Classes

HgQueuesQueueManagementDialog | Class implementing a dialog used by the queue management functions.
HgQueuesQueueManagementDialogMode | Class defining the supported dialog modes.

### Functions

None

## HgQueuesQueueManagementDialog

Class implementing a dialog used by the queue management functions.

### Derived from

QDialog, Ui_HgQueuesQueueManagementDialog

### Class Attributes

None

### Class Methods

None

### Methods

HgQueuesQueueManagementDialog | Constructor
__getQueuesList | Private method to get a list of all queues and the name of the active queue.
getData | Public slot to get the data.
on_buttonBox_clicked | Private slot called by a button of the button box clicked.
on_nameEdit_textChanged | Private slot to handle changes of the entered queue name.
on_queuesList_itemSelectionChanged | Private slot to handle changes of selected queue names.
refresh | Public slot to refresh the list of queues.

### Static Methods

None

#### HgQueuesQueueManagementDialog (Constructor)

HgQueuesQueueManagementDialog(mode, title, suppressActive, vcs, parent=None)

Constructor

mode (HgQueuesQueueManagementDialogMode)
  mode of the dialog
title (str)
  title for the dialog
suppressActive (bool)
  flag indicating to not show the name of the active queue
vcs (Hg)
  reference to the vcs object
parent (QWidget)
  reference to the parent widget

Raises ValueError:
  raised to indicate an invalid dialog mode

#### HgQueuesQueueManagementDialog.__getQueuesList

__getQueuesList()

Private method to get a list of all queues and the name of the active queue.

Return:
  tuple with a list of all queues and the name of the active queue

Return Type:
  tuple of (list of str, str)

#### HgQueuesQueueManagementDialog.getData

getData()

Public slot to get the data.

Return:
  queue name

Return Type:
  str

#### HgQueuesQueueManagementDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot called by a button of the button box clicked.

button (QAbstractButton)
  button that was clicked

#### HgQueuesQueueManagementDialog.on_nameEdit_textChanged

on_nameEdit_textChanged(txt)

Private slot to handle changes of the entered queue name.

txt (str)
  text of the edit

#### HgQueuesQueueManagementDialog.on_queuesList_itemSelectionChanged

on_queuesList_itemSelectionChanged()

Private slot to handle changes of selected queue names.

#### HgQueuesQueueManagementDialog.refresh

refresh()

Public slot to refresh the list of queues.

Up

## HgQueuesQueueManagementDialogMode

Class defining the supported dialog modes.

### Derived from

enum.Enum

### Class Attributes

NAME_INPUT
NO_INPUT
QUEUE_INPUT

### Class Methods

None

### Methods

None

### Static Methods

None

Up