mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 18:50:52 +01:00
Added view mode in Cross References - included Folio Field
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4493 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -35,6 +35,11 @@ class XRefProperties : public PropertiesInterface
|
||||
Contacts
|
||||
};
|
||||
|
||||
enum ViewMode {
|
||||
Index,
|
||||
FolioLabel
|
||||
};
|
||||
|
||||
enum SnapTo {
|
||||
Bottom,
|
||||
Label
|
||||
@@ -56,6 +61,9 @@ class XRefProperties : public PropertiesInterface
|
||||
void setDisplayHas (const DisplayHas dh) {m_display = dh;}
|
||||
DisplayHas displayHas () const {return m_display;}
|
||||
|
||||
void setViewMode (const ViewMode vm) {m_view_mode = vm;}
|
||||
ViewMode viewMode () const {return m_view_mode;}
|
||||
|
||||
void setSnapTo (const SnapTo st) {m_snap_to = st;}
|
||||
SnapTo snapTo () const {return m_snap_to;}
|
||||
|
||||
@@ -65,6 +73,7 @@ class XRefProperties : public PropertiesInterface
|
||||
private:
|
||||
bool m_show_power_ctc;
|
||||
DisplayHas m_display;
|
||||
ViewMode m_view_mode;
|
||||
SnapTo m_snap_to;
|
||||
QHash <QString, QString> m_prefix;
|
||||
QStringList m_prefix_keys;
|
||||
|
||||
Reference in New Issue
Block a user