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

#include <EditProfilesDialog.h>

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

Classes

struct  Item
 

Public Slots

int exec (Item const &select)
 

Public Member Functions

 EditProfilesDialog (QWidget *parent=nullptr)
 
 ~EditProfilesDialog ()
 
void enableDoubleClock (bool f)
 
bool saveXML (const QString &path) const
 
bool loadXML (const QString &path)
 
Item selectedItem () const
 

Private Slots

void avatarReady ()
 
void on_pushButton_add_clicked ()
 プロファイルを追加する More...
 
void on_pushButton_delete_clicked ()
 プロファイルを削除する More...
 
void on_lineEdit_name_textChanged (const QString &text)
 名前が編集されたとき More...
 
void on_lineEdit_mail_textChanged (const QString &text)
 メールアドレスが編集されたとき More...
 
void on_pushButton_up_clicked ()
 
void on_pushButton_down_clicked ()
 
void on_tableWidget_currentItemChanged (QTableWidgetItem *current, QTableWidgetItem *previous)
 
void on_tableWidget_itemChanged (QTableWidgetItem *item)
 
void on_pushButton_get_icon_from_network_clicked ()
 
void on_tableWidget_itemDoubleClicked (QTableWidgetItem *item)
 

Private Member Functions

void resetTableWidget ()
 テーブルウィジェットを初期化 More...
 
void updateTableWidget (const Item &select)
 list_ の内容をテーブルウィジェットへ反映する More...
 
void updateUI ()
 UI更新 More...
 
void updateAvatar (const QString &email, bool request)
 

Private Attributes

Ui::EditProfilesDialog * ui
 
bool enable_double_click_ = true
 
std::vector< Itemlist_
 
QString current_email_
 

Constructor & Destructor Documentation

◆ EditProfilesDialog()

EditProfilesDialog::EditProfilesDialog ( QWidget *  parent = nullptr)
explicit
Here is the call graph for this function:

◆ ~EditProfilesDialog()

EditProfilesDialog::~EditProfilesDialog ( )
Here is the call graph for this function:

Member Function Documentation

◆ avatarReady

void EditProfilesDialog::avatarReady ( )
privateslot
Here is the call graph for this function:

◆ enableDoubleClock()

void EditProfilesDialog::enableDoubleClock ( bool  f)

◆ exec

int EditProfilesDialog::exec ( Item const &  select)
slot
Here is the call graph for this function:

◆ loadXML()

bool EditProfilesDialog::loadXML ( const QString &  path)
Here is the call graph for this function:

◆ on_lineEdit_mail_textChanged

void EditProfilesDialog::on_lineEdit_mail_textChanged ( const QString &  text)
privateslot

メールアドレスが編集されたとき

Parameters
arg1

◆ on_lineEdit_name_textChanged

void EditProfilesDialog::on_lineEdit_name_textChanged ( const QString &  text)
privateslot

名前が編集されたとき

Parameters
arg1

◆ on_pushButton_add_clicked

void EditProfilesDialog::on_pushButton_add_clicked ( )
privateslot

プロファイルを追加する

◆ on_pushButton_delete_clicked

void EditProfilesDialog::on_pushButton_delete_clicked ( )
privateslot

プロファイルを削除する

Here is the call graph for this function:

◆ on_pushButton_down_clicked

void EditProfilesDialog::on_pushButton_down_clicked ( )
privateslot
Here is the call graph for this function:

◆ on_pushButton_get_icon_from_network_clicked

void EditProfilesDialog::on_pushButton_get_icon_from_network_clicked ( )
privateslot
Here is the call graph for this function:

◆ on_pushButton_up_clicked

void EditProfilesDialog::on_pushButton_up_clicked ( )
privateslot
Here is the call graph for this function:

◆ on_tableWidget_currentItemChanged

void EditProfilesDialog::on_tableWidget_currentItemChanged ( QTableWidgetItem *  current,
QTableWidgetItem *  previous 
)
privateslot
Here is the call graph for this function:

◆ on_tableWidget_itemChanged

void EditProfilesDialog::on_tableWidget_itemChanged ( QTableWidgetItem *  item)
privateslot

◆ on_tableWidget_itemDoubleClicked

void EditProfilesDialog::on_tableWidget_itemDoubleClicked ( QTableWidgetItem *  item)
privateslot

◆ resetTableWidget()

void EditProfilesDialog::resetTableWidget ( )
private

テーブルウィジェットを初期化

◆ saveXML()

bool EditProfilesDialog::saveXML ( const QString &  path) const

◆ selectedItem()

EditProfilesDialog::Item EditProfilesDialog::selectedItem ( ) const

◆ updateAvatar()

void EditProfilesDialog::updateAvatar ( const QString &  email,
bool  request 
)
private
Here is the call graph for this function:

◆ updateTableWidget()

void EditProfilesDialog::updateTableWidget ( const Item select)
private

list_ の内容をテーブルウィジェットへ反映する

Here is the call graph for this function:

◆ updateUI()

void EditProfilesDialog::updateUI ( )
private

UI更新

Member Data Documentation

◆ current_email_

QString EditProfilesDialog::current_email_
private

◆ enable_double_click_

bool EditProfilesDialog::enable_double_click_ = true
private

◆ list_

std::vector<Item> EditProfilesDialog::list_
private

◆ ui

Ui::EditProfilesDialog* EditProfilesDialog::ui
private

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