mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-02 01:19:59 +02:00
Link single element widget, set live edit enable.
In properties dock widget, no need to click on apply button, change are apply immediately. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3992 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -53,17 +53,22 @@ class LinkSingleElementWidget : public AbstractElementPropertiesEditorWidget
|
||||
void apply();
|
||||
QUndoCommand *associatedUndo() const;
|
||||
QString title() const;
|
||||
|
||||
public slots:
|
||||
void updateUi();
|
||||
|
||||
private:
|
||||
public:
|
||||
bool setLiveEdit(bool live_edit);
|
||||
|
||||
private :
|
||||
void enableLiveEdit();
|
||||
void disableLiveEdit();
|
||||
void buildList();
|
||||
void buildLinkUnlinkButton();
|
||||
void buildSearchField();
|
||||
QList <Element *> availableElements();
|
||||
void setUpCompleter();
|
||||
|
||||
private slots:
|
||||
void buildInterface();
|
||||
void setNewList();
|
||||
void unlinkClicked();
|
||||
void on_button_this_clicked();
|
||||
@@ -75,7 +80,6 @@ class LinkSingleElementWidget : public AbstractElementPropertiesEditorWidget
|
||||
Ui::LinkSingleElementWidget *ui;
|
||||
ElementSelectorWidget *esw_;
|
||||
QList <Diagram *> diagram_list;
|
||||
QWidget *unlink_widget;
|
||||
bool unlink_;
|
||||
Element::kind filter_;
|
||||
QLineEdit *search_field;
|
||||
|
||||
Reference in New Issue
Block a user