Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 212 results for
qlabel
- Page 1
(QT) C++ QList<QLabel*> Index out of range
Programming
Software Development
11 Years Ago
by J-P1988
…1")); listeDeroulanteAttaque->setHidden(true);
QLabel
*titreBoiteAttaque = new
QLabel
("Attaques"); titreBoiteAttaque->setHidden… new QComboBox; listeDeroulanteObjet->setHidden(true);
QLabel
*titreBoiteObjet = new
QLabel
(tr("Objets")); titreBoiteObjet->setHidden…
linkactivated signal with qlabel???
Programming
Software Development
15 Years Ago
by explorepython
… signal of the url. I tried the linkactivated signal with
qlabel
but with no luck.. Any ideas.. If you suggest QTextBrowser…
Re: (QT) C++ QList<QLabel*> Index out of range
Programming
Software Development
11 Years Ago
by Moschops
The error indicates that you're trying to access part of the list that does not exist. For example, if the list is of size 3, and you ask for the object at position 3 (because the objects are labelled 0, 1, 2), this error will occur.
Re: (QT) C++ QList<QLabel*> Index out of range
Programming
Software Development
11 Years Ago
by J-P1988
i'll try to put an predefined size
Re: (QT) C++ QList<QLabel*> Index out of range
Programming
Software Development
11 Years Ago
by J-P1988
finally i'll find an way to get indexes existant Thank Moschops for the clue
Re: linkactivated signal with qlabel???
Programming
Software Development
15 Years Ago
by explorepython
Solved the issue using QTextBrowser.. Code snippet is here.. I've set the background color to the windows default.. [CODE] self.textBrowser = QtGui.QTextBrowser(self.groupBox) self.textBrowser.setGeometry(QtCore.QRect(140, 90, 121, 31)) self.textBrowser.setStyleSheet("background-color: rgba(0, 110, 74, 0);")…
Re: QT classes as arguments
Programming
Software Development
13 Years Ago
by daviddoria
QLabel
::
QLabel
(const
QLabel
&) is called the copy constructor, and it is indeed private, so you cannot use it. You are trying to use it by copying your object when you pass it to the function. You should accept a const reference to the object instead: void Test(const
QLabel
& yourLabel) David
(C++) (QT) Custom Signal error
Programming
Software Development
11 Years Ago
by J-P1988
…1")); listeDeroulanteAttaque->setHidden(true);
QLabel
*titreBoiteAttaque = new
QLabel
("Attaques"); titreBoiteAttaque->setHidden… new QComboBox; listeDeroulanteObjet->setHidden(true);
QLabel
*titreBoiteObjet = new
QLabel
(tr("Objets")); titreBoiteObjet->setHidden…
Re: (C++) (QT) Custom Signal error
Programming
Software Development
11 Years Ago
by Banfa
changerSignal is not a member of
QLabel
, it is a member of FenPrincipale but…[1] is a
QLabel
and therefore only supports the signals defined for
QLabel
, that is void
QLabel
linkActivated (const QString …&link ) void
QLabel
linkHovered (const QString &…
Segmentation Fault for QPushButton::setHidden
Programming
Software Development
12 Years Ago
by J-P1988
… *boutonSud; QPushButton *boutonOuest; QPushButton *boutonEst; QPushButton *boutonBonus;
QLabel
*zoneTexte; QComboBox *listeDeroulanteAttaque; QComboBox *listeDeroulanteObjet;
QLabel
*titreBoiteAttaque;
QLabel
*titreBoiteObjet; QMessageBox boiteAPropos; QMessageBox boiteErreurOuvrirFichier; char ligne…
QT classes as arguments
Programming
Software Development
13 Years Ago
by James19142
…[CODE] void fraction::displayfraction(fraction toDis,
QLabel
nWhole,
QLabel
nNum,
QLabel
nDen) { nWhole.setText(QString::number(toDis…7.4\mingw\include\QtGui\
qlabel
.h:165: error: '
QLabel
::
QLabel
(const
QLabel
&)' is private C:\…argument 2 of 'void fraction::displayfraction(fraction,
QLabel
,
QLabel
,
QLabel
)' i'm 17 and kinda new to programming…
Qt code not compiling
Programming
Software Development
12 Years Ago
by capton
…(); EmployeeData *member; public slots: void getValues(); private:
QLabel
*formLab; QString formTitle;
QLabel
*nameLab;
QLabel
*dateLab;
QLabel
*phoneLab;
QLabel
*emailLab;
QLabel
*hoursLab; QLineEdit *getName; QLineEdit *getPhone; QLineEdit…
Python/SQLite and PySide
Programming
Software Development
14 Years Ago
by J-M DESMETTRE
…=
QLabel
() self.label2=
QLabel
() self.label3=
QLabel
() self.label4=
QLabel
() self.label5=
QLabel
() self.label6=
QLabel
() self.label7=
QLabel
()…left'): QWidget.__init__(self, parent) self.label =
QLabel
(mytext) self.edit = QLineEdit() label_pos = QBoxLayout…
Compiling and running a Qt program
Programming
Software Development
14 Years Ago
by SWEngineer
…: [CODE]#include <qapplication.h> #include <
qlabel
.h> int main(int argc, char *argv[]) { …QApplication myapp(argc, argv);
QLabel
*mylabel = new
QLabel
("Hello",0); mylabel->resize(120,30… expected ';' before 'myapp' label.cc:6: error: '
QLabel
' was not declared in this scope label.cc:6: error…
Temperature converter
Programming
Software Development
13 Years Ago
by annitaz
…Fahrenheit Converter"); QGridLayout* layout = new QGridLayout;
QLabel
* inputRequest = new
QLabel
("Enter the temperature "); tempEntry = new …gt;setSegmentStyle(QLCDNumber::Flat); resultC->setDigitCount(4);
QLabel
* labelF = new
QLabel
("Fahrenheit "); resultF = new QLCDNumber; resultF…
lotto gui application that generates random numbers
Programming
Software Development
11 Years Ago
by annitaz
…{ Q_OBJECT private: //widget data members
QLabel
* numbersLabel; QTextEdit* numEdit; QPushButton* lotusButton…m_timer_entry; QPushButton* m_start_timer; //QPushButton* m_set_timer;
QLabel
* lblRandomMsg;
QLabel
* lblMsg; bool m_started; }; #endif //…
HELP WITH BMI CALCULATOR
Programming
Software Development
11 Years Ago
by mmegue
…quot;); QGridLayout* layout = new QGridLayout(this);
QLabel
* inputWeightRequest = new
QLabel
("Enter weight in kilograms "); weightEntry…"); bimout->setDown(true); QApplication::processEvents();
QLabel
* labelBmi = new
QLabel
("BMI "); result = new QLineEdit(); …
Re: Constructor doubt.
Programming
Software Development
15 Years Ago
by Dave Sinkula
…} void show() { std::cout << "
QLabel
show(): " << msg << &…*argv[]) { QApplication app(argc, argv);
QLabel
*label = new
QLabel
("Hello Qt!"); label->show();… return 0; } /* my output QApplication ctor
QLabel
ctor
QLabel
show(): Hello Qt! */[/code][quote]1. Every…
Need help: On PyQt4 how to determine pixel coord. at mouse clic on 2 diff. ScrollArea
Programming
Software Development
14 Years Ago
by patkeraudren
….setWidget(self.imageLabel1) self.imageLabel2 =
QLabel
() self.imageLabel2.setMinimumSize(800, 800) self…(self.mainSplitter) self.sizeLabel1 =
QLabel
() self.sizeLabel2 =
QLabel
() self.sizeLabel3 =
QLabel
() status = self.statusBar() status…
C++ Restarting Game State
Programming
Software Development
15 Years Ago
by BobC22
…#include <QtGui/QMainWindow> #include <QtGui/
QLabel
> #include <QtGui/QAction> #include "… displaying player1's score in the status bar */
QLabel
player1Score; /** Label (text field) used for displaying… player2's score in the status bar */
QLabel
player2Score; /** Label (text field) used for displaying…
Update Qt window when wx Widget is launch in the same program
Programming
Software Development
14 Years Ago
by sebcbien
…horizontalLayout_2.setObjectName("horizontalLayout_2") self.pixelHighLabel = QtGui.
QLabel
(self.bmpTab) self.pixelHighLabel.setMaximumSize(QtCore.QSize(60,….setObjectName("verticalLayout_2") self.bmpNameLabel = QtGui.
QLabel
(self.bmpTab) self.bmpNameLabel.setLayoutDirection(QtCore.Qt.LeftToRight)…
QT: How to create PIP (Picture In Picture) on QwebView
Programming
Software Development
13 Years Ago
by Luckychap
…()); } }; int main(int argc, char* argv[]) { QApplication a(argc, argv);
QLabel
* label = new MaskedLabel(); label->setText("Qt Centre!"… height/width of the Masked Label using setGeometry() method of
QLabel
, its is not showing me transparent window. But when I…
Pyqt my program GUI freeze when starting a process
Programming
Software Development
13 Years Ago
by memomk
…self.md5hash.setObjectName(_fromUtf8("md5hash")) self.label_2 = QtGui.
QLabel
(Dialog) self.label_2.setGeometry(QtCore.QRect(30, 100, 41, 17…self.label_3.setObjectName(_fromUtf8("label_3")) self.statue = QtGui.
QLabel
(Dialog) self.statue.setGeometry(QtCore.QRect(80, 135, 301, 31…
Re: Pyqt my program GUI freeze when starting a process
Programming
Software Development
13 Years Ago
by memomk
…self.md5hash.setObjectName(_fromUtf8("md5hash")) self.label_2 = QtGui.
QLabel
(Dialog) self.label_2.setGeometry(QtCore.QRect(30, 100, 41, 17…self.label_3.setObjectName(_fromUtf8("label_3")) self.statue = QtGui.
QLabel
(Dialog) self.statue.setGeometry(QtCore.QRect(80, 135, 301, 31…
Re: Pyqt my program GUI freeze when starting a process
Programming
Software Development
13 Years Ago
by memomk
…self.md5hash.setObjectName(_fromUtf8("md5hash")) self.label_2 = QtGui.
QLabel
(Dialog) self.label_2.setGeometry(QtCore.QRect(30, 100, 41, 17…self.label_3.setObjectName(_fromUtf8("label_3")) self.statue = QtGui.
QLabel
(Dialog) self.statue.setGeometry(QtCore.QRect(80, 135, 301, 31…
C++ GUI (Graphical User Interface) for beginners
Programming
Software Development
18 Years Ago
by jan1024188
…: [/COLOR][/COLOR][/B][code] #include <QApplication> #include <
QLabel
> int main(int argc, char *argv[]) { QApplication app(argc…, argv);
QLabel
*hello = new
QLabel
("This is a simple window"); hello.resize…
need compiler translation!
Programming
Software Development
17 Years Ago
by JRM
…FINDDIALOG_H #include <QDialog> class QCheckBox; class
QLabel
; class QLineEdit; class QPushButton; class FindDialog : public QDialog…void findClicked(); void enableFindButton(const QString &text); private:
QLabel
*label; QLineEdit *lineEdit; QCheckBox *caseCheckBox; QCheckBox *backwardCheckBox; …
Vector Iterator
Programming
Software Development
16 Years Ago
by Kob0724
… <QtGui> #include <QTabWidget> #include <
QLabel
> #include <QString> #include <iostream> …()->addMenu(tr("&Edit")); testLabel = new
QLabel
(QString(tr("This is a test"))); testLabel2 =… new
QLabel
(QString(tr("This is a second test"))); …
PyQt Quit push button
Programming
Software Development
16 Years Ago
by dangermini
…__init__(self): QWidget.__init__(self) label =
QLabel
("Book or Amend a Badminton Court:\n\…Available","Booked"]) layout.addWidget(
QLabel
("09:00: "),0,0) …button = QPushButton("Quit") layout.addWidget(
QLabel
(" "),1,0) layout.addWidget(button…
Re: Trouble solving memory leak.
Programming
Software Development
16 Years Ago
by Ancient Dragon
[code] colHeadVector = new std::vector<
QLabel
*>(); //line 342 rowHeadVector = new std::vector<
QLabel
*>(); //line 343 widgetVector = new std::vector… of headaches for yourself. [code] std::vector<
QLabel
*> colHeadVector; std::vector<
QLabel
*> rowHeadVector; std::vector< std::vector…
1
2
3
4
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC