Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

searchdialog.ui.h

00001 /****************************************************************************
00002 ** ui.h extension file, included from the uic-generated form implementation.
00003 **
00004 ** If you want to add, delete, or rename functions or slots, use
00005 ** Qt Designer to update this file, preserving your code.
00006 **
00007 ** You should not define a constructor or destructor in this file.
00008 ** Instead, write your code in functions called init() and destroy().
00009 ** These will automatically be called by the form's constructor and
00010 ** destructor.
00011 *****************************************************************************/
00012 
00013 void searchDialog::init()
00014 {
00015     comboWithout.push_back(comboBoxWithout1);
00016     comboWith.push_back(comboBoxWith1);
00017 }
00018 
00019 
00020 void searchDialog::addMoreWith()
00021 {
00022 
00023 }
00024 
00025 
00026 void searchDialog::addMoreWithout()
00027 {
00028 
00029 }
00030 
00031 
00032 void searchDialog::addMoreWithCombo()
00033 {
00034     QComboBox* newcombo = new QComboBox(groupBoxContaining,"blabla");
00035     layoutWith->addWidget(newcombo);
00036     newcombo->show();
00037     comboWith.push_back(newcombo);
00038 }
00039 
00040 
00041 void searchDialog::addMoreWithoutCombo()
00042 {
00043     QComboBox* newcombo = new QComboBox(groupBoxNotContaining,"blabla");
00044     layoutWithout->addWidget(newcombo);
00045     newcombo->show();
00046     comboWithout.push_back(newcombo);
00047 }

cocktail - A C++ cocktail recipe manager.
Copyright © 2005 Bertrand Haut
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front Cover Texts, and with no Back-Cover Texts.