Line 1... |
Line 1... |
1 |
/*
|
1 |
/*
|
2 |
* Copyright (C) 2022, 2023 by Andreas Theofilu <andreas@theosys.at>
|
2 |
* Copyright (C) 2022 to 2024 by Andreas Theofilu <andreas@theosys.at>
|
3 |
*
|
3 |
*
|
4 |
* This program is free software; you can redistribute it and/or modify
|
4 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* it under the terms of the GNU General Public License as published by
|
5 |
* it under the terms of the GNU General Public License as published by
|
6 |
* the Free Software Foundation; either version 3 of the License, or
|
6 |
* the Free Software Foundation; either version 3 of the License, or
|
7 |
* (at your option) any later version.
|
7 |
* (at your option) any later version.
|
Line 41... |
Line 41... |
41 |
TQEditLine(QWidget *widget = nullptr, bool multiline=false);
|
41 |
TQEditLine(QWidget *widget = nullptr, bool multiline=false);
|
42 |
TQEditLine(std::string &text, QWidget *widget = nullptr, bool multiline=false);
|
42 |
TQEditLine(std::string &text, QWidget *widget = nullptr, bool multiline=false);
|
43 |
~TQEditLine();
|
43 |
~TQEditLine();
|
44 |
|
44 |
|
45 |
void setText(std::string &text);
|
45 |
void setText(std::string &text);
|
- |
|
46 |
void setPlaceholderText(std::string& text);
|
46 |
void setObjectName(const std::string& name);
|
47 |
void setObjectName(const std::string& name);
|
47 |
void setPasswordChar(uint c);
|
48 |
void setPasswordChar(uint c);
|
48 |
std::string& getText() { return mText; }
|
49 |
std::string& getText() { return mText; }
|
49 |
void setFixedSize(int w, int h);
|
50 |
void setFixedSize(int w, int h);
|
50 |
void setFont(QFont &font);
|
51 |
void setFont(QFont &font);
|