Guitar
Classes | Public Types | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CheckoutDialog Class Reference

#include <CheckoutDialog.h>

Inheritance diagram for CheckoutDialog:
Inheritance graph
[legend]
Collaboration diagram for CheckoutDialog:
Collaboration graph
[legend]

Classes

struct  Private
 

Public Types

enum  Operation { Operation::HeadDetached, Operation::CreateLocalBranch, Operation::ExistingLocalBranch }
 

Public Member Functions

 CheckoutDialog (QWidget *parent, QStringList const &tags, const QStringList &all_local_branches, QStringList const &local_branches, QStringList const &remote_branches)
 
 ~CheckoutDialog () override
 
Operation operation () const
 
QString branchName () const
 

Private Slots

void on_radioButton_head_detached_toggled (bool checked)
 
void on_radioButton_existing_local_branch_toggled (bool checked)
 
void on_radioButton_create_local_branch_toggled (bool checked)
 

Private Member Functions

void updateUI ()
 
int makeComboBoxOptionsFromList (QStringList const &names)
 
Operation makeComboBoxOptions (bool click)
 
void clearComboBoxOptions ()
 

Private Attributes

Privatem
 
Ui::CheckoutDialog * ui
 

Member Enumeration Documentation

◆ Operation

Enumerator
HeadDetached 
CreateLocalBranch 
ExistingLocalBranch 

Constructor & Destructor Documentation

◆ CheckoutDialog()

CheckoutDialog::CheckoutDialog ( QWidget *  parent,
QStringList const &  tags,
const QStringList &  all_local_branches,
QStringList const &  local_branches,
QStringList const &  remote_branches 
)
explicit
Here is the call graph for this function:

◆ ~CheckoutDialog()

CheckoutDialog::~CheckoutDialog ( )
override

Member Function Documentation

◆ branchName()

QString CheckoutDialog::branchName ( ) const
Here is the call graph for this function:

◆ clearComboBoxOptions()

void CheckoutDialog::clearComboBoxOptions ( )
private

◆ makeComboBoxOptions()

CheckoutDialog::Operation CheckoutDialog::makeComboBoxOptions ( bool  click)
private
Here is the call graph for this function:

◆ makeComboBoxOptionsFromList()

int CheckoutDialog::makeComboBoxOptionsFromList ( QStringList const &  names)
private

◆ on_radioButton_create_local_branch_toggled

void CheckoutDialog::on_radioButton_create_local_branch_toggled ( bool  checked)
privateslot
Here is the call graph for this function:

◆ on_radioButton_existing_local_branch_toggled

void CheckoutDialog::on_radioButton_existing_local_branch_toggled ( bool  checked)
privateslot
Here is the call graph for this function:

◆ on_radioButton_head_detached_toggled

void CheckoutDialog::on_radioButton_head_detached_toggled ( bool  checked)
privateslot
Here is the call graph for this function:

◆ operation()

CheckoutDialog::Operation CheckoutDialog::operation ( ) const

◆ updateUI()

void CheckoutDialog::updateUI ( )
private
Here is the call graph for this function:

Member Data Documentation

◆ m

Private* CheckoutDialog::m
private

◆ ui

Ui::CheckoutDialog* CheckoutDialog::ui
private

The documentation for this class was generated from the following files: