|
| MainWindow (QWidget *parent=nullptr) |
|
| ~MainWindow () override |
|
QColor | color (unsigned int i) |
| MainWindow::color. More...
|
|
bool | isOnlineMode () const |
|
void | updateCurrentFileList () |
|
RepositoryTreeWidget::RepositoryListStyle | repositoriesListStyle () const |
|
void | updateRepositoryList (RepositoryTreeWidget::RepositoryListStyle style=RepositoryTreeWidget::RepositoryListStyle::_Keep, int select_row=-1, QString const &search_text={}) |
| リポジトリリストを更新 More...
|
|
const TagList & | queryCurrentCommitTagList () const |
|
bool | isValidWorkingCopy (QString const &local_dir) |
|
void | drawDigit (QPainter *pr, int x, int y, int n) const |
| MainWindow::drawDigit. More...
|
|
void | setStatusInfo (StatusInfo const &info) |
|
void | clearStatusInfo () |
|
bool | setCurrentLogRow (int row) |
|
bool | shown () |
|
void | deleteTags (QStringList const &tagnames) |
|
void | addTag (QString const &name) |
|
int | selectedLogIndex () const |
|
void | updateAncestorCommitMap () |
| 選択されたコミットを起点として、視認可能な範囲にあるすべての先祖コミットを探索し、 太線描画用の先祖コミット集合を更新する。 More...
|
|
bool | isAncestorCommit (Git::Hash const &id) const |
|
void | postStartEvent (int ms_later) |
| 開始イベントをポストする More...
|
|
void | setShowLabels (bool show, bool save) |
|
void | setShowGraph (bool show, bool save) |
|
void | setShowAvatars (bool show, bool save) |
|
bool | isLabelsVisible () const |
|
bool | isGraphVisible () const |
|
bool | isAvatarsVisible () const |
|
bool | isAvatarEnabled () const |
|
void | makeDiffList (const Git::Hash &id, QList< Git::Diff > *diff_list, QListWidget *listwidget) |
|
void | execCommitViewWindow (const Git::CommitItem *commit) |
|
void | execCommitPropertyDialog (QWidget *parent, const Git::CommitItem &commit) |
|
void | execCommitExploreWindow (QWidget *parent, const Git::CommitItem *commit) |
|
void | execFileHistory (const QString &path) |
|
void | execFileHistory (QListWidgetItem *item) |
|
void | showObjectProperty (QListWidgetItem *item) |
| オブジェクトプロパティ More...
|
|
bool | testRemoteRepositoryValidity (const QString &url, const QString &sshkey) |
|
QString | selectGitCommand (bool save) |
|
QString | selectGpgCommand (bool save) |
|
QString | selectSshCommand (bool save) |
|
const Git::Branch & | currentBranch () const |
|
void | setCurrentBranch (const Git::Branch &b) |
|
const RepositoryInfo & | currentRepository () const |
|
QString | currentRepositoryName () const |
|
QString | currentRemoteName () const |
|
QString | currentBranchName () const |
|
GitRunner | _git (const QString &dir, const QString &submodpath, const QString &sshkey, bool use_cache) const |
|
GitRunner | unassosiated_git_runner () const |
|
GitRunner | new_git_runner (const QString &dir, const QString &sshkey) |
|
GitRunner | new_git_runner () |
|
GitRunner | git () |
|
bool | isValidWorkingCopy (QString const &dir) const |
|
void | autoOpenRepository (QString dir, const QString &commit_id={}) |
|
std::optional< Git::CommitItem > | queryCommit (const Git::Hash &id) |
|
bool | checkoutLocalBranch (QString const &name) |
|
void | checkout (QWidget *parent, const Git::CommitItem &commit, std::function< void()> accepted_callback={}) |
|
void | checkout () |
|
bool | jumpToCommit (const Git::Hash &id) |
|
bool | jumpToCommit (const QString &id) |
|
Git::Object | catFile (GitRunner g, const QString &id) |
|
bool | saveAs (const QString &id, const QString &dstpath) |
|
TextEditorThemePtr | themeForTextEditor () |
|
void | emitWriteLog (LogData const &logdata) |
|
QString | findFileID (const Git::Hash &commit_id, const QString &file) |
|
const Git::CommitItem & | commitItem (int row) const |
|
const Git::CommitItem & | commitItem (Git::Hash const &id) const |
|
QImage | committerIcon (int row, QSize size) const |
|
void | changeSshKey (const QString &local_dir, const QString &ssh_key, bool save) |
|
ApplicationSettings * | appsettings () |
|
const ApplicationSettings * | appsettings () const |
|
QString | defaultWorkingDir () const |
| MainWindow::defaultWorkingDir. More...
|
|
QIcon | signatureVerificationIcon (const Git::Hash &id) const |
| MainWindow::signatureVerificationIcon. More...
|
|
QAction * | addMenuActionProperty (QMenu *menu) |
| MainWindow::addMenuActionProperty. More...
|
|
QString | currentWorkingCopyDir () const |
| MainWindow::currentWorkingCopyDir. More...
|
|
void | refresh () |
|
bool | cloneRepository (const Git::CloneData &clonedata, const RepositoryInfo &repodata) |
|
Git::User | currentGitUser () const |
|
void | setupExternalPrograms () |
|
void | updateCommitLogTableViewLater () |
|
void | saveRepositoryBookmark (RepositoryInfo item) |
| MainWindow::saveRepositoryBookmark. More...
|
|
void | changeRepositoryBookmarkName (RepositoryInfo item, QString new_name) |
|
BranchLabelList | rowLabels (int row, bool sorted=true) const |
|
void | setProgress (float progress) |
|
void | showProgress (const QString &text, float progress=-1.0f) |
|
void | hideProgress () |
|
void | internalAfterFetch () |
|
void | onRepositoryTreeSortRecent (bool f) |
|
const Git::CommitItemList & | commitlog () const |
|
const Git::CommitItem * | currentCommitItem () |
|
void | clearLogContents () |
|
void | updateLogTableView () |
|
void | setFocusToLogTable () |
|
void | selectLogTableRow (int row) |
|
RepositoryData * | currentRepositoryData () |
|
const RepositoryData * | currentRepositoryData () const |
|
void | setCommitLog (const CommitLogExchangeData &exdata) |
|
|
void | postEvent (QObject *receiver, QEvent *event, int ms_later) |
| イベントをポストする More...
|
|
void | postUserEvent (UserEventHandler::variant_t &&v, int ms_later) |
| ユーザーイベントをポストする More...
|
|
void | cancelPendingUserEvents () |
| 未送信のイベントをすべて削除する More...
|
|
void | updateFileList (const Git::Hash &id) |
|
void | updateFileList (const Git::CommitItem *commit) |
|
void | updateFileListLater (int delay_ms) |
|
void | cancelUpdateFileList () |
|
void | initUpdateFileListTimer () |
|
void | openRepositoryMain (OpenRepositoryOption const &opt) |
|
void | openRepository (OpenRepositoryOption const &opt) |
| MainWindow::openRepository. More...
|
|
void | reopenRepository (bool validate) |
|
void | openSelectedRepository () |
| MainWindow::openSelectedRepository. More...
|
|
void | doReopenRepository (ProcessStatus *status, const RepositoryInfo &repodata) |
| MainWindow::doReopenRepository. More...
|
|
QStringList | selectedFiles_ (QListWidget *listwidget) const |
|
QStringList | selectedFiles () const |
|
void | for_each_selected_files (std::function< void(QString const &)> const &fn) |
|
void | clearFileList () |
| ファイルリストを消去 More...
|
|
void | clearDiffView () |
| 差分ビューを消去 More...
|
|
RepositoryTreeIndex | repositoryTreeIndex (const QTreeWidgetItem *item) const |
|
std::optional< RepositoryInfo > | repositoryItem (const RepositoryTreeIndex &index) const |
|
void | buildRepoTree (QString const &group, QTreeWidgetItem *item, QList< RepositoryInfo > *repos) |
|
void | refrectRepositories () |
| MainWindow::refrectRepositories() More...
|
|
void | updateDiffView (QListWidgetItem *item) |
| ファイル差分表示を更新する More...
|
|
void | updateDiffView () |
|
void | updateUnstagedFileCurrentItem () |
|
void | updateStagedFileCurrentItem () |
|
void | updateStatusBarText () |
|
void | setRepositoryInfo (QString const &reponame, QString const &brname) |
|
QString | getIncrementalSearchText () const |
| フィルタ文字列を取得する More...
|
|
void | setFilterText (const QString &text, int repo_list_select_row=-1) |
| フィルタ文字列を設定する More...
|
|
void | clearFilterText (int repo_list_select_row=-1) |
| フィルタの文字列をクリアする More...
|
|
void | clearAllFilters (int select_row=-1) |
| すべてのフィルタの文字列をクリアし、ステータスバーを更新する More...
|
|
bool | applyFilter () |
|
void | _appendCharToFilterText (ushort c) |
| フィルタに文字を追加する More...
|
|
bool | appendCharToFilterText (int k, FilterTarget ft) |
|
MainWindow::FilterTarget | filtertarget () const |
|
void | revertCommit () |
|
void | mergeBranch (const QString &commit, Git::MergeFastForward ff, bool squash) |
|
void | mergeBranch (Git::CommitItem const *commit, Git::MergeFastForward ff, bool squash) |
|
void | rebaseBranch (Git::CommitItem const *commit) |
|
void | cherrypick (Git::CommitItem const *commit) |
|
void | merge (Git::CommitItem commit={}) |
|
void | setRemoteOnline (bool f, bool save) |
|
void | startTimers () |
| インターバルタイマを開始する More...
|
|
void | setNetworkingCommandsEnabled (bool enabled) |
| ネットワークを使用するコマンドの可否をUIに反映する More...
|
|
void | blame (QListWidgetItem *item) |
|
void | blame () |
|
QListWidgetItem * | currentFileItem () const |
|
void | execAreYouSureYouWantToContinueConnectingDialog (const QString &windowtitle) |
|
void | deleteRemoteBranch (const Git::CommitItem &commit) |
|
QStringList | remoteBranches (const Git::Hash &id, QStringList *all) |
|
bool | isUninitialized () |
|
void | onLogCurrentItemChanged (bool update_file_list) |
| コミットログの選択が変化した More...
|
|
void | findNext () |
|
void | findText (const QString &text) |
|
bool | locateCommitID (QString const &commit_id) |
|
void | showStatus () |
|
void | onStartEvent () |
|
void | showLogWindow (bool show) |
|
bool | isValidRemoteURL (const QString &url, const QString &sshkey) |
|
QStringList | whichCommand_ (const QString &cmdfile1, const QString &cmdfile2={}) |
|
QString | selectCommand_ (const QString &cmdname, const QStringList &cmdfiles, const QStringList &list, QString path, const std::function< void(const QString &)> &callback) |
|
QString | selectCommand_ (const QString &cmdname, const QString &cmdfile, const QStringList &list, const QString &path, const std::function< void(const QString &)> &callback) |
|
const RepositoryInfo * | findRegisteredRepository (QString *workdir) const |
| MainWindow::findRegisteredRepository. More...
|
|
bool | execSetGlobalUserDialog () |
| MainWindow::execSetGlobalUserDialog. More...
|
|
void | revertAllFiles () |
| MainWindow::revertAllFiles. More...
|
|
bool | execWelcomeWizardDialog () |
| MainWindow::execWelcomeWizardDialog. More...
|
|
void | execRepositoryPropertyDialog (const RepositoryInfo &repo, bool open_repository_menu=false) |
| MainWindow::execRepositoryPropertyDialog. More...
|
|
void | execConfigUserDialog (const Git::User &global_user, const Git::User &local_user, bool enable_local_user, const QString &reponame) |
| MainWindow::execConfigUserDialog. More...
|
|
void | setGitCommand (const QString &path, bool save) |
| MainWindow::setGitCommand. More...
|
|
void | setGpgCommand (const QString &path, bool save) |
| MainWindow::setGpgCommand. More...
|
|
void | setSshCommand (const QString &path, bool save) |
| MainWindow::setSshCommand. More...
|
|
bool | checkGitCommand () |
| MainWindow::checkGitCommand. More...
|
|
bool | saveBlobAs (const QString &id, const QString &dstpath) |
| MainWindow::saveBlobAs. More...
|
|
bool | saveByteArrayAs (const QByteArray &ba, const QString &dstpath) |
| MainWindow::saveByteArrayAs. More...
|
|
bool | saveFileAs (const QString &srcpath, const QString &dstpath) |
| MainWindow::saveFileAs. More...
|
|
QString | executableOrEmpty (const QString &path) |
| MainWindow::checkExecutable. More...
|
|
bool | checkExecutable (const QString &path) |
| MainWindow::checkExecutable. More...
|
|
void | internalSaveCommandPath (const QString &path, bool save, const QString &name) |
| MainWindow::internalSaveCommandPath. More...
|
|
void | logGitVersion () |
| MainWindow::logGitVersion. More...
|
|
void | internalClearRepositoryInfo () |
| MainWindow::internalClearRepositoryInfo. More...
|
|
void | checkUser () |
| MainWindow::checkUser. More...
|
|
void | setCurrentRepository (const RepositoryInfo &repo, bool clear_authentication) |
| MainWindow::setCurrentRepository. More...
|
|
std::optional< QList< Git::Diff > > | makeDiffs (GitRunner g, Git::Hash id) |
| MainWindow::makeDiffs. More...
|
|
void | updateRemoteInfo () |
| MainWindow::updateRemoteInfo. More...
|
|
void | submodule_add (QString url={}, const QString &local_dir={}) |
| MainWindow::submodule_add. More...
|
|
const Git::CommitItem & | selectedCommitItem () const |
| MainWindow::selectedCommitItem. More...
|
|
void | commit (bool amend=false) |
| MainWindow::commit. More...
|
|
void | commitAmend () |
| MainWindow::commitAmend. More...
|
|
void | clone (CloneParams const &a) |
| MainWindow::cloneRepository. More...
|
|
void | push (bool set_upstream, const QString &remote, const QString &branch, bool force) |
| MainWindow::push. More...
|
|
void | fetch (GitRunner g, bool prune) |
|
void | stage (GitRunner g, const QStringList &paths) |
|
void | fetch (GitRunner g) |
|
void | pull (GitRunner g) |
|
void | push_tags (GitRunner g) |
|
void | delete_tags (GitRunner g, const QStringList &tagnames) |
|
void | add_tag (GitRunner g, const QString &name, Git::Hash const &commit_id) |
|
bool | push () |
| MainWindow::push. More...
|
|
void | deleteBranch (const Git::CommitItem &commit) |
| MainWindow::deleteBranch. More...
|
|
void | deleteSelectedBranch () |
| MainWindow::deleteBranch. More...
|
|
void | resetFile (const QStringList &paths) |
| MainWindow::resetFile. More...
|
|
void | clearAuthentication () |
| MainWindow::clearAuthentication. More...
|
|
void | clearSshAuthentication () |
| MainWindow::clearSshAuthentication. More...
|
|
void | internalDeleteTags (const QStringList &tagnames) |
| MainWindow::internalDeleteTags. More...
|
|
void | internalAddTag (const QString &name) |
| MainWindow::internalAddTag. More...
|
|
void | createRepository (const QString &dir) |
| MainWindow::createRepository. More...
|
|
void | addRepository (const QString &local_dir, const QString &group={}) |
| MainWindow::addRepository. More...
|
|
void | addRepositoryAccepted (const AddRepositoryDialog &dlg) |
|
void | scanFolderAndRegister (const QString &group) |
|
void | doGitCommand (const std::function< void(GitRunner)> &callback) |
| MainWindow::doGitCommand. More...
|
|
void | setWindowTitle_ (const Git::User &user) |
|
void | setUnknownRepositoryInfo () |
|
void | setCurrentRemoteName (const QString &name) |
|
void | deleteTags (const Git::CommitItem &commit) |
|
QStringList | remotes () const |
|
BranchList | findBranch (const Git::Hash &id) |
| MainWindow::findBranch. More...
|
|
QString | tempfileHeader () const |
|
void | deleteTempFiles () |
| MainWindow::deleteTempFiles. More...
|
|
QString | newTempFilePath () |
|
int | limitLogCount () const |
|
bool | isThereUncommitedChanges () const |
|
Git::CommitItemList | retrieveCommitLog (GitRunner g) const |
|
const std::map< Git::Hash, BranchList > & | branchmap () const |
|
void | updateWindowTitle (const Git::User &user) |
|
void | updateWindowTitle (GitRunner g) |
|
std::tuple< QString, BranchLabelList > | makeCommitLabels (Git::CommitItem const &commit, std::map< Git::Hash, BranchList > const &branch_map, std::map< Git::Hash, TagList > const &tag_map) const |
|
QString | labelsInfoText (Git::CommitItem const &commit) |
| MainWindow::labelsInfoText. More...
|
|
void | removeRepositoryFromBookmark (RepositoryTreeIndex const &index, bool ask) |
| リポジトリをブックマークから消去 More...
|
|
void | openTerminal (const RepositoryInfo *repo) |
| コマンドプロンプトを開く More...
|
|
void | openExplorer (const RepositoryInfo *repo) |
| ファイルマネージャを開く More...
|
|
bool | askAreYouSureYouWantToRun (const QString &title, const QString &command) |
| コマンドを実行していいか、ユーザーに尋ねる More...
|
|
bool | editFile (const QString &path, const QString &title) |
| テキストファイルを編集する More...
|
|
void | setAppSettings (const ApplicationSettings &appsettings) |
|
QStringList | findGitObject (const QString &id) const |
|
void | saveApplicationSettings () |
|
void | loadApplicationSettings () |
|
void | setDiffResult (const QList< Git::Diff > &diffs) |
|
const QList< Git::SubmoduleItem > & | submodules () const |
|
void | setSubmodules (const QList< Git::SubmoduleItem > &submodules) |
|
bool | runOnRepositoryDir (const std::function< void(QString, QString)> &callback, const RepositoryInfo *repo) |
|
NamedCommitList | namedCommitItems (int flags) |
|
const std::map< Git::Hash, TagList > & | tagmap () const |
|
std::map< Git::Hash, TagList > | queryTags (GitRunner g) |
|
TagList | findTag (const Git::Hash &id) const |
|
void | sshSetPassphrase (const std::string &user, const std::string &pass) |
|
std::string | sshPassphraseUser () const |
|
std::string | sshPassphrasePass () const |
|
void | httpSetAuthentication (const std::string &user, const std::string &pass) |
|
std::string | httpAuthenticationUser () const |
|
std::string | httpAuthenticationPass () const |
|
const Git::CommitItem * | getLog (int index) const |
|
bool | saveRepositoryBookmarks () |
| MainWindow::saveRepositoryBookmarks. More...
|
|
QString | getBookmarksFilePath () const |
|
void | stopPtyProcess () |
|
void | abortPtyProcess () |
|
PtyProcess * | getPtyProcess () |
|
PtyProcess const * | getPtyProcess () const |
|
bool | getPtyProcessOk () const |
|
bool | isPtyProcessRunning () const |
|
void | setCompletedHandler (std::function< void(bool, const QVariant &)> fn, const QVariant &userdata) |
|
void | setPtyProcessOk (bool pty_process_ok) |
|
const QList< RepositoryInfo > & | repositoryList () const |
|
void | setRepositoryList (QList< RepositoryInfo > &&list) |
|
bool | interactionEnabled () const |
|
void | setInteractionEnabled (bool enabled) |
|
InteractionMode | interactionMode () const |
|
void | setInteractionMode (const InteractionMode &im) |
|
void | setUncommitedChanges (bool uncommited_changes) |
|
QList< Git::Diff > const * | diffResult () const |
|
void | clearLabelMap () |
|
GitObjectCache * | getObjCache () |
|
bool | getForceFetch () const |
|
void | setForceFetch (bool force_fetch) |
|
Git::Hash | getHeadId () const |
|
void | setHeadId (const Git::Hash &head_id) |
|
void | setPtyProcessCompletionData (const QVariant &value) |
|
const QVariant & | getTempRepoForCloneCompleteV () const |
|
void | msgNoRepositorySelected () |
|
bool | isRepositoryOpened () const |
|
void | initRepository (const QString &path, const QString &reponame, const Git::Remote &remote) |
| MainWindow::initRepository. More...
|
|
void | updatePocessLog (bool processevents) |
| PTYプロセスの出力をログに書き込む More...
|
|
void | appendLogHistory (const QByteArray &str) |
|
std::vector< std::string > | getLogHistoryLines () |
|
void | clearLogHistory () |
|
void | updateAvatar (const Git::User &user, bool request) |
|
void | cleanSubModule (GitRunner g, QListWidgetItem *item) |
|
void | updateUncommitedChanges (GitRunner g) |
|
void | enableDragAndDropOnRepositoryTree (bool enabled) |
|
QString | preferredRepositoryGroup () const |
|
void | setPreferredRepositoryGroup (const QString &group) |
| MainWindow::setPreferredRepositoryGroup. More...
|
|
bool | _addExistingLocalRepository (QString dir, QString name, QString sshkey, bool open, bool save=true, bool msgbox_if_err=true) |
| MainWindow::addExistingLocalRepository. More...
|
|
void | addExistingLocalRepositoryWithGroup (const QString &dir, const QString &group) |
| MainWindow::addExistingLocalRepositoryWithGroup. More...
|
|
bool | addExistingLocalRepository (const QString &dir, bool open) |
|
QString | currentFileMimeFileType () const |
|
int | rowFromCommitId (const Git::Hash &id) |
|
void | _updateCommitLogTableView (int delay_ms) |
| MainWindow::_updateCommitLogTableView. More...
|
|
void | makeCommitLog (Git::Hash const &head, CommitLogExchangeData exdata, int scroll_pos, int select_row) |
| コミットログテーブルウィジェットを構築 More...
|
|
void | updateButton () |
|
void | runPtyGit (const QString &progress_message, GitRunner g, GitCommandRunner::variant_t var, std::function< void(ProcessStatus *, QVariant const &userdata)> callback, QVariant const &userdata) |
|
CommitLogExchangeData | queryCommitLog (GitRunner g) |
| MainWindow::queryCommitLog. More...
|
|
void | updateHEAD (GitRunner g) |
|
bool | jump (GitRunner g, const Git::Hash &id) |
|
void | jump (GitRunner g, const QString &text) |
|
void | connectPtyProcessCompleted () |
|
void | setupShowFileListHandler () |
|
void | setRetry (std::function< void(const QVariant &)> fn, const QVariant &var) |
|
void | clearRetry () |
|
void | retry () |
|
bool | isRetryQueued () const |
|
void | clearGitCommandCache () |
|
Git::CommitItemList | log_all2 (GitRunner g, const Git::Hash &id, int maxcount) const |
|
ProgressWidget * | progress_widget () const |
|
void | internalShowPanel (FileListType file_list_type) |
|
void | showFileList (FileListType files_list_type) |
|
void | connectShowFileListHandler () |
|
void | setupAddFileObjectData () |
| ファイルリストを更新 More...
|
|
void | addFileObjectData (const MainWindowExchangeData &data) |
|
void | setupStatusInfoHandler () |
|
void | connectSetCommitLog () |
|
void | _chooseRepository (QTreeWidgetItem *item) |
|
void | chooseRepository () |
|
void | setCurrentGitRunner (GitRunner g) |
|
void | endSession () |
|