mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 19:11:39 -06:00
modify field context
This commit is contained in:
@@ -1218,7 +1218,8 @@ void mainForm::on_tree_context_menu(const QPoint &qPoint){
|
||||
}
|
||||
|
||||
|
||||
//void mainForm::on_edit_field(){
|
||||
void mainForm::on_edit_field(){
|
||||
qDebug("YES");
|
||||
//if( !dbTreeWidget->currentItem() ){
|
||||
// return;
|
||||
//}
|
||||
@@ -1233,4 +1234,4 @@ void mainForm::on_tree_context_menu(const QPoint &qPoint){
|
||||
// item->setText(0,fieldForm->name);
|
||||
// item->setText(1,fieldForm->type);
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
@@ -616,6 +616,8 @@ public:
|
||||
QObject::connect(editModifyTableAction, SIGNAL(activated()), mainForm, SLOT(editTable()));
|
||||
QObject::connect(editDeleteTableActionPopup, SIGNAL(activated()), mainForm, SLOT(deleteTablePopup()));
|
||||
QObject::connect(editModifyTableActionPopup, SIGNAL(activated()), mainForm, SLOT(editTablePopup()));
|
||||
QObject::connect(editModifyFieldActionPopup, SIGNAL(activated()), mainForm, SLOT(on_edit_field()));
|
||||
|
||||
|
||||
QObject::connect(fileExportSQLAction, SIGNAL(activated()), mainForm, SLOT(exportDatabaseToSQL()));
|
||||
QObject::connect(fileImportSQLAction, SIGNAL(activated()), mainForm, SLOT(importDatabaseFromSQL()));
|
||||
@@ -926,7 +928,8 @@ public:
|
||||
QString defaultlocation;
|
||||
|
||||
public slots:
|
||||
void on_tree_context_menu(const QPoint & sqPoint);
|
||||
virtual void on_tree_context_menu(const QPoint & qPoint);
|
||||
virtual void on_edit_field();
|
||||
|
||||
virtual void fileOpen( const QString & fileName );
|
||||
virtual void fileOpen();
|
||||
|
||||
Reference in New Issue
Block a user