Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F629599
CheckoutDialog.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
915 B
Referenced Files
None
Subscribers
None
CheckoutDialog.h
View Options
#ifndef CHECKOUTDIALOG_H
#define CHECKOUTDIALOG_H
#include
<QDialog>
#include
"Git.h"
namespace
Ui
{
class
CheckoutDialog
;
}
class
CheckoutDialog
:
public
QDialog
{
Q_OBJECT
private
:
struct
Private
;
Private
*
m
;
public
:
explicit
CheckoutDialog
(
QWidget
*
parent
,
QStringList
const
&
tags
,
QStringList
const
&
local_branches
,
QStringList
const
&
remote_branches
);
~
CheckoutDialog
()
override
;
enum
class
Operation
{
HeadDetached
,
CreateLocalBranch
,
ExistingLocalBranch
,
};
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
:
Ui
::
CheckoutDialog
*
ui
;
void
updateUI
();
int
makeComboBoxOptions
(
QStringList
const
&
names
);
void
clearComboBoxOptions
();
};
#endif
// CHECKOUTDIALOG_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 7:18 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
144835
Default Alt Text
CheckoutDialog.h (915 B)
Attached To
Mode
R77 Guitar
Attached
Detach File
Event Timeline