showClosed(new QPushButton("Closed")),
showAll(new QPushButton("All")),
createPO(new QPushButton("Create")),
- vendorRelated(new QCheckBox("Related to this Vendor")),
+ vendorRelated(new QCheckBox("Show POs for this Vendor only")),
vidCursor(0)
{
// Create main page widgets & layout
connect(nextVendorButton, SIGNAL(clicked()), this, SLOT(GetNextVendor()));
connect(previousVendorButton, SIGNAL(clicked()), this, SLOT(GetPreviousVendor()));
+ connect(createNote, SIGNAL(clicked()), this, SLOT(CreateNote()));
+ connect(createAlert, SIGNAL(clicked()), this, SLOT(CreateAlert()));
+ connect(createPO, SIGNAL(clicked()), this, SLOT(CreatePurchaseOrder()));
+ connect(showOpen, SIGNAL(clicked()), this, SLOT(ShowOpenPOs()));
+ connect(showClosed, SIGNAL(clicked()), this, SLOT(ShowClosedPOs()));
+ connect(showAll, SIGNAL(clicked()), this, SLOT(ShowAllPOs()));
+ connect(addVendor, SIGNAL(clicked()), this, SLOT(AddVendor()));
+ connect(addLocation, SIGNAL(clicked()), this, SLOT(AddLocation()));
+ connect(addContact, SIGNAL(clicked()), this, SLOT(AddContact()));
+ connect(editVendor, SIGNAL(clicked()), this, SLOT(EditVendor()));
GetVendorIDs();
GetVendor(vendorID[vidCursor]);
}
+void SCMWidget::CreateNote(void)
+{
+ QMessageBox::warning(this, "Approaching Singularity!", "TODO: Implementation");
+}
+
+
+void SCMWidget::CreateAlert(void)
+{
+ QMessageBox::warning(this, "Approaching Singularity!", "TODO: Implementation");
+}
+
+
+void SCMWidget::CreatePurchaseOrder(void)
+{
+ QMessageBox::warning(this, "Approaching Singularity!", "TODO: Implementation");
+}
+
+
+void SCMWidget::ShowOpenPOs(void)
+{
+ QMessageBox::warning(this, "Approaching Singularity!", "TODO: Implementation");
+}
+
+
+void SCMWidget::ShowClosedPOs(void)
+{
+ QMessageBox::warning(this, "Approaching Singularity!", "TODO: Implementation");
+}
+
+
+void SCMWidget::ShowAllPOs(void)
+{
+ QMessageBox::warning(this, "Approaching Singularity!", "TODO: Implementation");
+}
+
+
+void SCMWidget::AddVendor(void)
+{
+ QMessageBox::warning(this, "Approaching Singularity!", "TODO: Implementation");
+}
+
+
+void SCMWidget::AddLocation(void)
+{
+ QMessageBox::warning(this, "Approaching Singularity!", "TODO: Implementation");
+}
+
+
+void SCMWidget::AddContact(void)
+{
+ QMessageBox::warning(this, "Approaching Singularity!", "TODO: Implementation");
+}
+
+
+void SCMWidget::EditVendor(void)
+{
+ QMessageBox::warning(this, "Approaching Singularity!", "TODO: Implementation");
+}
+
+
void SCMWidget::GetVendorIDs(void)
{
vendorID.clear();