the DesignPanel class, customed QListWidget
More...
#include <designpanel.h>
|
void | relevantActived (QStringList *) |
|
void | infoActived (QString) |
|
|
void | dragEnterEvent (QDragEnterEvent *event) |
|
void | dragMoveEvent (QDragMoveEvent *e) |
|
void | dropEvent (QDropEvent *event) |
|
void | mouseMoveEvent (QMouseEvent *e) |
|
void | mousePressEvent (QMouseEvent *event) |
|
void | keyPressEvent (QKeyEvent *event) |
|
the DesignPanel class, customed QListWidget
the design panel is where the user do the design
DesignPanel::DesignPanel |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
construction function
- Parameters
-
const QStringList & DesignPanel::getBioBrickNames |
( |
| ) |
const |
get all the biobricks
- Returns
- all the biobricks in the design panel
QImage * DesignPanel::getResultImage |
( |
const QString & |
function | ) |
|
get the design result image
- Parameters
-
function | the function about the design |
- Returns
- the result image
void DesignPanel::insertBioBrick |
( |
int |
index, |
|
|
const QString & |
name |
|
) |
| |
insert a BioBrick in certain position
- Parameters
-
index | position to insert |
name | informaiton for the biobrick to be inserted |
void DesignPanel::setRecommendBioBrick |
( |
QStringList |
biobricks | ) |
|
set the reommend biobricks
- Parameters
-
biobricks | the recommend biobrick list |
The documentation for this class was generated from the following files: