Questions tagged [custom-widgets]

131 questions
0
votes
1 answer

Is there a way of drawing non-canvas lines in Tkinter?

Hi ! I've been looking all over StackExchange and some other forums for an answer to my question but I couldn't find anything relevant, so here I am, posting my question. What I'm trying to do is to draw lines that are on the same layer as other…
0
votes
0 answers

Is it possible to display a property of my customer QT widget in Chinese

I want to display a property of my customer QT widget in Chinese. Is it possible? I've tried give a Chinese text to Q_PROPERTY macro as second parameter, but it leads to compile error. Q_PROPERTY(type name READ getFunction [WRITE…
ricky
  • 2,058
  • 4
  • 23
  • 49
0
votes
1 answer

qt creator: subclassing a custom widget

I want to derive a child class from an already customized widget in qt creator: MyCustomWidget.h: class MyCustomWidget : public QOpenGLWidget { Q_OBJECT ... MyChildCustomWidget.h: class MyChildCustomWidget : public MyCustomWidget { …
MoeJoe
  • 1
  • 1
0
votes
0 answers

I'm having trouble connecting a signal in my custom class to a slot in my main window

So, I've been working on my GUI and it's gotten pretty large, so I decided to split it into multiple widgets that communicate with the main window (probably something that I should have done from the beginning). I've partitioned part of my GUI into…
0
votes
1 answer

Custom Qt widget example in Qt Creator errors

I'm a Qt beginner, I have the 5.2.1 version and I was trying to learn Qt/QML from a book on Github. However, this is one of the most basic examples: #ifndef CUSTOMWIDGET_H #define CUSTOMWIDGET_H #include class CustomWidget : public…
user112926
  • 51
  • 1
  • 2
  • 5
0
votes
1 answer

Kivy - Create new widget and set its position and size

got a little problem. So Iam trying to create my own widget, and i have succeed, only except for setting its size and position right(to be same as its parrent). class Story(App): def build(self): return MyWidgets().init() The app…
Jan Vlach
  • 33
  • 5
0
votes
2 answers

Creating a custom widget with a group of existing widgets?

I've looked around on how to do this but I'm still not very sure, so I've decided to ask here. I'm looking to create a list of widgets that will display artist names, genre, and the venue they will be playing at. Below is a picture of 4 widgets…
JaceAce
  • 115
  • 5
0
votes
1 answer

Change the state in a Vaadin custom widget in the connector through a GWT button click and get it server side

I am trying to set the state in a Vaadin custom widget from a click generated by the user. In the component connector after instantiating the server rpc I get the GWT button and add an onclick method. In the method I set the state (getState.text =…
FCoffee
  • 116
  • 1
  • 5
0
votes
1 answer

pyqt adding a widget to a QListWidget

hi i created 2 files from qtdesigner and i created a new file with a class where i want to use these UIs that i created. this is the file creating the QListWidget from PyQt4 import QtCore, QtGui try: _fromUtf8 =…
pelos
  • 1,744
  • 4
  • 24
  • 34
0
votes
1 answer

CQ5 Custom Widget development - Keeping my hardcoded values outside the widget script - Using global variables

I am new to CQ5 and ExtJS. I have created a cq extjs widget. Now there are a lot of hardcoded strings in my widget js file. Like fieldLabel, fieldDescription, addItemLabel, rootPath etc etc... I wish to pass this widget on to another team but…
techrookie
  • 61
  • 9
0
votes
2 answers

Magento custom category widget not appearing on stage server

I followed this (first comment), magento - category name and image in static block? to create a simple widget to display the category image and title from a static block on a CMS page. It works fine on my local MAMP version of Magento Enterprise…
dwooo
  • 1
  • 1
  • 3
0
votes
1 answer

how could i change URL in text widget contents using mysql?

I have sidebar to place text widgets in my word press website, now i tried to move from local server to another one, i have used more than 20 text widgets and placed contents, images on that, now i need help for update the URL on text widgets…
0
votes
1 answer

Connect listwidgetitem clicked to customwidget pushbutton

I am using a QProcess to scan the available bluetooth devices. The QProcess uses command line commands like hcitool scan to check for available devices. The output is parsed using regular expressions and I have cells(equal to number of devices…
gfernandes
  • 1,156
  • 3
  • 12
  • 29
0
votes
1 answer

Custom Seekbar with min and max values - Android

I want Seekbar with different start position other than 0 similar to this link. I want to perform same functionality as shown in linked question and i want to allow user to change value between 0-200.Initially Seekbar pointer should be at position…
Zankhna
  • 4,570
  • 9
  • 62
  • 103
0
votes
1 answer

JavaFX: Customize the layout of composite standard controls like Accordion or TreeView

While exploring the basic concepts of JavaFX, the following question arose: Is there a way to customize the layout of composite controls (such as TreeView or Accordion)? For example, to achieve a horizontal arrangement of child elements or to…
Jens Piegsa
  • 7,399
  • 5
  • 58
  • 106
1 2 3
8
9