adding some texting functions
This commit is contained in:
parent
7ee81cd471
commit
0ab05b2687
4 changed files with 5 additions and 4 deletions
|
@ -122,8 +122,8 @@ Controls.Page {
|
|||
const item = serviceItemModel.getItem(index);
|
||||
print("index grabbed: " + index);
|
||||
|
||||
slideObject.setImageBackground("/home/chris/Pictures/RoyalKing.png");
|
||||
print("The slides backgorund is: " + slideObject.imageBackground);
|
||||
SlideObject.setImageBackground("/home/chris/Pictures/RoyalKing.png");
|
||||
print("The slides backgorund is: " + SlideObject.imageBackground);
|
||||
|
||||
presentation.stopVideo()
|
||||
presentation.itemType = item.type;
|
||||
|
|
|
@ -123,6 +123,7 @@ Item {
|
|||
function nextSlideAction() {
|
||||
print(textIndex);
|
||||
print("YIPPEE KAYAYYYY!");
|
||||
print("YIPPEE KAYAYYYY!");
|
||||
if (itemType === "song") {
|
||||
if (textIndex === 0) {
|
||||
previewSlide.text = root.text[textIndex];
|
||||
|
|
|
@ -80,7 +80,7 @@ void Slide::setImageBackground(QString imageBackground)
|
|||
if (m_imageBackground == imageBackground)
|
||||
return;
|
||||
|
||||
qDebug() << "changing image background to: " << imageBackground;
|
||||
qDebug() << "####changing image background to: " << imageBackground;
|
||||
m_imageBackground = imageBackground;
|
||||
emit imageBackgroundChanged(m_imageBackground);
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ class Slide : public QObject
|
|||
Q_PROPERTY(QString verticalTextAlignment READ verticalTextAlignment WRITE setVerticalTextAlignment NOTIFY verticalTextAlignmentChanged)
|
||||
Q_PROPERTY(QString font READ font WRITE setFont NOTIFY fontChanged)
|
||||
Q_PROPERTY(int fontSize READ fontSize WRITE setFontSize NOTIFY fontSizeChanged)
|
||||
QML_ELEMENT
|
||||
// QML_ELEMENT
|
||||
|
||||
public:
|
||||
explicit Slide(QObject *parent = nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue