Qt Virtual Chart Table (QVCT)
COverlayUrl.hpp
Go to the documentation of this file.
1
// INDENTING (emacs/vi): -*- mode:c++; tab-width:2; c-basic-offset:2; intent-tabs-mode:nil; -*- ex: set tabstop=2 expandtab:
2
3
/*
4
* Qt Virtual Chart Table (QVCT)
5
* Copyright (C) 2012 Cedric Dufour <http://cedric.dufour.name>
6
* Author: Cedric Dufour <http://cedric.dufour.name>
7
*
8
* The Qt Virtual Chart Table (QVCT) is free software:
9
* you can redistribute it and/or modify it under the terms of the GNU General
10
* Public License as published by the Free Software Foundation, Version 3.
11
*
12
* The Qt Virtual Chart Table (QVCT) is distributed in the hope
13
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
14
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
*
16
* See the GNU General Public License for more details.
17
*/
18
19
#ifndef QVCT_COVERLAYURL_HPP
20
#define QVCT_COVERLAYURL_HPP
21
22
// QT
23
#include <QWidget>
24
25
// QVCT
26
#include "
overlays/COverlayText.hpp
"
27
28
30
35
class
COverlayUrl
:
public
COverlayText
36
{
37
38
//------------------------------------------------------------------------------
39
// CONSTRUCTORS / DESTRUCTOR
40
//------------------------------------------------------------------------------
41
42
public
:
43
COverlayUrl
( QWidget* _pqParent = 0 );
44
COverlayUrl
(
const
QString& _rqsText, QWidget* _pqParent = 0 );
45
COverlayUrl
(
const
QString& _rqsText,
const
QString& _rqsLink, QWidget* _pqParent = 0 );
46
virtual
~COverlayUrl
() {};
47
48
49
//------------------------------------------------------------------------------
50
// METHODS: QLabel (override)
51
//------------------------------------------------------------------------------
52
53
public
:
54
void
setText
(
const
QString& _rqsText );
55
56
57
//------------------------------------------------------------------------------
58
// METHODS: COverlayText (override)
59
//------------------------------------------------------------------------------
60
61
public
:
62
virtual
void
setText
(
const
QString& _rqsText,
bool
_bInvalid );
63
64
65
//------------------------------------------------------------------------------
66
// METHODS
67
//------------------------------------------------------------------------------
68
69
// SETTERS
70
public
:
72
74
virtual
void
setText
(
const
QString& _rqsText,
const
QString& _rqsLink,
bool
_bInvalid );
75
76
};
77
78
#endif
// QVCT_COVERLAYURL_HPP
COverlayText.hpp
COverlayText
[UI] Overlay-specific text label
Definition:
COverlayText.hpp:34
COverlayUrl
[UI] Overlay-specific URL label
Definition:
COverlayUrl.hpp:36
COverlayUrl::~COverlayUrl
virtual ~COverlayUrl()
Definition:
COverlayUrl.hpp:46
COverlayUrl::setText
void setText(const QString &_rqsText)
Definition:
COverlayUrl.cpp:51
COverlayUrl::COverlayUrl
COverlayUrl(QWidget *_pqParent=0)
Definition:
COverlayUrl.cpp:32
overlays
COverlayUrl.hpp
Generated on Wed May 25 2022 19:46:17 for Qt Virtual Chart Table (QVCT) by
1.9.1