~ubuntu-branches/ubuntu/wily/ginkgocadx/wily-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/main/tools/showtagstool.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-10-24 21:28:17 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131024212817-ej1skb9og09d3ht6
Tags: 3.5.0.1137.31+dfsg-1
New upstream release [October 2013]

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *  $Id: showtagstool.cpp $
4
4
 *  Ginkgo CADx Project
5
5
 *
6
 
 *  Copyright 2008-12 MetaEmotion S.L. All rights reserved.
 
6
 *  Copyright 2008-14 MetaEmotion S.L. All rights reserved.
7
7
 *  http://ginkgo-cadx.com
8
8
 *
9
9
 *  This file is licensed under LGPL v3 license.
12
12
 *
13
13
 */
14
14
#include "showtagstool.h"
15
 
#include <export/contracts/iviewcontract.h>
16
 
#include <api/ivista.h>
17
 
#include <api/istudycontext.h>
 
15
#include <export/contracts/iviewcontract.h>
 
16
#include <api/ivista.h>
 
17
#include <api/istudycontext.h>
18
18
#include <api/controllers/ieventscontroller.h>
19
19
#include <main/gui/toolsystem/wxmenuitemtool.h>
20
 
#include <main/gui/paneltags/paneltags.h>
21
 
#include <main/entorno.h>
 
20
#include <main/gui/paneltags/paneltags.h>
 
21
#include <main/entorno.h>
22
22
#include <main/gui/mainwindow/ventanaprincipal.h>
23
23
#include <eventos/modificacionimagen.h>
24
24
 
51
51
        }
52
52
}
53
53
 
54
 
 
 
54
 
55
55
GNC::GCS::ITool* GNC::ShowTagsTool::NewTool()
56
56
{
57
57
        return new GNC::ShowTagsTool();
97
97
        }
98
98
}
99
99
 
100
 
bool GNC::ShowTagsTool::IsVisible()
101
 
{
 
100
bool GNC::ShowTagsTool::IsVisible()
 
101
{
102
102
        bool isVisible =false;
103
103
 
104
104
        if (m_pPanelTags != NULL) {
105
105
                isVisible = m_pPanelTags->IsVisiblePanelTags();
106
106
        }
107
107
                        
108
 
        return isVisible;
 
108
        return isVisible;
109
109
}
110
110
 
111
111
void GNC::ShowTagsTool::ProcesarEvento(GNC::GCS::Events::IEvent *evt)