Gestion de la modification des dimensions et du point de saisie dans l'editeur

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@100 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2007-08-18 22:59:10 +00:00
parent 92a43deb78
commit 4fbb1f7dd4
12 changed files with 395 additions and 157 deletions

View File

@@ -15,7 +15,7 @@
class ElementsCategoriesWidget;
class NamesListWidget;
class OrientationSetWidget;
class Diagram;
class HotspotEditor;
class NewElementWizard : public QDialog {
Q_OBJECT
@@ -34,21 +34,12 @@ class NewElementWizard : public QDialog {
QWidget *step1, *step2, *step3, *step4, *step5;
ElementsCategoriesWidget* categories_list;
QLineEdit *qle_filename;
QSpinBox *sb_width;
QSpinBox *sb_height;
QSpinBox *sb_hotspot_x;
QSpinBox *sb_hotspot_y;
NamesListWidget *element_names;
OrientationSetWidget *orientation_set;
HotspotEditor *hotspot_editor;
QPushButton *button_previous;
QPushButton *button_next;
WizardState current_state;
QGraphicsView *diagram_view;
Diagram *diagram_scene;
QComboBox *north_orientation;
QComboBox *east_orientation;
QComboBox *south_orientation;
QComboBox *west_orientation;
QString chosen_file;
// methodes
@@ -68,7 +59,5 @@ class NewElementWizard : public QDialog {
public slots:
void previous();
void next();
void updateScene();
void updateHotspotLimits();
};
#endif