#include <OracleWidget.hpp>
|
std::unique_ptr< dbe::Ui::OracleWidget > | ui |
|
Definition at line 14 of file OracleWidget.hpp.
◆ ~OracleWidget()
dbe::OracleWidget::~OracleWidget |
( |
| ) |
|
|
default |
◆ OracleWidget()
dbe::OracleWidget::OracleWidget |
( |
QWidget * | parent = 0 | ) |
|
|
explicit |
Definition at line 8 of file OracleWidget.cpp.
9 : QWidget ( parent ),
10 ui (
new Ui::OracleWidget )
11{
14}
◆ OpenOracleConfig
void dbe::OracleWidget::OpenOracleConfig |
( |
const QString & | ConfigStream | ) |
|
|
signal |
◆ ProcessOracleCommand
void dbe::OracleWidget::ProcessOracleCommand |
( |
| ) |
|
|
privateslot |
Build the connection command from the arguments given to the widget and emit the signal such that the connection can be made as needed from the appropriate window
Definition at line 26 of file OracleWidget.cpp.
27{
28 QString connect_str =
ui->connection_string_input->text();
29
30 if ( connect_str.isEmpty() )
31 {
32 ERROR (
"Database information invalid",
"Oracle connection string has not been set" );
33 return;
34 }
35
36 QString schema_str =
ui->schema_string_input->text();
37
38 if ( schema_str.isEmpty() )
39 {
40 ERROR (
"Database information invalid",
"Oracle working schema has not been set" );
41 return;
42 }
43
44 QString version_str =
ui->OracleLine->text();
45
46 if ( version_str.isEmpty() )
47 {
48 ERROR (
"Database information invalid",
"Oracle schema version has not been set" );
49 return;
50 }
51
52 QString oracleCommand (
53 ui->PluginLabel->text() + connect_str +
":" + schema_str +
":" + version_str );
54
56}
◆ SetController()
void dbe::OracleWidget::SetController |
( |
| ) |
|
|
private |
◆ ui
std::unique_ptr<dbe::Ui::OracleWidget> dbe::OracleWidget::ui |
|
private |
The documentation for this class was generated from the following files: