~ubuntu-branches/ubuntu/vivid/openwalnut/vivid-proposed

« back to all changes in this revision

Viewing changes to src/qt4gui/controlPanel/WPropertyStringWidget.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Eichelbaum
  • Date: 2014-03-19 17:46:12 UTC
  • mfrom: (3.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140319174612-e4mgtr1avbq3f7ph
Tags: 1.4.0~rc1+hg3a3147463ee2-1
* Major functionality and stability improvements.
* Several bug fixes
* Changed ttf-liberation dependency to fonts-liberation (Closes: #722405)
* OpenWalnut now works properly with OpenSceneGraph 3.2 (Closes: #718381)
* See http://www.openwalnut.org/versions/2

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#include <QtGui/QSlider>
32
32
#include <QtGui/QHBoxLayout>
33
33
 
 
34
#include "../guiElements/WScaleLabel.h"
34
35
#include "WPropertyWidget.h"
35
36
 
36
37
/**
54
55
     */
55
56
    virtual ~WPropertyStringWidget();
56
57
 
 
58
    /**
 
59
     * Disable the ability to select text. This is only applicable if in information mode.
 
60
     *
 
61
     * \param disable true to disable.
 
62
     */
 
63
    void disableTextInteraction( bool disable = true );
 
64
 
57
65
protected:
58
66
    /**
59
67
     * Called whenever the widget should update.
78
86
    /**
79
87
     * Used to show the property as text.
80
88
     */
81
 
    QLabel m_asText;
 
89
    WScaleLabel m_asText;
82
90
 
83
91
    /**
84
92
     * The layout used for the pure output (information properties)